nir-sopher opened a new pull request #1832: traffic router re-authentication on 
unauthorized
URL: https://github.com/apache/incubator-trafficcontrol/pull/1832
 
 
   Traffic router pulls the steering and federation cfg directly for 
traffic-ops.
   Every time it pulls the cfg, it tests if the cookie is still valid (by date 
only), and re-login if needed.
   However, if the OPs fails and new OPs is put up instead, the router will not 
relogin as long as the cookie date is valid.
   TR log will have the below messages indicating 401 http response.
   This PR asks to fix it, by re-login in this case.
   
   INFO  2018-01-25T13:46:28.467 [pool-9-thread-1] 
com.comcast.cdn.traffic_control.traffic_router.core.monitor.TrafficMonitorWatcher
 - Loading properties from /opt/traffic_router/conf/traffic_monitor.properties
   INFO  2018-01-25T13:46:44.633 [pool-1-thread-1] 
com.comcast.cdn.traffic_control.traffic_router.core.util.Fetcher - GETing: 
federations.json; timeout is 15000
   WARN  2018-01-25T13:46:44.689 [pool-1-thread-1] 
com.comcast.cdn.traffic_control.traffic_router.core.util.Fetcher - Failed Http 
Request to federations.json Status 401
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to