Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404: Session not found #9252

Open
1 task done
Samadan01 opened this issue Sep 3, 2024 · 2 comments
Open
1 task done

404: Session not found #9252

Samadan01 opened this issue Sep 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Samadan01
Copy link

Samadan01 commented Sep 3, 2024

Describe the bug

My response from the API during my GET request with command line interface(Bash), it keeps giving:
event: error
data: "404: Session not found."

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

curl -X POST https://samadan01-blip-image-captioning-api.hf.space/call/predict -s -H "Content-Type: application/json" -d '{
"data": [
{"path":"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"}
]}'

curl -N GET https://samadan01-blip-image-captioning-api.hf.space/call/predict/$EVENT_ID

Screenshot

No response

Logs

event: error
data: "404: Session not found."

System Info

Using the lastest gradio on hugging Face, which runs perfectly on Hugging Face

Severity

Blocking usage of gradio

@Samadan01 Samadan01 added the bug Something isn't working label Sep 3, 2024
@skye0402
Copy link

skye0402 commented Sep 3, 2024

Yep, like #6920 and my bug #9169 - It's a nasty bug and my users complain. They can work around it by opening an incognito session in the browser until the regular browser works again (I think once a certain session timeout is reached which can be minutes or hours, I don't have details).

@AusafG5
Copy link

AusafG5 commented Nov 28, 2024

Is there any resolve for this ?

has almost made our prod apps unusable when deployed to googe cloud run services or localtunnelling/port forwarding, basically only works locally.

it's happening again in 5.7.0 version updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants