anasAsh / googlecl

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

"Connection reset by peer" after entering my username #550

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run any command, it will ask for user name
2. i enter my username, hit enter and immediately get an error

What is the expected output? What do you see instead?
I expected to see a request for my password, then after that I expect to see 
the output of my request. 

This is what I get:

Traceback (most recent call last):
  File "/usr/bin/google", line 849, in <module>
    main()
  File "/usr/bin/google", line 835, in main
    run_once(options, args)
  File "/usr/bin/google", line 615, in run_once
    authenticated = authenticate(auth_manager, options, config, section_header)
  File "/usr/bin/google", line 106, in authenticate
    valid_token = auth_manager.check_access_token()
  File "/usr/lib/pymodules/python2.7/googlecl/authentication.py", line 58, in check_access_token
    token_valid = self.client.IsTokenValid()
  File "/usr/lib/pymodules/python2.7/googlecl/calendar/service.py", line 376, in is_token_valid
    return googlecl.service.BaseServiceCL.IsTokenValid(self, test_uri)
  File "/usr/lib/pymodules/python2.7/googlecl/base.py", line 328, in is_token_valid
    self.Get(test_uri)
  File "/usr/lib/pymodules/python2.7/googlecl/service.py", line 59, in retry_get
    return self.retry_operation(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/googlecl/base.py", line 387, in retry_operation
    raise unexpected
socket.error: [Errno 104] Connection reset by peer

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?
Ubuntu Server - 12.04 (completely up to date)
googlecl - 0.9.13.-1.1, I have also tried with 0.9.14.2
python-gdata - 2.0.17-1
python - 2.7.3

Please provide any additional information below.

Original issue reported on code.google.com by m...@soddengecko.com on 25 Jan 2014 at 11:13