You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/04/12 22:19:13 UTC

[GitHub] [trafficcontrol] rawlinp commented on issue #5739: Login failure loop in v5.1.0 go v3-client

rawlinp commented on issue #5739:
URL: https://github.com/apache/trafficcontrol/issues/5739#issuecomment-818279673


   For whoever fixes this:
   `request()` is calling `login()` if the 1st attempt returned 401. `login()` eventually makes its way back to `request()`, which gets another 401, causing it to call `login()` again, getting stuck in infinite recursion. Instead of calling `login()`, we should probably make a "raw" login request instead of calling `login()` which also adds in all the version-retrying.


-- 
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:
users@infra.apache.org