Skip to content
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

Add a port timeout detection feature for gradio/preview. #9707

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

achilou
Copy link

@achilou achilou commented Oct 15, 2024

This feature can help users receive more informative messages when running 'gradio cc dev' in case of network issues

Description

In WSL2, accessing the localhost at 127.0.0.1 may result in a hang due to network isolation between WSL2 and the Windows host. As a result, using the 'is_free_port' function to check ports can lead to a blocking state.

… can help users receive more informative messages when running 'gradio cc dev' in case of network issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant