Skip to content

Share= True fails to generate public share link #4347

Description

@Gothos

Describe the bug

Attempting to run the "Hello, World!" example given in the gradio docs, with share=True set, on a linux machine (Ubuntu 22.04, gradio version =3.32.0) simply results in a localhost link. No public sharing link is generated despite waiting for 4+ minutes.
I have looked at the previous issues involving failures in the link creation, but those explicitly return an error message.
The localhost link generated works fine.

Downgrading to gradio version = 3.13.0 successfully creates a public share link. Versions 3.15,3.16 and so on up to 3.21 do not generate links. I have not verified for versions from 3.21 to 3.32.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

import gradio as gr

def greet(name):
    return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")

demo.launch(share=True) 

Screenshot

No response

Logs

No errors are shown, and the localhost link works just fine.

System Info

Gradio version:3.32.0, OS: Ubuntu:22.04, Browser: Firefox

Severity

serious, but I can work around it

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions