salimoha / googlecl

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

error 10061 Connection refused #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I can't upload a doc or a photo

What is the expected output? What do you see instead?

> docs upload README.txt
Traceback (most recent call last):
  File "google", line 278, in run_interactive
  File "google", line 371, in run_once
  File "googlecl\docs\service.pyo", line 256, in is_token_valid
  File "googlecl\service.pyo", line 257, in is_token_valid
  File "gdata\service.pyo", line 1069, in Get
  File "atom\__init__.pyo", line 93, in optional_warn_function
  File "atom\service.pyo", line 186, in request
  File "gdata\auth.pyo", line 868, in perform_request
  File "atom\http.pyo", line 163, in request
  File "httplib.pyo", line 860, in endheaders
  File "httplib.pyo", line 732, in _send_output
  File "httplib.pyo", line 699, in send
  File "httplib.pyo", line 683, in connect
error: (10061, 'Connection refused')

> picasa post ../mel.jpg
Please specify title: micio
Traceback (most recent call last):
  File "google", line 278, in run_interactive
  File "google", line 371, in run_once
  File "googlecl\picasa\service.pyo", line 218, in is_token_valid
  File "googlecl\service.pyo", line 257, in is_token_valid
  File "gdata\service.pyo", line 1069, in Get
  File "atom\__init__.pyo", line 93, in optional_warn_function
  File "atom\service.pyo", line 186, in request
  File "gdata\auth.pyo", line 868, in perform_request
  File "atom\http.pyo", line 163, in request
  File "httplib.pyo", line 860, in endheaders
  File "httplib.pyo", line 732, in _send_output
  File "httplib.pyo", line 699, in send
  File "httplib.pyo", line 683, in connect
error: (10061, 'Connection refused')

What version of the product are you using? On what operating system? What
version of gdata-python-client (aka python-gdata)?

last windows binary
http://code.google.com/p/googlecl/downloads/detail?name=googlecl-0.9.8.zip&can=2
&q=

Original issue reported on code.google.com by infrid.p...@gmail.com on 10 Jul 2010 at 9:22

GoogleCodeExporter commented 9 years ago
I use windows 7 Professional...

Original comment by infrid.p...@gmail.com on 10 Jul 2010 at 9:23

GoogleCodeExporter commented 9 years ago
Does this error happen every time you try to connect? Are you sure that you can 
log on to Picasa or Docs? Are you behind a proxy or on a virtual machine or 
have any kind of strange network setup?

Original comment by tom.h.mi...@gmail.com on 10 Jul 2010 at 12:55

GoogleCodeExporter commented 9 years ago
yes, it happens every time.
i connect trough my router, on linux (ArchLinux) googlecl works fine width the 
same network configuration.

> Are you sure that you can log on to Picasa or Docs?
do you mean by web browser?

Original comment by infrid.p...@gmail.com on 10 Jul 2010 at 1:25

GoogleCodeExporter commented 9 years ago
Windows XP, all services return like:

Traceback (most recent call last):
  File "google", line 278, in run_interactive
  File "google", line 371, in run_once
  File "googlecl\youtube\service.pyo", line 86, in is_token_valid
  File "googlecl\service.pyo", line 257, in is_token_valid
  File "gdata\service.pyo", line 1069, in Get
  File "atom\__init__.pyo", line 93, in optional_warn_function
  File "atom\service.pyo", line 186, in request
  File "gdata\auth.pyo", line 868, in perform_request
  File "atom\http.pyo", line 163, in request
  File "httplib.pyo", line 860, in endheaders
  File "httplib.pyo", line 732, in _send_output
  File "httplib.pyo", line 699, in send
  File "httplib.pyo", line 683, in connect
error: (10061, 'Connection refused')

Original comment by Esa.li...@gmail.com on 30 Jul 2010 at 1:13

GoogleCodeExporter commented 9 years ago
Got googlecl working in Windows XP. I had a proxy setting like:

http_proxy=host:port

and changeit it to:

http_proxy=http://host:port

The first version worked ok with wget etc so I didn't suspect it at all.

Original comment by Esa.li...@gmail.com on 30 Jul 2010 at 1:52

GoogleCodeExporter commented 9 years ago
This solution agrees with the other proxy errors people have had. infrid.post, 
could you try this and report back? Thanks.

Original comment by tom.h.mi...@gmail.com on 30 Jul 2010 at 5:34

GoogleCodeExporter commented 9 years ago
yes, it works now. It was that environment variable set incorrectly, i use it 
only for wget sometime. I forgot its existence in my system!

sorry...

thanks anyway! :)

Original comment by infrid.p...@gmail.com on 30 Jul 2010 at 6:36

GoogleCodeExporter commented 9 years ago
Ah! Thanks for letting me know, and thanks to Esa.lippu for the solution.

Original comment by tom.h.mi...@gmail.com on 30 Jul 2010 at 8:32