Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hjoin (Python) crashes if it can't talk to hatcogd (Go) #12

Open
grahamking opened this issue Sep 8, 2012 · 1 comment
Open

hjoin (Python) crashes if it can't talk to hatcogd (Go) #12

grahamking opened this issue Sep 8, 2012 · 1 comment

Comments

@grahamking
Copy link
Owner

If hjoin can't connect to hatcogd, it can segfault (yes the Python part seg faults). Stack trace in log is:

2012-09-04 09:31:45,652 INFO: Connecting to daemon
2012-09-04 09:31:45,659 ERROR: Could not connect
Traceback (most recent call last):
File "/usr/local/lib/python3.2/dist-packages/hatcog-0.9-py3.2.egg/hjoin/hjoin.py", line 606, in get_daemon_connection
    sock = socket.create_connection((host.encode("utf8"), int(port)))
File "/usr/lib/python3.2/socket.py", line 404, in create_connection
    raise err
File "/usr/lib/python3.2/socket.py", line 395, in create_connection
    sock.connect(sa)
socket.error: [Errno 111] Connection refused
2012-09-04 09:31:45,662 DEBUG: Starting daemon: start-stop-daemon --start --background --exec /usr/local/bin/hatcogd-64 -- -host=127.0.0.1 -port=8790 --logdir /home/graham/.hatcog/
@grahamking
Copy link
Owner Author

server.log prints: Error connecting to IRC server:dial tcp 193.219.128.49:6697: connection timed out

I think this is same problem. Server might not be accepting client connections until it has an IRC server connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant