Can not initialize socket connection

Hey!
I am working on this project https://glitch.com/edit/#!/continous-glitch?path=views%2Findex.html%3A50%3A47

which works locally but now I can not establish socket connections

The server receives the new client but throws this error:

New client: qa-HaytT16gIoPDxAAAA
    /opt/debugger/node_modules/.registry.npmjs.org/http-proxy/1.16.2/node_modules/http-proxy/lib/http-proxy/index.js:119
        throw err;
        ^
    Error: socket hang up
        at createHangUpError (_http_client.js:335:17)
        at Socket.socketCloseListener (_http_client.js:376:25)
        at Socket.emit (events.js:201:15)
        at TCP.<anonymous> (net.js:586:12)

Found this issue Debugger Not Working throwing same error.
I would really like to figure it out what is going on

Thanks!

A. Non-HTTP projects cannot be hosted as the glitch reverse proxy gets confused
B. Google the error “socket hangup http-proxy”, I think it has to do with the server you are proxying but it’s been a long time since I’ve dealt with reverse proxies.

1 Like

Thanks for the answer :slight_smile:

Already resolved it :slight_smile: