mitchell852 commented 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 (every view is private 
except for tp.domain.com/#!/login) before the page renders, TP makes a call to 
GET /api/1.4/user/current using the mojolicious cookie. This will result in 1 
of 3 things:
   
   1. a 200 OK and the page will render
   2. a 401 unauthorized and you will be redirected to tp.domain.com/#!/login
   3. a 500 because TO is down
   
   in the first 2 cases, TP will render just fine but in the 3rd, TP will 
simply fail. 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

Reply via email to