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

[Issue] OpenAI/oobabooga: (network) fetch failed - Error: connect ECONNREFUSED 127.0.0.1:5000 #463

Open
1 task
adaaaaaa opened this issue Mar 22, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@adaaaaaa
Copy link

Description

after this command
python server.py --trust-remote-code --extension openai --listen --api
22:34:07-366122 INFO Starting Text generation web UI
22:34:07-368204 WARNING trust_remote_code is enabled. This is dangerous.
22:34:07-368812 WARNING
You are potentially exposing the web UI to the entire internet without any access password.
You can create one with the "--gradio-auth" flag like this:

                     --gradio-auth username:password                                                                                                                                   
                                                                                                                                                                                       
                     Make sure to replace username:password with your own.                                                                                                             

22:34:07-370047 INFO Loading the extension "openai"
22:34:07-425069 INFO OpenAI-compatible API URL:

                     http://0.0.0.0:5000                                                                                                                                               

22:34:07-425538 INFO Loading the extension "gallery"

Running on local URL: http://0.0.0.0:7860

then i can see in the "configure ai models" page:
[Issue] OpenAI/oobabooga: (network) fetch failed - Error: connect ECONNREFUSED 127.0.0.1:5000
what cause the failure?

Device and browser

firefox 124.0
archlinux
Kernel: 6.6.22-1-lts

Screenshots and more

No response

Willingness to Contribute

  • 🙋‍♂️ Yes, I would like to contribute a fix.
@adaaaaaa adaaaaaa added the type: bug Something isn't working label Mar 22, 2024
@enricoros
Copy link
Owner

Hi @adaaaaaa, this is probably the similar network issue as #276 (comment).

See that message for explaining the cause and possible solutions.

@adaaaaaa
Copy link
Author

@enricoros
the project is build in my pc's docker and oobabooga is build in my pc local environment
the issue is not solve,while i can get some response in http://localhost:5000/docs test examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants