[erlang-questions] Gun and websockets

Robert Virding rvirding@REDACTED
Thu Aug 14 00:20:59 CEST 2014

I had gotten the answer in #erlang chat but missed it. It is depressingly
simple, it is not implemented yet. :-(


On 13 August 2014 14:57, Robert Virding <rvirding@REDACTED> wrote:

> I am having problems trying to open a websocket with gun
> https://github.com/extend/gun. So I have been trying:
> {ok,Pid} = gun:open("", 8080, [{type,tcp}]),
> gun:ws_upgrade(Pid, "/content/chats/connect/"),
> and nothing happens, it just times out. Checking, the process Pid started
> by gun:open dies with an undef error but I don't see which function it is
> trying to call. Using http://www.websocket.org/echo.html and opening ws://
> works fine.
> Any suggestions?
> Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140813/b7764e1e/attachment.htm>

More information about the erlang-questions mailing list