Hi Salil,

Are you behind a proxy server? Usually when there is trouble
connecting to the authentication servers it is due to a corporate
firewall prohibiting secure traffic that isn't being proxied.

Cheers,
-Jeff

On Feb 8, 1:00 pm, salil <[EMAIL PROTECTED]> wrote:
> I am trying to execute the sample Hello World code located at: (Python
> Client)http://code.google.com/support/bin/answer.py?answer=75582&topic=12022...
>
> However, I am getting a connection timeout error after:
>
> 1 import gdata.docs.service
>
> 2 c = gdata.docs.service.DocsService()
>
> 3 c.ClientLogin("[EMAIL PROTECTED]", "password")
>
> Here is the stack trace for the error:
>
> Traceback (most recent call last):
>   File "<pyshell#15>", line 1, in <module>
>     c.ClientLogin("[EMAIL PROTECTED]", "")
>   File "C:\gdata.py-1.0.10.1\src\gdata\service.py", line 348, in
> ClientLogin
>     self.ProgrammaticLogin(captcha_token, captcha_response)
>   File "C:\gdata.py-1.0.10.1\src\gdata\service.py", line 289, in
> ProgrammaticLogin
>     auth_connection.endheaders()
>   File "C:\Python25\lib\httplib.py", line 856, in endheaders
>     self._send_output()
>   File "C:\Python25\lib\httplib.py", line 728, in _send_output
>     self.send(msg)
>   File "C:\Python25\lib\httplib.py", line 695, in send
>     self.connect()
>   File "C:\Python25\lib\httplib.py", line 1130, in connect
>     sock.connect((self.host, self.port))
>   File "<string>", line 1, in connect
> error: (10060, 'Operation timed out')
>
> Has anybody encountered or resolved this issue before? I am using the
> latest version.
>
> Thanks,
> Salil.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" 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