mitchell852 edited a comment on issue #3887: Traffic Portal is completely blank when the TO is down URL: https://github.com/apache/trafficcontrol/issues/3887#issuecomment-525105054 Here's the issue: when you try to navigate to a "private" view in TP (fyi every view is private except for tp.domain.com/#!/login) before the view renders, TP attempts to make a call to GET /api/1.4/user/current using a mojolicious cookie (if avaliable). This will result in 1 of 3 things: 1. GET /api/1.4/user/current will return a 200 OK and the page will render 2.GET /api/1.4/user/current will return a 401 unauthorized (either because the mojo cookie is absent or expired or corrupt) and you will be redirected to tp.domain.com/#!/login to login and get a new cookie 3. a 500 because TO is down or something else went horribly wrongful in the first 2 cases, TP will render just fine but in the 3rd, TP will simply fail silently. I guess TP needs to handle the 500 better.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
