Page 1 of 2
TOS Web Console - 400 Bad Request error
Posted: 07 Jan 2021, 14:25
by justsimon
Hi,
Since updating to 4.2.06, my web console randomly diverts me to http instead of https, but still using the secure port (5443) and I get the error:
400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx/1.12.1
I don't know if it's the logon timeout kicking me back to the login page, and sometimes sending me to http instead of https.
Can you look at forcing all http traffic to https?
I found this guide on editing the nginx.conf file:
https://aws.amazon.com/premiumsupport/k ... NX_servers
Re: TOS Web Console - 400 Bad Request error
Posted: 07 Jan 2021, 14:36
by justsimon
It's not related to session timeout.
It just occurred again and when I clicked back I got taken straight back in, no need to log in again.
Re: TOS Web Console - 400 Bad Request error
Posted: 08 Jan 2021, 11:56
by RyanYang
Hi,
It is not possible to force all http traffic to https, you can make the browser remember the URL through multiple manual input.
Have a great day!
Re: TOS Web Console - 400 Bad Request error
Posted: 11 Jan 2021, 04:54
by justsimon
Do you know why an htttps session would push my browser to http randomly?
Can I provide any logs to investigate?
It's not a huge issue, but a little annoying I have to navigate back to https because of random redirects to http.
Re: TOS Web Console - 400 Bad Request error
Posted: 11 Jan 2021, 11:11
by RyanYang
Hi,
We did not force http traffic to https, you can add the URL to the bookmark, and then click the bookmark to log in directly.
Have a good day!
zzz.png
xxx.png
Re: TOS Web Console - 400 Bad Request error
Posted: 13 Jan 2021, 05:50
by justsimon
I already have the https link bookmarked.
It's just odd (and slightly annoying) that sometimes when I go the tab where I have TOS open, it has a 400 error because it's trying to access
http://xxx.xxx.xxx.xxx:5443/
It only started happening since updating to 4.2.06, so hopefully it goes away after I move to 4.2.07
Re: TOS Web Console - 400 Bad Request error
Posted: 13 Jan 2021, 10:54
by RyanYang
Hello,
Under normal circumstances, this problem does not occur. You can check the bookmark or re-add
https://xxx.xxx.xxx.xxx:5443 to the bookmark. If it still does not work, please check the browser settings. It may be that the browser rejected the decision as no safe access.
Re: TOS Web Console - 400 Bad Request error
Posted: 13 Jan 2021, 11:15
by justsimon
I don't think I'm explaining myself very well.
There are no problems with any bookmarks.
The problem is that when I'm logged into TOS in my browser. I go and do something in a different tab, or different application. When I return to the TOS tab, sometimes it has navigated to http instead of https.
I can still get back to https by hitting the back button in my browser, or selecting the bookmark.
But this shouldn't be happening, TOS shouldn't be directing my browser to http.
Re: TOS Web Console - 400 Bad Request error
Posted: 13 Jan 2021, 11:22
by RyanYang
Hello,
I have tested it several times, and it can be normal to jump to the
https://xxx.xxx.xxx.xxx:5443 bookmark. You can try to clear the browser cache and add a bookmark. The search bar must be displayed as https when adding a bookmark.
Re: TOS Web Console - 400 Bad Request error
Posted: 13 Jan 2021, 11:27
by justsimon
There are no issues whatsoever with bookmarks.
This is not a bookmark problem.
My bookmark has https at the start and the correct port. Every time I click the bookmark it loads the login page.
This appears to be an issue with the TOS web console.
Some dynamic websites will direct your browser to refresh the page every so often, or to navigate another URL based on X parameter.
TOS web console appears to be directing my browser to http instead of https.
This occurs randomly, and isn't a timeout issue as when I click 'Back', the web console loads without asking me to log in.