text-generation-webui-telegram_bot icon indicating copy to clipboard operation
text-generation-webui-telegram_bot copied to clipboard

Error Extension Mode: Connection Refused

Open SleepyRizi opened this issue 10 months ago • 4 comments

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). 

SleepyRizi avatar Apr 05 '24 11:04 SleepyRizi

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

innightwolfsleep avatar Apr 05 '24 14:04 innightwolfsleep

nope, Unable to connect.

SleepyRizi avatar Apr 06 '24 09:04 SleepyRizi

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

SleepyRizi avatar Apr 06 '24 11:04 SleepyRizi

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://<YOUR_PUBLIC_IP>:5000/docs available. Perhaps it because of your system.

innightwolfsleep avatar Apr 06 '24 15:04 innightwolfsleep