Websocket support in managed vm

I tried using websockets in my Golang application from Google vm , but I couldn’t get it working, from the Chrome developer console, which I get:

Connection to WebSocket with 'ws: //127.0.0.1: 8080 / connect' failed: error during handshake WebSocket: Unexpected response code: 400 "and on my backend I get:" websocket: connection header! = Upgrade.

My vm driven question supports Golang websockets? If so, then a code score will be evaluated.

+2
source share
1 answer

Google , WebSocket Java . ( -), "GO" / .

0

Source: https://habr.com/ru/post/1618604/


All Articles