Error when login to Polyspace Access via web server
9 views (last 30 days)
Show older comments
Suddenly we can no longer login to the Polyspace Bug Finder Access instance. After supplying credentials we see after a few seconds that the three jumping circles becomes red and we get the text "An unexpected error has occurred.".
What I have done so far
Activating debug mode, try to login, inspecting docker container logs: The only log i could see that was suspicious is the logs from the web server that periodically prints out:
--> [03-09-2021 at 17:53:45.973]-[qtp1090057640-12] *.security.RequestProcessor.isXMLHttpRequest(...) at 92|
User-Agent: curl/7.58.0
Accept: */*
Host: localhost:9443
--> [03-09-2021 at 17:53:45.974]-[qtp1090057640-12] *.security.RequestProcessor.isXMLHttpRequest(...) at 94| X-Requested-With from header: null
--> [03-09-2021 at 17:53:45.974]-[qtp1090057640-12] *.security.token.TokenAuthenticationFilter.attemptAuthentication(...) at 76| Failed to extract and parse token from request. Cause is: null
--> [03-09-2021 at 17:53:45.975]-[qtp1090057640-12] *.security.token.TokenAuthenticationFailureHandler.onAuthenticationFailure(...) at 51| FirewalledRequest[ Request(GET //localhost:9443/metrics/index.html)@7cc6d972]
-!> [03-09-2021 at 17:53:45.975]-[qtp1090057640-12] *.security.token.TokenAuthenticationFailureHandler.onAuthenticationFailure(...) at 67| Access token absent from request!
--> [03-09-2021 at 17:53:45.976]-[qtp1090057640-12] *.security.RequestProcessor.isXMLHttpRequest(...) at 92|
User-Agent: curl/7.58.0
Accept: */*
Host: localhost:9443
--> [03-09-2021 at 17:53:45.976]-[qtp1090057640-12] *.security.RequestProcessor.isXMLHttpRequest(...) at 94| X-Requested-With from header: null
--> [03-09-2021 at 17:53:45.976]-[qtp1090057640-12] *.service.util.RedirectResponseConfigurer.configureRedirectResponse(...) at 46| Configuring redirect response to /authn/signin?&title=/static/images/polyspace_title_logo.svg&continue=%2Fmetrics%2Findex.html
But I don't know if this is a problem or if these lines usally show up. In the same log i did not see anything during login that indicates that there is an issue.
Also, I have verified that it is possible to login to the Access instance using CLI tool (e.g. polyspace-access -list-project), both using an encrypted password and a normally typed one.
Moreover, I have tried
- In the Cluster Admin: Restart Apps
- In the Cluster Admin: Delete Apps, Restart Apps
- In the Cluster Admin: Delete Apps. Kill any Polyspace docker containers. Start up the cluster Admin. In the Cluster Admin, Restart Apps
What can I do to troubleshoot this issue further?
Or do you have other guidence for me in regards to this issue?
0 Comments
Accepted Answer
Anirban
on 7 Sep 2021
Please contact MathWorks Technical Support for further assistance with this issue: https://www.mathworks.com/support/contact_us.html
0 Comments
More Answers (0)
See Also
Categories
Find more on Set Up Bug Finder Analysis on Servers During Continuous Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!