gobwas/ws-examples

Upgrade error on Mac

Opened this issue · 3 comments

Hello,

I am trying the chat and proxy examples on Mac. When I run the script, it returns:

2019/07/24 17:23:34 upstream "chat" ok
2019/07/24 17:23:34 proxy is listening on ":"
2019/07/24 17:23:34 127.0.0.1:3333 > 127.0.0.1:56968: upgrade error: EOF

Chat starts fine. No errors there. Any ideas why I am seeing this error? The OS is x86_64-apple-darwin18 / darwin18, AKA MacOS Mojave v10.14.5. Has the ws library been tested on Mac and/or Windows? Am I doing something wrong?

Which browser did you use?

Hi @igorshmukler,
EOF usually means that the peer has closed the connection.

Which browser did you use?

ff, chrome - on mac