rasa-webchat icon indicating copy to clipboard operation
rasa-webchat copied to clipboard

socket communication not working on server domain name

Open TarunKumar50 opened this issue 6 years ago • 2 comments

we have rasa server running on ubuntu which has private IP,public IP and domain name. when i connect the socket via private IP it is working but over VPN , but when i connect it via domain name then it is not working.it says waiting for server.

can anyone guide me to how can i connect chatbot UI with domain name to my rasa server.

TarunKumar50 avatar Dec 03 '19 10:12 TarunKumar50

in case you are using NGINX, you can use the following configuration:

server {
  listen 80;
  listen [::]:80;

  server_name yourdomain.com;

  location / {
	proxy_pass http://localhost:5005/;
	proxy_http_version 1.1;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection "upgrade";
	proxy_set_header Host $host;
  }
}

saurabh-m523 avatar Dec 18 '19 09:12 saurabh-m523

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 03 '20 17:08 stale[bot]