Hi,

For help with the Contacts API please take a look at the Contacts
forum:

http://groups.google.com/group/google-contacts-api

However, it sounds like you're behind some kind of proxy server/
firewall that is blocking your traffic. How did you set up the proxy?
Did you follow the wiki page on the project site?

http://code.google.com/p/google-gdata/wiki/WebProxySetup

Cheers,
-Jeff

On Oct 6, 2:01 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wrote code for getting Gmail contacts from .NET 3.5 with Contacts
> Data API.
>
> Here is code snippet for that
>
> string authSubUrl = AuthSubUtil.getRequestUrl("http://localhost:1949/
> default.aspx", "http://www.google.com/m8/feeds/contacts";, false,
> true);
>
>             //GAuthSubRequestFactory authFactory = new
> GAuthSubRequestFactory("c1", "GmailContacts");
>
>             ContactsService service = new
> ContactsService("GmailContacts");
>             service.setUserCredentials("[EMAIL PROTECTED]", "password");
>
>             ContactsQuery query = new
> ContactsQuery(ContactsQuery.CreateContactsUri("default"));
>
>             query.StartDate = new DateTime(2008, 1, 1);
>
>             ContactsFeed feed = service.Query(query);
>
>             foreach (ContactEntry entry in feed.Entries)
>             {
>                 Response.Write("Event: " + entry.Title.Text + "<br/>");
>
>             }
>
> I am getting problem at            ContactsFeed feed =
> service.Query(query);
>
> Error Description in code :
>
> Execution of request 
> failed:http://www.google.com/m8/feeds/contacts/default/full?updated-min=2008...
>
> Error Description on browser:
>
> A connection attempt failed because the connected party did not
> properly respond after a period of time, or established connection
> failed because connected host has failed to respond 209.85.165.104:80
>
> I downloaded Google Data API Samples from Google code, I tried to run
> Calendar and Documents, I am getting the error as “Error logging into
> Google Docs: Execution of request 
> failed:http://docs.google.com/feeds/documents/private/full?max-results=1”. I
> guess this could be a fire wall problem, Can you help out me on
> running this application with firewall settings. I tried with
> WebProxy , still I am getting same problem.
>
> I ran other examples by creating a webproxy, still same problem
> getting .
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to