hoangduit / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

timeouts when calling the Query() method #381

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I'm trying to get analytics data using the API. First thing I do, is to
authenticate but it's ALWAYS timing out :

 string userName = "my google login";
 string passWord = "my google password";
 const string dataFeedUrl = "https://www.google.com/analytics/feeds/data";
 AccountQuery query = new AccountQuery();
 AnalyticsService service = new AnalyticsService("AnalyticsSampleApp");
 if (!string.IsNullOrEmpty(userName))
 {
   service.setUserCredentials(userName, passWord);
 }

 AccountFeed accountFeed = service.Query(query);

The above call times out.
What am I doing wrong ?

thanks

Original issue reported on code.google.com by samuelbe...@googlemail.com on 10 May 2010 at 12:37

GoogleCodeExporter commented 9 years ago
Good question. Is this really a "server side timeout" ? How does the HTTP 
response
look like? (try fiddler2 to capture the traffic). 

If it is a server timeout, you should report this to the analytics forum. If it 
is a
client timeout, try increasing the timeout settings on the requestfactory.

Report back with your findings.

Original comment by test.fma...@googlemail.com on 17 May 2010 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by fman...@gmail.com on 25 May 2010 at 8:29