vj57 / googlecl

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

Authentication problem #296

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.google calendar today
2.
3.

What is the expected output? What do you see instead?
I was hoping to see an output that looked more like a <time>:<schedule>.
What I saw instead was: socket.error: [Errno 111] Connection refused

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
google cl version: 0.9.10. Operating Sys: Ubuntu 10.04
python-gdata version: 1.2.4-0ubuntu2 (which appears to be the latest)

Please provide any additional information below.
I am also appending the Traceback output:
File "/usr/bin/google", line 676, in <module>
    main()
  File "/usr/bin/google", line 662, in main
    run_once(options, args)
  File "/usr/bin/google", line 488, in run_once
    success = authenticate(service, client, options.hostid)
  File "/usr/bin/google", line 107, in authenticate
    if client.RequestAccess(domain, hostid):
  File "/usr/lib/pymodules/python2.6/googlecl/service.py", line 77, in request_access
    extra_parameters=fetch_params)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 403, in FetchOAuthRequestToken
    response = self.http_client.request('GET', str(request_token_url))
  File "/usr/lib/pymodules/python2.6/atom/http.py", line 135, in request
    connection.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 1108, in connect
    sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
    raise error, msg
socket.error: [Errno 111] Connection refused

Original issue reported on code.google.com by apurv...@gmail.com on 24 Sep 2010 at 6:10

GoogleCodeExporter commented 9 years ago
gdata 1.2.4 is the latest that was packaged for Ubuntu, but the actual latest 
version is 2.0.12. You should be alright with 1.2.4 for most of the features, 
though.

That's a very low-level error. Are you behind a proxy? If so, check 
http://code.google.com/p/googlecl/wiki/FAQ#Won't_work_from_behind_a_proxy

Original comment by tom.h.mi...@gmail.com on 24 Sep 2010 at 6:24