chrisrude / oobabot

A Discord bot which talks to Large Language Model AIs running on oobabooga's text-generation-webui
MIT License
101 stars 34 forks source link

Unable to connect #82

Closed techselect closed 12 months ago

techselect commented 12 months ago

Every time I try and connect it to the API I'm always given this:

2023-10-09 18:45:28,111 INFO Starting oobabot, core version 0.2.3 2023-10-09 18:45:28,112 WARNING PyNaCl is not installed, voice will NOT be supported 2023-10-09 18:45:28,112 INFO Oobabooga is at ws://localhost:5005 2023-10-09 18:45:32,212 WARNING Could not connect to Oobabooga server: [ws://localhost:5005] 2023-10-09 18:45:32,212 WARNING Please check the URL and try again. 2023-10-09 18:45:32,213 ERROR Reason: Cannot connect to host localhost:5005 ssl:default [The remote computer refused the network connection]

I have the API and LISTEN enabled and have even tried going as far as to turn on PUBLIC_API. I've tried ports 5000 and 5005 and I still cannot connect.

techselect commented 12 months ago

Turns out I didn't enable the API extension. You need to enable both API settings.