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
theme.css doesn't map to correct port. #8129
Comments
Ooooh |
Interesting, what's the URL in which your Gradio app is running? Can you describe more how your Gradio app is deployed? Is it behind an nginx proxy? |
it is running on a gpu rential platform, local port is 6006,reverse proxy by platform to outside 8443 |
I also find the path /login redirected to wrong address i run my gradio in port 7001 i want to proxy it to 8001/img2txt here is my nginx.conf (the server listen to 80 is to fix the problem theme.css redirect to 80 problem) `events {
}` after added server listen to 80 the theme.css loaded correctly ,but after i click login button(yes i use password of gradio) i got another error this is the url i submit :”http://192.168.8.122/img2txt/login“ but it should call ”http://192.168.8.122:8000/img2txt/login“ mybe they are the same bug(like theme.css load error in nginx) |
@bf96163 Hello, have you solved it yet |
Have the same issue...in developer tools console I see attempts to load theme.css from localhost instead of localhost:8181 which is where the app is serving from |
Hi @bars0um I'm looking into this issue, can you please describe how your app is deployed as well? Is it behind a proxy? |
Describe the bug
When using 4.27.0, Set app runs on a selected port. App can't load correctly.
Check with F12, theme.css is point to defaut port.
Downgrade to 3.50.2, theme.css is map to correct port.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: