You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are connecting over HTTP/2 which requires a setting to be set for it to work (extended connect). You need to set enable_connect_protocol to true in both Cowboy and Gun. Please check test/rfc8441_SUITE.erl for examples.
Ahh...I missed that part in the docs saying the prefered protocols for TLS per default is: [http2,http];
so I just removed http2 from that protocols option list and it worked.
Great, thanks!
Hi,
I have problems getting gun + cowboy talking over TLS using websockets to work.
I have created a minimal example that reproduces the problem.
https://github.com/etnt/gunsmoke
It seems like a TLS "handshake" is successful but then the connection goes down
and the client side gets a:
Could perhaps be something wrong with my self-signed certs...or something else...?
The text was updated successfully, but these errors were encountered: