Client refresh: Are reconnects supposed to re-trigger onConnect on the server? #320
-
I'm following the
I've made sure the close call get triggered, but:
I am able to make new subscriptions thereafter, but it will end up using the old token as my auth happens in
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Update: It seems the first restart does indeed call It looks like I would need to obtain the new socket reference via |
Beta Was this translation helpful? Give feedback.
-
Nothing to do with |
Beta Was this translation helpful? Give feedback.
Nothing to do with
graphql-ws
, theconnected
listener was not used properly. See https://github.com/theogravity/graphql-ws-socket-reconnect-issue/pull/1 for more info.