matthiasn / BirdWatch

Tweet stream analysis and visualization with real-time updates.
http://matthiasnehlsen.com/
GNU Affero General Public License v3.0
856 stars 153 forks source link

java.util.concurrent.CancellationException #27

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi Matthias,

First, thanks a LOT for your work on this. Second and to the issue, it looks like I'm running into concurrency issues with the Clojure version of BirdWatch on my VPS. Here's what I see-

#<CancellationException java.util.concurrent.CancellationException>

And shortly after,

Exception while processing chunk #<Exception java.lang.Exception: JSON error (unexpected character): c>

I'm assuming the second error is as a result of the first, perhaps chunks are not being processed properly because the chunks don't make it in completely due to the concurrency error. Although, this is just a hypothesis. Any idea why this would be the case?

Thanks a lot.

matthiasn commented 9 years ago

Hi Goke, the cancellation exception happens when the TwitterClient component has not received any tweets recently, the application will then restart the connection after a waiting period. Have you created the twitterconf.edn file with valid consumer key, secret and access token? Cheers, Matthias

matthiasn commented 9 years ago

Will close this for now because I cannot reproduce it. Feel free to reopen the issue anytime when you have additional information. Thanks!