Oyatel/CometD.NET — Issue #10: Reconnecting over and over again
Author: HakanL
Created: 2011-10-27 23:34:10+00:00
State: open

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.