I am using a python script that originated from GitHub to stop AGS services, specifically geocode services, so that the associated address locator can be rebuilt from updated data. This python script has been running successfully for over a year, but recently is throwing the error "Error while fetching tokens from admin URL. Please check the URL and try again." The AGS 10.5.1 software has not changed so I am confused as to why all of a sudden I am getting these errors. I am getting the error in all my organization's AGS environments (development, test, and production) where both development and production are 2-server load balanced sites and the test environment is a single server site.
Has anyone ever seen the error I have indicated above?
If so, were you able to determine the root cause of the error?
Any help or feedback related to this issue is greatly appreciated.