Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread Tim Watts
On Fri, 2017-02-24 at 01:08 +0100, André Warnier (tomcat) wrote: > On 24.02.2017 00:57, James H. H. Lampert wrote: > > On 2/23/17, 3:13 PM, André Warnier (tomcat) wrote: > >> It seems to say right up here what the problem is : the customer system > >> cannot establish a HTTPS connection with your s

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread tomcat
On 24.02.2017 00:57, James H. H. Lampert wrote: On 2/23/17, 3:13 PM, André Warnier (tomcat) wrote: It seems to say right up here what the problem is : the customer system cannot establish a HTTPS connection with your server. The connection attempt starts, but then your server rejects it and clos

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
To avoid getting totally confused, you may want to read this explanation first : https://wiki.apache.org/httpd/DirectoryListings In other words, when you send this request from the browser : https://loadbalancer.domain.com/SelfService The first response that /should/ come back, would be a "re-di

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread James H. H. Lampert
On 2/23/17, 3:13 PM, André Warnier (tomcat) wrote: It seems to say right up here what the problem is : the customer system cannot establish a HTTPS connection with your server. The connection attempt starts, but then your server rejects it and closes the connection. Maybe they cannot agree on a c

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread tomcat
On 23.02.2017 22:35, James H. H. Lampert wrote: We've got a problem, and I'm not sure where it is. We've got a remote box, belonging to a customer, that's trying to access a web service hosted by a Tomcat server on one of our boxes (part of a new webapp). The customer box is getting "Connectio

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
On 23.02.2017 21:17, Aaron Gray wrote: Another weird thing... If you go to: https://loadbalancer.domain.com/SelfService If I am viewing the headers immedaitely I see 302 not found. 302 is not "not found". It is "Found", and it is a Redirect response. See : https://en.wikipedia.org/wiki/HTTP_30

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread Peter Mykytyn
use VPN or IPSEC for something like this. On Thu, 23 Feb 2017 13:35:45 -0800 "James H. H. Lampert" wrote: > We've got a problem, and I'm not sure where it is. > > We've got a remote box, belonging to a customer, that's trying to access > a web service hosted by a Tomcat server on one of our

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
On 23.02.2017 19:10, Aaron Gray wrote: Okay, guys, please accept my most sincere apology on this thing. I just figured 1 thing out. browser -> f5:443 -> httpd (23270, https) -> tomcat (http) using the /static works! (see below) If /static/index.html wasnt specified, then it hangs, then comes b

Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread James H. H. Lampert
We've got a problem, and I'm not sure where it is. We've got a remote box, belonging to a customer, that's trying to access a web service hosted by a Tomcat server on one of our boxes (part of a new webapp). The customer box is getting "Connection Resets" while trying to access our web servi

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Aaron Gray
Another weird thing... If you go to: https://loadbalancer.domain.com/SelfService If I am viewing the headers immedaitely I see 302 not found. Then I wait the 30 sec for it to totally fail and change the URL in the browser to https://loadbalancer.domain.com:232700/SelfService If you just remove t

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Aaron Gray
I randomly tried https://loadbalancer.domain.com/SelfService/index.html It works perfectly. No issues. I have no idea why its needed to add on the /index.html (i'm lucky this exists in the tomcat .war, as it was a guess). This is visually not appealing, but workable. Maybe I can do some url re

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Aaron Gray
Okay, guys, please accept my most sincere apology on this thing. I just figured 1 thing out. browser -> f5:443 -> httpd (23270, https) -> tomcat (http) using the /static works! (see below) If /static/index.html wasnt specified, then it hangs, then comes back as https://loadbalancer.domain.com:23

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Aaron Gray
Working with my F5 guy, we had an idea, since 80/tcp and 443/tcp were already open to the VIP on the F5, we simply turned of 80 -> 443 redirect on the F5, and then configured the F5 to use the non-HTTP port in Apache HTTP Server (the two backend servers). So its HTTP the entire way through, and th

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Aaron Gray
SSLProxyEngine On Was already turned on this entire time inside the ssl.conf (I include it) VirtualHost section. I am debating turning on HTTPS in Tomcat on the backend 10.x.x.x app server, and then HTTPS the whole way through and see if that makes any difference. I may need to request a new fire

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread Antonio S . Cofiño
On 23/02/17 12:43, André Warnier (tomcat) wrote: On 22.02.2017 19:22, Aaron Gray wrote: So this is interesting. So from HTTP server #1 (172.1.1.1 example) I hit: https://172.1.1.1:23270/static and I see this in the HTTP log: 172.1.1.1 - - [22/Feb/2017:10:14:48 -0800] "GET /static/ HTTP/1.1" 2

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
On 22.02.2017 19:22, Aaron Gray wrote: So this is interesting. So from HTTP server #1 (172.1.1.1 example) I hit: https://172.1.1.1:23270/static and I see this in the HTTP log: 172.1.1.1 - - [22/Feb/2017:10:14:48 -0800] "GET /static/ HTTP/1.1" 200 32 I see this in the Tomcat log: 172.1.1.1 - - [2

Re: Jsp character encoding configuration

2017-02-23 Thread Lazar Kirchev
Thanks Mark! Here it is: https://bz.apache.org/bugzilla/show_bug.cgi?id=60769 On Tue, Feb 21, 2017 at 9:49 PM, Mark Thomas wrote: > On 18/02/2017 16:32, Lazar Kirchev wrote: > > I noticed something else strange. If in an jspx file I declare one and > > the same encoding (in my case Windows-1252)