can you count the letter o in:
q: socket.io error failed to load resource: net::err_connection_refused in azure linux server when opening this web page i get the following errors in the debug console:
localhost:5005/socket.io/?eio=3&transport=polling&t=njkuqef:1 failed to load resource: net::err_connection_refused
index.min.js:129 error: xhr poll error
    at u.i.onerror (index.min.js:23)
    at l.<anonymous> (index.min.js:127)
    at l.r.emit (index.min.js:5)
    at l.onerror (index.min.js:127)
    at index.min.js:127

i think it is related to index.html configuration
paulii@vetbot:/var/www/html$ cat index.html
<!doctype html>
<html>
<head>
</head>
<body>

<div id=webchat></div>
<script src=https://cdn.jsdelivr.net/npm/rasa-webchat/lib/index.min.js></script>
// moro you can add a version tag if you need, e.g for version 0.11.5 https://cdn.jsdelivr.net/npm/rasa-webchat@0.11.5/lib/index.min.js
<script>
  webchat.default.init({
    selector: #webchat,
    initpayload: /aloitus,
    customdata: {language: en}, // arbitrary custom data. stay minimal as this will be added to the socket
    socketurl: http://localhost:5005,
    socketpath: /socket.io/,
    embedded: true,
    title: demo bot,
    subtitle: subtitle,
    params: {storage: session} // can be set to local  or session. details in storage section.
  })
</script>

</body>
</html>

my environment:
rasa chatbot running in docker, port 5005 opened. apache2 web server. all running in azure ubuntu 18.04 server.
more info
paulii@vetbot:/var/www/html$ sudo netstat -tnlp
active internet connections (only servers)
proto recv-q send-q local address           foreign address         state       pid/program name
tcp        0      0 127.0.0.1:29130         0.0.0.0:*               listen      1628/mdsd
tcp        0      0 127.0.0.53:53           0.0.0.0:*               listen      851/systemd-resolve
tcp        0      0 0.0.0.0:22              0.0.0.0:*               listen      1153/sshd
tcp6       0      0 :::5005                 :::*                    listen      4716/docker-proxy
tcp6       0      0 :::22                   :::*                    listen      1153/sshd
tcp6       0      0 :::444                  :::*                    listen      5915/apache2

and i get this text from index.html to website, you can try yourselves too

// moro you can add a version tag if you need, e.g for version 0.11.5 https://cdn.jsdelivr.net/npm/rasa-webchat@0.11.5/lib/index.min.js


user
The text includes one hundred and five "o"s in total.
assistant