RE: https redirect failed for POST request when behind a load balancer

2017-01-25 Thread Bin Chen
: Tomcat Users List Subject: AW: https redirect failed for POST request when behind a load balancer Bin, So it is working as designed in the RFC... https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_HTTP-5F302&d=DwIGaQ&c=uilaK90D4TOVoH58

AW: https redirect failed for POST request when behind a load balancer

2017-01-25 Thread Kreuser, Peter
rom: Kreuser, Peter [mailto:pkreu...@airplus.com] > Sent: Tuesday, January 24, 2017 7:06 AM > To: Tomcat Users List > Subject: AW: https redirect failed for POST request when behind a load > balancer > > These are the responses to the redirected calls. But the redirect to https is &

RE: https redirect failed for POST request when behind a load balancer

2017-01-24 Thread Bin Chen
is off today, will get some log info on the load balancer side about the redirect. Thank you, Bin -Original Message- From: Kreuser, Peter [mailto:pkreu...@airplus.com] Sent: Tuesday, January 24, 2017 7:06 AM To: Tomcat Users List Subject: AW: https redirect failed for POST request when

AW: https redirect failed for POST request when behind a load balancer

2017-01-24 Thread Kreuser, Peter
Bin, > Peter: > To answer your questions > 1. The response header when using 8080 to post, I got: > > Status Code: 405 Method Not Allowed > Allow: POST > Cache-Control: private > Content-Language: en > Content-Length: 1045 > Content-Type: text/html;charset=utf-8 > Date

RE: https redirect failed for POST request when behind a load balancer

2017-01-23 Thread Bin Chen
Peter: To answer your questions 1. The response header when using 8080 to post, I got: Status Code: 405 Method Not Allowed Allow: POST Cache-Control: private Content-Language: en Content-Length: 1045 Content-Type: text/html;charset=utf-8 Date: Mon, 23 Jan 2017 18:48:07

AW: https redirect failed for POST request when behind a load balancer

2017-01-23 Thread Kreuser, Peter
.. Peter > > Bin > > -Original Message- > From: Kreuser, Peter [mailto:pkreu...@airplus.com] > Sent: Friday, January 20, 2017 1:43 AM > To: Tomcat Users List > Subject: AW: https redirect failed for POST request when behind a load > balancer > > Hi Bin

RE: https redirect failed for POST request when behind a load balancer

2017-01-20 Thread Bin Chen
ssage- From: Kreuser, Peter [mailto:pkreu...@airplus.com] Sent: Friday, January 20, 2017 1:43 AM To: Tomcat Users List Subject: AW: https redirect failed for POST request when behind a load balancer Hi Bin I wonder if the redirect will use a 301 or 302 and that per default results in a GET. How is

AW: https redirect failed for POST request when behind a load balancer

2017-01-20 Thread Kreuser, Peter
is sending the data to 8080 should be modified in the first place. Best regards Peter > -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Wednesday, January 18, 2017 11:43 PM > To: Tomcat Users List > Subject: Re: https redirect failed

RE: https redirect failed for POST request when behind a load balancer

2017-01-19 Thread Bin Chen
https redirect failed for POST request when behind a load balancer 1. You know that "api-lb" and "lb-api" above are two different host names? 2. What HTTP response code is send to client to perform the redirection? (What is displayed by access log? Or by "network" mon

Re: https redirect failed for POST request when behind a load balancer

2017-01-18 Thread Konstantin Kolinko
2017-01-19 9:32 GMT+03:00 Bin Chen : > Hi, I've been looking for a solution to this question. We have a setup of a > couple api servers running tomcat 7.0.65. For both servers we had http > redirect to https set up so when people access to > http://my-api1:8080, it is automatically redirect to ht

https redirect failed for POST request when behind a load balancer

2017-01-18 Thread Bin Chen
Hi, I've been looking for a solution to this question. We have a setup of a couple api servers running tomcat 7.0.65. For both servers we had http redirect to https set up so when people access to http://my-api1:8080, it is automatically redirect to https://my-api1:8443 The redirect works fine