gradio: theme.css doesn't map to correct port.

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. f3928f7267fb5874973f39d248836da

Downgrade to 3.50.2, theme.css is map to correct port. image

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

demo.launch(server_port=8443)

Screenshot

No response

Logs

No response

System Info

ubuntu 22.04 LTS
python 3.10
gradio latest

Severity

Blocking usage of gradio

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Can you all please try changing:

        proxy_set_header Host $host;

to

        proxy_set_header Host $http_host;

in your nginx configuration?

Same problem here

I believe that this issue may have been fixed now. Can y’all please try installing gradio from main like this:

pip install https://gradio-builds.s3.amazonaws.com/94a1143686733c7fe16e204764b9a3e7240ccf02/gradio-4.31.5-py3-none-any.whl

and check to see if the app is working?