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

Created Unassigned: Hang-up searching for tweets in GetWebResponse [2403]

$
0
0
Hi,


We have integrated Tweetinvi 0.9.3 in our application.

We are having random hangs-up in GetWebResponse when searching for tweets.

We execute the searching in a non-UI thread.

We have waited for more than 10 mins. but the call to GetWebResponse never calls back.

Is there any way to set a timeout for the HttpWebRequest object?

For example, it happened performing this search :

https://api.twitter.com/1.1/search/tweets.json?q=hello%20filter%3Aimages&result_type=Recent&max_id=509291048774795263&count=90&since=2014-09-05&until=2014-09-10


The call stacktrace is as follows :

Child SP IP Call Site
09fbef84 7748d2ec [GCFrame: 09fbef84]
09fbf034 7748d2ec [HelperMethodFrame_1OBJ: 09fbf034] System.Threading.Monitor.ObjWait(Boolean, Int32, System.Object)
09fbf0b8 71df98ea System.Threading.Monitor.Wait(System.Object, Int32, Boolean)
09fbf0c8 71e0bcdb System.Threading.Monitor.Wait(System.Object, Int32)
09fbf0cc 71e141c6 System.Threading.ManualResetEventSlim.Wait(Int32, System.Threading.CancellationToken)
09fbf120 71e13ebf System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, System.Threading.CancellationToken)
09fbf160 71e44bd4 System.Threading.Tasks.Task.InternalWait(Int32, System.Threading.CancellationToken)
09fbf1b8 71e13d72 System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
09fbf1c8 71e13d47 System.Threading.Tasks.Task.Wait()
09fbf1cc 0594a078 Tweetinvi.WebLogic.WebHelper.GetWebResponse(System.Net.WebRequest)
09fbf200 05949e04 Tweetinvi.WebLogic.WebRequestExecutor.ExecuteWebRequest(System.Net.HttpWebRequest)
09fbf280 0594cc9b Tweetinvi.WebLogic.TwitterRequester.ExecuteQuery(System.String, Tweetinvi.Core.Enum.HttpMethod, System.Collections.Generic.IEnumerable`1 <Tweetinvi.Core.Interfaces.oAuth.IOAuthQueryParameter>)
09fbf2ac 0594cbd2 Tweetinvi.Credentials.TwitterAccessor.ExecuteQuery(System.String, Tweetinvi.Core.Enum.HttpMethod)
09fbf2fc 06dcd9a2 Tweetinvi.Credentials.TwitterAccessor.ExecuteGETQuery(System.String)
09fbf31c 06dcd92c Tweetinvi.Controllers.Search.SearchQueryExecutor.GetTweetDTOsFromSearch(System.String)
09fbf33c 06dcbfc7 Tweetinvi.Controllers.Search.SearchQueryExecutor.SearchTweets(Tweetinvi.Core.Interfaces.Models.Parameters.ITweetSearchParameters)
09fbf3a4 06dcbea4 Tweetinvi.Controllers.Search.SearchController.SearchTweets(Tweetinvi.Core.Interfaces.Models.Parameters.ITweetSearchParameters)
09fbf3c4 06dcbdc2 Tweetinvi.Search.SearchTweets(Tweetinvi.Core.Interfaces.Models.Parameters.ITweetSearchParameters)

Any help would be great.


Thanks. Regards.

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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