Running text-generation-webui on a VPS server login is at talk.domain.com #5280
-
Hello, i have managed to setup text-generation-webui on my domain but the SSL is not working correctly, I am most likely going to fix this issue, I will share info on how you can do the same, I was going to install a gradio server but would be cheaper to do it on the server where oobabooga/text-generation-webui is installed, I have done it but no SSL, anyone achieved putting this system on a domain with SSL? What ports need to be open etc? Using nginx certbot and my nginx.conf is: user www-data; events { 1024; http {
ENCRYPTION-Key Exchange Algorithm-IS-HERE-OR-JUST-REMOVE-THIS-LINE-RSA-AES256-GCM-SHA384; ssl_prefer_server_ciphers on;
} More info: (base) zero@zero:~/text-generation-webui-main$ Connection Refused: The error message Connection refused (errno=111) indicates that there's no process listening on port 7861 to accept incoming HTTPS connections. Chatbot Script Not Running: As you mentioned, the script might not be running. Start Chatbot Script: If it's not already running, start the chatbot script and ensure it's configured to listen on port 7861 for HTTPS. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
local host managing is working fine but the URL keeps saying: (base) zero@zero: |
Beta Was this translation helpful? Give feedback.
-
command used: current nginx.conf which is pointing to zero.talktoai.org user www-data; events { 1024; http {
} But I got those errors, will keep trying to fix. |
Beta Was this translation helpful? Give feedback.
-
(base) zero@zero:~/text-generation-webui-main$ sudo ./start_linux.sh --gradio-auth username:mypassword --extension LLM_Web_search --listen --listen-host zero.talktoai.org To create a public link, set |
Beta Was this translation helpful? Give feedback.
-
Fixed: use firefox browser! Well, i thought so only works on the same server IP (locally) using firefox with the domain URL, but not working if I try access outside the server where this software is running. |
Beta Was this translation helpful? Give feedback.
-
Fixed, notes below: working 100% on linux ubuntu: cd /home/zero/text-generation-webui-main/ ./start_linux.sh --gradio-auth username:mypass --extension LLM_Web_search --listen --listen-port 7860 --listen-host zero.talktoai.org --ssl-certfile=/etc/letsencrypt/live/zero.talktoai.org/fullchain.pem --ssl-keyfile=/etc/letsencrypt/live/zero.talktoai.org/privkey.pem https://zero.talktoai.org:7860/ nginx.conf file: user www-data; events { 1024; http { ... other directives (if any)server {
} |
Beta Was this translation helpful? Give feedback.
-
For me it worked with adding these lines to nginx server location section:
after that, receive the certificate and launch the server with: Minimal setup with no auth: With authentication: |
Beta Was this translation helpful? Give feedback.
Fixed, notes below:
working 100% on linux ubuntu:
cd /home/zero/text-generation-webui-main/
./start_linux.sh --gradio-auth username:mypass --extension LLM_Web_search --listen --listen-port 7860 --listen-host zero.talktoai.org --ssl-certfile=/etc/letsencrypt/live/zero.talktoai.org/fullchain.pem --ssl-keyfile=/etc/letsencrypt/live/zero.talktoai.org/privkey.pem
https://zero.talktoai.org:7860/
nginx.conf file:
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections
1024;
}
http {
... other directives (if any)
server {
listen 443 ssl;
server_name zero.talktoai.org; # Replace with your actual domain name