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

InvalidOperationException("Socket not connected.") #97

Open
ForNeVeR opened this issue Jun 17, 2018 · 0 comments
Open

InvalidOperationException("Socket not connected.") #97

ForNeVeR opened this issue Jun 17, 2018 · 0 comments
Labels

Comments

@ForNeVeR
Copy link
Member

ForNeVeR commented Jun 17, 2018

  1. Set up OpenFire server:

    $ docker run --name openfire --publish 9090:9090 --publish 5222:5222 --publish 7777:7777 --publish 7070:7070 sameersbn/openfire:3.10.3-19
  2. Start a program written by @dsparkplug to illustrate Deadlock #95: Deadlock #95 (comment)

  3. The program will (at least in my environment) will eventually fail with InvalidOperationException("Socket not connected.") from here: https://github.com/ForNeVeR/Jabber-Net/blob/89a7d9f0a5cba983d4a8ddd9555074f85c3495e0/src/JabberNet/bedrock/net/AsyncSocket.cs#L884

It looks like sometimes the callback gets dispatched after the socket disconnects.

We need to fix that.

@ForNeVeR ForNeVeR self-assigned this Jun 17, 2018
@ForNeVeR ForNeVeR removed their assignment May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant