PhotoURI download times out a lot

7 views
Skip to first unread message

milowg

unread,
Oct 19, 2008, 7:51:05 PM10/19/08
to Google Contacts API
I am using the .NET API to connect to Google in order to synchronize
contacts.

The problem I am having is sometimes when I make a call to get a
picture using the PhotoURI the call times out and I cannot retreive
the picture.

Just for information, I am using a full feed.

Has anyone else seen this? Is there anything I can try?
Thanks!

Trevor Johns

unread,
Oct 19, 2008, 9:25:19 PM10/19/08
to google-co...@googlegroups.com

I haven't seen this behavior.

How often do you experience it? Any specific patterns that you've noticed?

If this issue persists, please create an HTTP transcript using the
instructions here:

http://code.google.com/apis/gdata/articles/wireshark.html
http://code.google.com/apis/gdata/articles/debugging_client_libs.html

and then file a protocol defect report here, including the transcript
you generated:

http://code.google.com/p/gdata-issues/issues/entry

--
Trevor Johns

milowg

unread,
Oct 21, 2008, 12:28:19 AM10/21/08
to Google Contacts API
Well, the pattern is that this occurs for images that I have uploaded
through the API using the PhotoEditURI link.

I tried two things, as per your request: one is to use the logging
class for the .NET API (GDataLoggingRequestFactory) and the other is
to capture the data using Wireshark.

When switching over to use the logging factory, there is a bug in the
Execute function (logrequest.cs) which throws a null reference
exception. The exception thrown before the error is
[System.Net.WebException] = {"The operation has timed-out."}

Wireshark shows no data, just a few TCP ACKs and FINs with no payload.
I have uploaded the pcap file to gdata-issues, but for now I will use
the logging factory.

If I retry the call, sometimes it will work and sometimes it won't.
Does that help define the problem better?

Frank Mantek

unread,
Oct 27, 2008, 5:48:24 AM10/27/08
to google-co...@googlegroups.com
I assume you are using some older .NET library. The null reference
exception (at least on like it ::) was fixed a while ago exactly
because Kulvindher reported it using the contacts pictures....

Frank

milowg

unread,
Nov 14, 2008, 12:19:19 AM11/14/08
to Google Contacts API
I grabbed the latest .NET library (1.2.3.0) and it does indeed fix
this problem.
Thanks!
Reply all
Reply to author
Forward
0 new messages