Hey everyone,
I’m facing an issue with my FlaskAPI running in a private Hugging Face Space. I’ve set the space to enter sleeping mode after some time to save resources. However, when I try to wake it up after a few hours by sending a GET/POST request, I get a 404 error.
I suspect this might be related to the spaces-jwt token refreshing periodically. I found this thread discussing JWT expiration settings: However, when I try to send the GET request, I get a “Sorry, we can’t find the page you are looking for” error. I’m not sure if my issue is due to an incorrect setup, the token expiration, or something related to the sleeping mode. My Space: idkash1/Detect_Edits_in_AI-Generated_Text Would appreciate any insights or advice.
/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-modify-the-fastapi-jwt-token-expiration-setting-issued-by-huggingface%2F78593%3C%2Fa%3E%3C%2Fp%3E
Thanks in advance!