Page 1 of 1

Cannot access HTML if server is behind haproxy

Posted: Tue Jan 15, 2019 2:05 am
by decoratopic
Hello,

I've just updated to 11.80.1.13 and now I can't login using HTML.
Clicking on the Enter button does nothing.

If I bypass haproxy (direct connect to the TSPlus Server) I can log in as usual.

Regards.

Re: Cannot access HTML if server is behind haproxy

Posted: Tue Jan 15, 2019 12:51 pm
by decoratopic
I'm testing now from a clean browser and the login page shows some more information.
It always says my credentials are invalid (User OK, Password X).

Re: Cannot access HTML if server is behind haproxy

Posted: Tue Jan 15, 2019 8:50 pm
by juwagn
Hello,

you can disable all extra checks to downgrade security checks which may fail in your case.

1. Locate *\Clients\webserver\settings.bin

2. Open it with Notepad

3. add as last lines following content

approve_by_cookie=false
approve_by_client_cookie=false
websockets_origin_host_match=false
x_ip_forward_header_match=false
ip_equality_check=false
browser_user_agent_check=false

4. save that file and restart html5 server in AdminTool GUI to take these changes effect.

5. Close the browser completely to clear its temporary cache and retry again.

Sincerely yours, JW.

Re: Cannot access HTML if server is behind haproxy

Posted: Wed Jan 16, 2019 2:14 am
by decoratopic
Hello, JW,

Disabling the checks AND manually deleting cookies in browser behaves inconsistent:
- IE: Always works
- Chrome: Not Working
- Firefox: Not Working

I have to say that we have been behind haproxy for years, flawlessly.
Also the previous release (or at least 11.70.12.11) was working.

Thank you for your help.

Re: Cannot access HTML if server is behind haproxy

Posted: Fri Feb 01, 2019 4:30 am
by juwagn
Hello,

open please new support ticket and report it as issue and provide your web_log.txt

Sincerely yours, JW.

Re: Cannot access HTML if server is behind haproxy

Posted: Tue Apr 02, 2019 9:35 am
by decoratopic
Hello,

FYI, the HTML access is working properly again in version 12.20.3.29

Regards,