keenlabs / keen-sdk-net

A .NET SDK for the Keen IO API
MIT License
37 stars 23 forks source link

Keen.IO Hangs on read operation #9

Closed wetzler closed 9 years ago

wetzler commented 9 years ago

A user posted this question to Stack Overflow: http://stackoverflow.com/questions/26964839/keen-io-hangs-on-read-operation

seansparkman commented 9 years ago

I have been attempting to reproduce the issue, but I have not had much success. I dropped the example code from Stack Overflow into a Console application and made a few modifications.

capture

capture

Perhaps the number of events is higher or the amount of data in each event? I will try the previous hour query in an hour and see if that makes any difference, but it did not seem to make any difference for the 80 records for the past hour.

seansparkman commented 9 years ago

No real change using the PreviousNHours(1)

capture

sanjeev-gruden commented 9 years ago

Guys this is still an issue for me... not sure what/why however I did put fiddler to see the http traffic to/fro

I can see the request get a response with 100 items but the function does not exit (return out of KeenClient.QueryExtractResource(......).

The only thing I can thing of is TimeZone issue. (If this is the issues guess I need a beer)

seansparkman commented 9 years ago

Could you please provide the versions of the following nuget packages, the framework, and your OS? Json.NET HttpClient KeenClient PCLStorage

davidknaack commented 9 years ago

@sanjeev-gruden, can you provide complete code to reproduce the problem? A small program similar to what sean-sparkman posted above that creates a new collection, stores data, and then submits a query that exhibits the problem you are experiencing would be great. Also, it might be helpful if you could run the sample above and see if it performs differently from what sean-sparkman posted. These steps will help us to identify where the problem is.