Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not work with phoenix 1.3 #31

Open
rijavskii opened this issue Jun 12, 2018 · 0 comments
Open

Do not work with phoenix 1.3 #31

rijavskii opened this issue Jun 12, 2018 · 0 comments

Comments

@rijavskii
Copy link

I try to connect to channel but i got this error:

Ranch protocol #PID<0.922.0> of listener CalltrackingAdminWeb.Endpoint.HTTP (cowboy_protocol) terminated
** (exit) exited in: Phoenix.Endpoint.CowboyWebSocket.resume()
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: %{"event" => "heartbeat", "payload" => %{}, "ref" => 0, "topic" => "phoenix"}
(phoenix) lib/phoenix/transports/v2/websocket_serializer.ex:34: Phoenix.Transports.V2.WebSocketSerializer.decode!/2
(phoenix) lib/phoenix/transports/websocket.ex:121: Phoenix.Transports.WebSocket.ws_handle/3
(phoenix) lib/phoenix/endpoint/cowboy_websocket.ex:77: Phoenix.Endpoint.CowboyWebSocket.websocket_handle/3
(cowboy) /var/www/elixir/calltracking_admin/deps/cowboy/src/cowboy_websocket.erl:588: :cowboy_websocket.handler_call/7
(phoenix) lib/phoenix/endpoint/cowboy_websocket.ex:49: Phoenix.Endpoint.CowboyWebSocket.resume/3
(cowboy) /var/www/elixir/calltracking_admin/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant