Cannot access HTML if server is behind haproxy

Get help with troubleshooting issues
Post Reply
decoratopic
Posts: 21
Joined: Mon Dec 19, 2016 1:14 pm

Cannot access HTML if server is behind haproxy

Post by decoratopic » Tue Jan 15, 2019 2:05 am

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.

decoratopic
Posts: 21
Joined: Mon Dec 19, 2016 1:14 pm

Re: Cannot access HTML if server is behind haproxy

Post by decoratopic » Tue Jan 15, 2019 12:51 pm

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).

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Cannot access HTML if server is behind haproxy

Post by juwagn » Tue Jan 15, 2019 8:50 pm

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.
TSplus HTML5 and Java web engineer

decoratopic
Posts: 21
Joined: Mon Dec 19, 2016 1:14 pm

Re: Cannot access HTML if server is behind haproxy

Post by decoratopic » Wed Jan 16, 2019 2:14 am

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.

juwagn
Site Admin
Posts: 239
Joined: Wed Oct 15, 2014 8:25 pm

Re: Cannot access HTML if server is behind haproxy

Post by juwagn » Fri Feb 01, 2019 4:30 am

Hello,

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

Sincerely yours, JW.
TSplus HTML5 and Java web engineer

decoratopic
Posts: 21
Joined: Mon Dec 19, 2016 1:14 pm

Re: Cannot access HTML if server is behind haproxy

Post by decoratopic » Tue Apr 02, 2019 9:35 am

Hello,

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

Regards,

Post Reply