Troubleshooting deployed assistant's missing responses

The issue was that I didn’t have the proxy configured correctly. The /socket.io/ location needed some additional directives. This ended up working:

location /socket.io/ {
    proxy_pass          http://rasa_server:5005;
    proxy_http_version  1.1;
    proxy_set_header    Upgrade $http_upgrade;
    proxy_set_header    Connection $connection_upgrade;
}

And, in order to avoid an unknown "connection_upgrade" variable error, I also needed to add the following directive to the http block my nginx.conf file:

map $http_upgrade $connection_upgrade {  
    default   upgrade;
    ''        close;
}

I think that, previously, the proxy connection was falling back to HTTP long polling (the default for socket.io).