nginx Websocket protocol

gerardsoles's Avatar

gerardsoles

31 Aug, 2021 12:07 AM

Hi, I made a console app witch uses a TcpListener to create a simple websocket server, the problem i'm having is that on localhost works everything just fine but once I uploaded it to AppHarbor when using the ws:// protocol I get the response from nginx instead of my app (added them as attachments). Through the logs I can see that the uploaded application is working but I don't get why I'm getting the wrong response with a simple WebSocket ws = new WebSocket("ws://tcpcraft.apphb.com/");. I even tried the websocket example that was created when you added websocket support on "websocket.apphb.com" with the same code and still got the same response, am I doing something wrong?

Thanks,

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac