[tahoe-dev] cryptic socket .error

erpo41 at gmail.com erpo41 at gmail.com
Mon Jul 30 02:55:03 UTC 2012


Is node.url in the ~/.tahoe directory pointed at http://127.0.0.1:3456/? Is
the server running and listening on port 3456?

Also, for security, it's a good idea to create a user just for running
tahoe instead of running it as root.

On Sun, Jul 29, 2012 at 5:28 PM, Two Spirit <twospirit6905 at gmail.com> wrote:

> I need help to get more debugging messages. It was working a while ago.
> got the web interface to work
> on port 3456 (idiot me, bound to localhost) then I went back to the
> command line and it stopped.
> I tried stopping and restarting the node, but that didn't help any. I
> don't know what happened to my
> data or what socket I'm having connection problems with.
>
> root:~/.tahoe# tahoe ls tahoe:
> Traceback (most recent call last):
>   File "/usr/bin/tahoe", line 3, in <module>
>     runner.run()
>   File "/usr/lib/pymodules/python2.7/allmydata/scripts/runner.py", line
> 113, in run
>     rc = runner(sys.argv[1:], install_node_control=install_node_control)
>   File "/usr/lib/pymodules/python2.7/allmydata/scripts/runner.py", line
> 99, in runner
>     rc = cli.dispatch[command](so)
>   File "/usr/lib/pymodules/python2.7/allmydata/scripts/cli.py", line 496,
> in list
>     rc = tahoe_ls.list(options)
>   File "/usr/lib/pymodules/python2.7/allmydata/scripts/tahoe_ls.py", line
> 31, in list
>     resp = do_http("GET", url)
>   File "/usr/lib/pymodules/python2.7/allmydata/scripts/common_http.py",
> line 60, in do_http
>     c.endheaders()
>   File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
>     self._send_output(message_body)
>   File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
>     self.send(msg)
>   File "/usr/lib/python2.7/httplib.py", line 776, in send
>     self.connect()
>   File "/usr/lib/python2.7/httplib.py", line 757, in connect
>     self.timeout, self.source_address)
>   File "/usr/lib/python2.7/socket.py", line 571, in create_connection
>     raise err
> socket.error: [Errno 111] Connection refused
> root:~/.tahoe# ^C
> root:~/.tahoe#
>
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20120729/a4580287/attachment.html>


More information about the tahoe-dev mailing list