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

unmatched topic after reconnect #91

Open
Fabi755 opened this issue Oct 11, 2022 · 1 comment
Open

unmatched topic after reconnect #91

Fabi755 opened this issue Oct 11, 2022 · 1 comment

Comments

@Fabi755
Copy link

Fabi755 commented Oct 11, 2022

At first thank you for your work and this nice library! :-)

I have some trouble with reconnections. While my research I found the following issue on phoenix's JS client.

I get the same behavior on this client.

If I call disconnect and connect again to simulate a connection drop, I can not push messages anymore. I still get error with unmatched topic.

Message(joinRef=null, ref=16, topic=room:lobby, event=chan_reply_16, rawPayload={response={reason=unmatched topic}, status=error})

Debugging the client show all things are connected

canPush = true
isJoined = true
socket.isConnected = true

I have looked at the linked issue and the merge requests. But I don't understand the cause or the solution to fix this by myself.

In case this is really a bug and someone can help me to understand the cause and have some ideas how to fix this, I want to create a PR for this.

@dsrees
Copy link
Owner

dsrees commented Oct 11, 2022

Thanks for the great issue and linking to a related issue in the JS client. I'll work on getting this fixed up

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

2 participants