[volunteergrid2-l] CLI issues: connection refused

erpo41 at gmail.com erpo41 at gmail.com
Thu Apr 12 00:05:53 UTC 2012


Hi all,

I found the solution in case anyone had the same problem. The issue
was that I was running tahoe on a dedicated server and had changed the
listening address from 127.0.0.1:3456 to 192.168.1.10:3456. What I
didn't realize was that the tahoe client does not read
~/.tahoe/tahoe.cfg and the server was *only* listening on 192.168.1.10
(i.e. not 127.0.0.1).

The solution was to edit node.url to point to 192.168.1.10:3456.

Thanks,
Eric


On Sun, Apr 8, 2012 at 3:59 PM, erpo41 at gmail.com <erpo41 at gmail.com> wrote:
> Hi all,
>
> This is what happens when I run the tahoe client.
>
> volunteergrid2 at io:~$ tahoe ls
> Traceback (most recent call last):
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/support/bin/tahoe",
> line 9, in <module>
>    load_entry_point('allmydata-tahoe==1.9.1', 'console_scripts', 'tahoe')()
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/src/allmydata/scripts/runner.py",
> line 113, in run
>    rc = runner(sys.argv[1:], install_node_control=install_node_control)
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/src/allmydata/scripts/runner.py",
> line 99, in runner
>    rc = cli.dispatch[command](so)
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/src/allmydata/scripts/cli.py",
> line 522, in list
>    rc = tahoe_ls.list(options)
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/src/allmydata/scripts/tahoe_ls.py",
> line 31, in list
>    resp = do_http("GET", url)
>  File "/home/volunteergrid2/allmydata-tahoe-1.9.1/src/allmydata/scripts/common_http.py",
> line 60, in do_http
>    c.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 716, in connect
>    self.timeout)
>  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
>    raise error, msg
> socket.error: [Errno 111] Connection refused
> volunteergrid2 at io:~$
>
> Any idea what's going on? The web interface seems to work...
>
> Thanks,
> Eric


More information about the volunteergrid2-l mailing list