You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example on "you cannot generate new token using 80 from everywhere"
>>> utilix.DB()
2024-05-23 09:59:06,824 - utilix - DEBUG - No token exists at /home/yuanlq/.dbtoken. Creating new one.
2024-05-23 09:59:06,824 - utilix - DEBUG - No token exists at /home/yuanlq/.dbtoken. Creating new one.
2024-05-23 09:59:06,824 - utilix - DEBUG - Creating a new token: doing API call now
2024-05-23 09:59:06,824 - utilix - DEBUG - Creating a new token: doing API call now
2024-05-23 09:59:06,916 - utilix - DEBUG - The response contains these keys: ['message']
2024-05-23 09:59:06,916 - utilix - DEBUG - The response contains these keys: ['message']
ERROR:root:API call to create new token failed. Here is the response:
{"message": "The method is not allowed for the requested URL."}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/cvmfs/xenon.opensciencegrid.org/releases/nT/development/anaconda/envs/XENONnT_development/lib/python3.9/site-packages/utilix/rundb.py", line 191, in __init__
token = Token(token_path)
File "/cvmfs/xenon.opensciencegrid.org/releases/nT/development/anaconda/envs/XENONnT_development/lib/python3.9/site-packages/utilix/rundb.py", line 87, in __init__
self.new_token()
File "/cvmfs/xenon.opensciencegrid.org/releases/nT/development/anaconda/envs/XENONnT_development/lib/python3.9/site-packages/utilix/rundb.py", line 134, in new_token
raise RuntimeError("Creating a new token failed.")
RuntimeError: Creating a new token failed.
Related discussion here
Temporary Solution:
rm -rf $HOME/.dbtoken$
utilix.DB()
in terminal to renew$HOME/.dbtoken$
The text was updated successfully, but these errors were encountered: