- This topic has 1 reply, 2 voices, and was last updated 3 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › 504 Gateway Time-out to invalid refresh token
When trying to run the SliceManager#create_slice function, I get a SliceManagerException reading “504 Gateway Time-out”, and then if I try and run any SliceManager tools again I get a new SliceManagerException reading “(invalid_grant) invalid refresh token”. If I generate/download a new ID token from the FABRIC portal, this workflow repeats.
I am running:
How can I resolve this issue?
Here is the 504 Gateway Timeout trace: https://pastebin.com/raw/Xy0VXu8x
Here is the invalid refresh token trace: https://pastebin.com/raw/XdvRJDD0
These errors were found running the basic_examples/create_node.ipynb here.
This is a known bug. It is caused by communication between FABRIC and CILogon. Occasionally, there is a CIlogon delay that is long enough to trigger a timeout. When this happens your token will be revoked and the next time you submit a request to FABRIC you will get an “invalid token” error.
In the long term we are trying to avoid this timeout so the tokens will not be revoked. In the short term the workaround is to download a new token from the portal. https://portal.fabric-testbed.net/experiments
If you are using our JupyterHub, you will need to logout and and log back in to get a new token.