The pod is not exposed externally.
I followed RunPod's documentation to run a web server using FastAPI + Uvicorn on port 8000.
I also specified port 8000 in the Expose HTTP Ports field in the Pod config.
RUN uvicorn main:app --reload --host 0.0.0.0 --port 8000
The logs show that the command executed successfully:
However, when I click the Connect button, it shows "HTTP Service [PORT 8000] Not Ready", and when I try to access https://{POD_ID}-8000.proxy.runpod.net/ directly, it displays a 502 bad gateway error page.
Can you help me identify what might be the problem?
I'm using a Community Pod rather than a Secure Pod - could this be the issue?16 Replies
Never mind.
It works normally after mapping port 8000 to TCP instead of HTTP in the Pod settings.
It'd weird tho should work
Normally.., maybe you should report this to support
With the pod id
hi, `i have the same problem could you tell me what comment i must put in window in pods settings?
It doest work in the http port?
nope
So what happens when you try this? And open in your browser
I removed port 8000 all others seemingly work and it stands still nothing continues to happen with it 🙂
Hmm weird so no exposed port? At all and this showed up?
Or just removed 8000, from the list with all of those ports
@Nureongi
Escalated To Zendesk
The thread has been escalated to Zendesk!
I removed 8000 😛 and still same problem - NOTHING
Nothing what do you mean
stable diffusion application under which I am doing this pod does not turn on
If you try to create a pod with no ns just for testing does it works
Check for logs too
I am noob... sorry but are you able to write how to do it?
Have you tried clicking on any of those 'Ready HTTP Service'?
One of those is likely linked to the web GUI maybe you're looking for.
I'll try to use the template later and check if everything works normally
You can also create a new pod without attaching your network storage
Just create a new one