KeyError: :transport_name not found in Phoenix.Socket (socket connections failing)
I'm getting an error in my logs for all active users, seemingly for the chat, saying that the phoenix_channel_join failed.
2019-07-02T00:25:52.357154980Z app[web.1]: 00:25:52.352 [error] Instrumenter Pleroma.Web.Endpoint.Instrumenter.phoenix_channel_join/3 failed.
2019-07-02T00:25:52.357190905Z app[web.1]: ** (KeyError) key :transport_name not found in: %Phoenix.Socket{assigns: %{user_name: "sevvie"}, channel: Pleroma.Web.ChatChannel, channel_pid: #PID<0.838.0>, endpoint: Pleroma.Web.Endpoint, handler: Pleroma.Web.UserSocket, id: nil, join_ref: "1", joined: false, private: %{log_handle_in: :debug, log_join: :info}, pubsub_server: Pleroma.PubSub, ref: nil, serializer: Phoenix.Socket.V2.JSONSerializer, topic: "chat:public", transport: :websocket, transport_pid: #PID<0.836.0>}
In trying to look into this, I found this ticket which seemed to be related, but when I translated his solution into what I suspected would accomplish it, I ended up with the same error.
This is what I added to my prod.secret.exs (to no avail):
config :pleroma, Pleroma.Web.Endpoint.Instrumenter,
controller_call_labels: [:controller, :action],
channel_join_labels: [:channel, :topic, :transport]
EDIT: Reading through the pleroma source, I see that my initial attempt was somewhat in vain, though I'm still unable to find exactly what I would config
, if anything, to prevent this error.
Edited by sevvie Rose