Logging Websocket Requests

Might be useful:

I think [:phoenix, :socket_connected] is what I’d look into first. connection: upgrade requests might be unable to reach phoenix (and its logger) since they are probably terminated in cowboy and phoenix only receives the resulting websocket connection.

You can also try tracing the relevant modules to check why the tokens fail.