Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: When starting user stream and network is unavailable, stream continuously raises Started and Stopped Events.

$
0
0
Hi,

I am currently using 0.8.3.23. I apologize I have incorrectly stated the issue. It occurs after a UserStream has successfully started. If I disconnect from the network and wait about 5 minutes, I repeatedly get alternating stopped and started events.

Along with every stopped event I receive:
System.NullReferenceException: Object reference not set to an instance of an object.
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Func2 processObject, Func1 generateWebRequest)

The stopped event is expected as there is no network connection, but I don't think it should start again.

I noticed you added a StreamRunning event. I will try this out as it looks like it might solve my issue.

Thanks,

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>