Re: Passing host head to the backend

2012-12-18 Thread Baptiste
your server may send back some Location header with his hostname... On Tue, Dec 18, 2012 at 9:06 PM, DeMarco, Alex wrote: > Hmm interesting.. Using firebug in Firefox I can see it calling the backend > but it does not appear to be reverse proxying the request. Instead of > http://myurl.com/ap

RE: Passing host head to the backend

2012-12-18 Thread DeMarco, Alex
Hmm interesting.. Using firebug in Firefox I can see it calling the backend but it does not appear to be reverse proxying the request. Instead of http://myurl.com/application I seen http://myappserver/application. Still reviewing my config not sure why this is occurring since I have it worki

Re: Passing host head to the backend

2012-12-18 Thread Baptiste
Hi, Nothing to do, it will pas it straight away, unless you tell HAProxy to do otherwise. cheers On Tue, Dec 18, 2012 at 8:22 PM, DeMarco, Alex wrote: > Hello All, > > > > In my setup my backend server need to see the orginal host header in the > request. > > > > So if the client requests http:

Passing host head to the backend

2012-12-18 Thread DeMarco, Alex
Hello All, In my setup my backend server need to see the orginal host header in the request. So if the client requests http://myurl.com/application The backend that handles /application needs to see https://myurl.com/application in the request. How can I pass this along? Thank you -

Re: websocket issue

2012-12-18 Thread Benjamin Polidore
OK, thank you. I will try that. On Tue, Dec 18, 2012 at 10:42 AM, Baptiste wrote: > You have enough information here: > Dec 18 07:16:40 localhost haproxy[28357]: 10.0.77.83:58914 > [18/Dec/2012:07:10:12.899] http-in~ app_back/s1 72/0/69/70/387465 101 > 6035 - - 1/1/0/0/0 0/0 "GET > /s

Re: websocket issue

2012-12-18 Thread Benjamin Polidore
I get this when the session disconnects: Dec 18 07:16:40 localhost haproxy[28357]: 10.0.77.83:58914[18/Dec/2012:07:10:12.899] http-in~ app_back/s1 72/0/69/70/387465 101 6035 - - 1/1/0/0/0 0/0 "GET / socket.io/1/websocket/qXV9FijWB_XXVl5tci5m HTTP/1.1" After the refresh, my websocket sock

Re: websocket issue

2012-12-18 Thread Baptiste
Hi, What does the logs say??? It will tell you who closed the connection and after how long. Maybe useful clues here. cheers On Tue, Dec 18, 2012 at 4:11 PM, Benjamin Polidore wrote: > My app works well through HA Proxy, but occasionally the websocket > connection is reset and the entire page

Re: haproxy responds with PH-- and 502 with requests to backend server with self signed cert

2012-12-18 Thread Steven Acreman
Hi, It was the missing 'ssl' from the server line, so thank you very much! I've made all of the other changes suggested too and have almost recovered from the embarrassment over the password :-) Thanks again, HAProxy is totally awesome. Steven On 18 December 2012 07:30, Willy Tarreau wrote:

Re: Need your help for error message "too many redirects"

2012-12-18 Thread Christophe Rahier
Hi, Finally, after a lot of tests, I identified the "problem". I adapted our application and now, all is ok. Thanks for your help and your suggestions. Regards, Christophe Le 18/12/12 10:02, « Christophe Rahier » a écrit : >Hi Cyril, > >Behind haproxy, I have 3 IIS servers. I installed an

Segfault executing haproxy-1.5-dev15

2012-12-18 Thread Javi Legido
Hi there. Brief history: 1. I compiled haproxy-1.5-dev15 sudo aptitude update; sudo aptitude install build-essential libpcre3-dev libssl-dev cd /usr/local; sudo wget -c --tries=0 http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev15.tar.gz sudo tar xvfz haproxy-1.5-dev15.tar.gz; sudo ln

Re: Need your help for error message "too many redirects"

2012-12-18 Thread Christophe Rahier
Hi Cyril, Behind haproxy, I have 3 IIS servers. I installed an ISAPI filter called F5XForwardedFor. It's very strange, I don't have any problems with the other frontend/backend in the same instance. I continue to search. Thanks for your help!! Christophe Le 17/12/12 22:13, « Cyril Bonté » a