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

Reason: Cannot connect to host localhost:5005 #8

Open
whyttt6 opened this issue Mar 31, 2024 · 3 comments
Open

Reason: Cannot connect to host localhost:5005 #8

whyttt6 opened this issue Mar 31, 2024 · 3 comments

Comments

@whyttt6
Copy link

whyttt6 commented Mar 31, 2024

2024-03-31 18:05:39,377 INFO Starting oobabot, core version 0.2.3
2024-03-31 18:05:39,379 INFO Oobabooga is at ws://localhost:5005
2024-03-31 18:05:43,432 WARNING Could not connect to Oobabooga server: [ws://localhost:5005]
2024-03-31 18:05:43,432 WARNING Please check the URL and try again.
2024-03-31 18:05:43,432 ERROR Reason: Cannot connect to host localhost:5005 ssl:default [Удаленный компьютер отклонил это сетевое подключение]

How to fix this?

@jmoney7823956789378
Copy link
Owner

@whyttt6 This could be anything.
Try taking a look and making sure you configured both oobabot and oobabooga's API correctly.

@xBelladonna
Copy link

I haven't tried to reproduce this issue, but it strikes me as something familiar. It looks like you're trying to use the old Oobabooga API that no longer exists (ws://localhost:5005). You should change your configuration file like this:

oobabooga:
  # Base URL for the oobabooga instance.  This should be ws://hostname[:port] for plain
  # websocket connections, or wss://hostname[:port] for websocket connections over TLS.
  #   default: ws://localhost:5005
  # Legacy API
  # base_url: ws://legacy-api:5005
  # Use the OpenAI-compatible API
  use_openai: true
  openai_endpoint: http://localhost:5000/v1/completions

@whyttt6
Copy link
Author

whyttt6 commented May 3, 2024

I changed the file as you asked, but I still have it in the console that connects to 2024-05-03 15:45:58.878 INFO Oobabooga is at ws://localhost:5005

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

No branches or pull requests

3 participants