Error 501
-
Weird issue with a site that I use at work, probably cache related (no problem in private mode)
I've been using this site for the last 4 years or so, never had this problem before.
It's a product from ptc
I can login and navigate, but if I try to perform a search I get in the portion of the result a "501 status code" with message "session expired - contact the administrator"
If i do the same in the private tab, everything works.
So I thought that removing cookies and data for that particular site would have fixed the issue, but it did not (even with devtool & disable cache turned on)
Any suggestion? I'd really prefer to keep my browser history and data and not do a complete wipe
--
ModEdit: Title
-
@supr3 Hi, a HTTP 501 code means:
"The HyperText Transfer Protocol (HTTP) 501 Not Implemented server error response code means that the server does not support the functionality required to fulfill the request."
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501It's a server error, meaning it's generally a misconfiguration on the server side.
An error like "session expired" generally means a session/login cookie is no longer valid. But difficult to say without knowing the specific system and how it deals with sessions.
You will have to ask your admins about this I guess.
I would've thought that clearing cookies and cache would've avoided the error, but again, it depends on how stuff works on this specific service.
Other than that, you could have a look at the devtools network log, and see if there are any failing requests, could give you a clue what specifically is failing on the server, and give you some info to give the server admins.
It could also be caused by extensions, so make sure to check the troubleshooting steps:
https://help.vivaldi.com/desktop/troubleshoot/troubleshooting-issues/ -
well, they've said to me that they have no trace of this error server side
that if only this browser on this pc has the issue, and it also works in private mode, It should be related to this particular installation.
They also have restarted the server and nothing changed.
I've tried without extensions and have the same behaviour
Devtool side I've got this
ext-and-extensions.js:1883 POST http://plm.XXXX.com/Windchill/ptc1/searchResultsComp 501 (501)
Request URL: http://plm.XXXX.com/Windchill/ptc1/searchResultsComp Request Method: POST Status Code: 501 501 Remote Address: 10.0.255.63:80 Referrer Policy: strict-origin-when-cross-origin Connection: close Content-Language: it-IT Content-Length: 1488 Content-Type: text/html;charset=UTF-8 Date: Tue, 17 Jan 2023 09:34:10 GMT Server: Apache/2.4.27 (Win64) mod_jk/1.2.42 Set-Cookie: JSESSIONID=<xxx>; Path=/Windchill Vary: Accept-Encoding,User-Agent X-do-not-compress-this: 1 X-Frame-Options: SAMEORIGIN X-Ptc-Connected: 1 Accept: text/javascript, text/html, application/xml, text/xml, */* Accept-Encoding: gzip, deflate Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7 Authorization: Basic <xxx> Cache-Control: no-cache Connection: keep-alive Content-Length: 647 Content-type: application/x-www-form-urlencoded; charset=UTF-8 Host: plm.XXXX.com Origin: http://plm.XXXX.com Pragma: no-cache Referer: http://plm.XXXX.com/Windchill/app/ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 X-Prototype-Version: 1.6.1 X-Requested-With: XMLHttpRequest
I guess there's still something on my pc that's been used as a token and causes the error
Will backup my vivaldi data folder and try after a fresh reinstall
//modedit: remove auth
-
well, they've said to me that they have no trace of this error server side
Then they are lying, ignorant or too lazy to care
A HTTP 500 error should generate an entry in the server logs and if they had any clue they would look there.
However, I think this is a clue:
Authorization: Basic <xxx>
Looks like the server uses basic auth. And this is cached in the browser, at least until a browser restart.
Have you tried a browser restart as suggested by the troubleshooting steps? I believe it's the first thing to try.
Other than that, clearing cached basic auth credentials is not so easy. And server admins should really know this and inform their users.
See these discussions on SO and SuperUser:
https://stackoverflow.com/questions/5957822/how-to-clear-basic-authentication-details-in-chromehttps://superuser.com/questions/917602/how-do-i-log-out-with-http-basic
Or just search the web for "clear basic auth", you'll get lots of hits.
-
Then they are lying, ignorant or too lazy to care
that doesn't surprise me at all
I've restarted the browser multiple times, It's more than a week that this issue is going on
The site does asks me user and pass every time I close and reopen the browser tho.
I'll look into the links you've provided, thanks a lot for now
-
The hints on SO and superuser doesn't seem to resolve the issue.
I've found one of our IT guys that seems more keen to help and we'll try to do that tomorrow.
(He also told me that the move from basic auth to something better was already planned and it's just a question of weeks)
thx again
-
Ppafflick moved this topic from Vivaldi for Windows on