Forum

You are not logged in.

#1 05-12-2017 21:54:23

oliverpool
Membre
Registered: 05-12-2017
Posts: 1

Websocket with node.js

Hi,

I discovered your service recently, and I am quite amazed by it !

According to https://blog.alwaysdata.com/2016/10/27/ … alproxy-5/, you also support websocket!

I've tried to deploy a node app which uses Websocket: it fails when the connection tries to be established:
WebSocket connection to 'wss://***MyDomain***/binary' failed: Error during WebSocket handshake: 'Connection' header is missing

== Request header ==
Accept-Encoding:gzip, deflate, br
Accept-Language:...
Cache-Control:no-cache
Connection:Upgrade
DNT:1
Host:...
Origin:...
Pragma:no-cache
Sec-WebSocket-Extensions:permessage-deflate; client_max_window_bits
Sec-WebSocket-Key:vhgvbJEdzAUgSe24YFetpA==
Sec-WebSocket-Version:13
Upgrade:websocket
User-Agent: ...


== Response header ==
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Sec-WebSocket-Accept: CBaPz6lmjD1YByayL5IBVyf+jgM=
Via: 1.1 alproxy
Date: Tue, 05 Dec 2017 20:50:35 GMT

As you can see, the "Connection:Upgrade" is missing from the response header.

Thanks for the help

Offline

#2 06-12-2017 12:08:21

@Cyril
Staff
From: Paris
Registered: 06-02-2007
Posts: 5,587
Website

Re: Websocket with node.js

Hello,

We need to investigate on this. Can you please open a support ticket from the administration panel and give us the full URL and your testing method?

Offline

Board footer

Powered by FluxBB