I use Phoenix Socket JS
library inside a Vue
based application. Socket gets connected and channel joined but after couple of seconds it gets disconnected and the socket connects again automatically.
I see this JS error (console message):
transport: close CloseEvent {isTrusted: true, wasClean: true, code: 1000, reason: "", type: "close", …}
I use Nginx
to proxy the connections to Phoenix
.