innightwolfsleep / text-generation-webui-telegram_bot

LLM telegram bot
MIT License
106 stars 20 forks source link

Error Extension Mode: Connection Refused #209

Closed SleepyRizi closed 6 months ago

SleepyRizi commented 7 months ago

Description

I encountered a connection error when using the extension mode. The error occurs when attempting to receive text through telegram, post-model load and UI restart.

image

Settings: Capture

Response: image

Additional Information

My VPN is enabled due to external internet restrictions (telegram won't work otherwise). 
innightwolfsleep commented 7 months ago

Seems, there is problem in api. Check if http://127.0.0.1:5000/docs available.

SleepyRizi commented 7 months ago

nope, Unable to connect.

SleepyRizi commented 7 months ago

aIso I checked: curl http://127.0.0.1:5000/v1/completions curl: (7) Failed to connect to 127.0.0.1 port 5000 after 2046 ms: Couldn't connect to server

innightwolfsleep commented 7 months ago

I see your flag set right. API should be available. This is an https://github.com/oobabooga/text-generation-webui bug. Try to open issue about api availability.

p.s. try http://:5000/docs available. Perhaps it because of your system.