Debugging Spaceses Application
Hi Team. Built my mos trecetn hugging face space using a blank docker image. The Image worked for anohter simpler app but now I’m getting runtime errors and I can’t figure out why.Is there a way to debug the application runtime error from within spaces?
2024-01-30T22:08:18Z
hi@woodr7,Currently, you can only access logs through the logs tab. SSH access is on the roadmap.
2024-01-30T22:16:35Z
The one issue is that i don’t get any errors in the logs and Then there’s a runtime error that looks like thisimage2010×1086 175 KBIs there a way to see why this is the case?
2024-01-30T22:24:32Z
Are you using Streamlit SDK or Docker?It appears the app takes more than 30 minutes to load, causing this error. You can try addingstartup_duration_timeout: 1hto the README.md YAML header.
2024-01-31T15:04:06Z
I’m Using Docker because I have a Package (Labelbox) that is incompatible with streamlit due to Pydantic 2 support
2024-01-31T19:17:43Z
ok so maybe you’re missingapp_port: 8501on the README.md YAML?
2024-02-01T15:39:55Z
That seemed to work!
2024-02-02T03:40:52Z
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.