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

Reconnecting over and over again #10

Closed
HakanL opened this issue Oct 27, 2011 · 1 comment
Closed

Reconnecting over and over again #10

HakanL opened this issue Oct 27, 2011 · 1 comment

Comments

@HakanL
Copy link
Contributor

HakanL commented Oct 27, 2011

I'm not sure if this is problem or not, but when I run the client against cometd 2.1.3 (java) the client reconnects every second (or so). If I check the traffic in Fiddler it successfully connected (returned true), but the client library still retries it. I checked the Java client and the code in c# seems to match, but I don't have a set up where I can run the java client and look at the traffic. It just seems odd that it sends connect messages every second. Plus it actually failed to send any real messages because it was in CONNECTING state every second.
I removed scheduleConnect in ConnectedState/execute which "fixed" it for me, but I'm not sure that is a valid fix.

@HakanL
Copy link
Contributor Author

HakanL commented Nov 1, 2011

The fix is not to remove scheduleConnect, it's probably something I did. We can close this issue.

@HakanL HakanL closed this as completed Nov 1, 2011
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

1 participant