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

2017-01-25 Thread Bin Chen
Peter: Checked F5 and found that it was the proper behavior of F5 in this http to https redirect. There is a way to use iRule to change that. Thank you very much! Bin -Original Message- From: Kreuser, Peter [mailto:pkreu...@airplus.com] Sent: Wednesday, January 25, 2017 1:22 AM To: Tom

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

2017-01-24 Thread Bin Chen
Peter: Here is what I got when using curl on a client. curl -I http://lb-api:8080/urls?param1=something\¶m2=123 HTTP/1.0 302 Found Location: https://lb-api:8443/ urls?param1=something\¶m2=123 Server: BigIP Connection: Keep-Alive Content-Length: 0 Our engineer who has access to the load balancer is

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

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

2017-01-20 Thread Bin Chen
inko [mailto:knst.koli...@gmail.com] > Sent: Wednesday, January 18, 2017 11:43 PM > To: Tomcat Users List > Subject: Re: 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

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