Closed takenek closed 1 year ago
This is a duplicate of: https://github.com/knrd1/chatgpt/issues/3 Error handling to be implemented
Hey Problem still exist i just pull new version and get same error but other line:
root@radvd:~/chatgpt# python3 chatgpt.py
Traceback (most recent call last):
File "/root/chatgpt/chatgpt.py", line 28, in
Best Regards TaKeN
And problem still exist:
root@radvd:~/chatgpt# python3 chatgpt.py
connecting to:irc.wroclaw.pl
connected to:irc.wroclaw.pl
Traceback (most recent call last):
File "/root/chatgpt/chatgpt.py", line 37, in <module>
message = irc.recv(2048).decode("UTF-8")
ConnectionResetError: [Errno 104] Connection reset by peer
root@radvd:~/chatgpt#
As discussed, I'm unable to reproduce this error.
Looks like certain conditions must be met to get this error, e.g: port 113 is blocked using DROP rule (Not REJECT).
Also, it's intermittent, doesn't happen always, even if the condition is met.
Closing, this won't be "fixed".
I just run a bot and it's crash. Please add handling for error:
root@radvd:~/chatgpt# ./chatgpt.py Traceback (most recent call last): File "/root/chatgpt/./chatgpt.py", line 25, in
message = irc.recv(2048).decode("UTF-8")
ConnectionResetError: [Errno 104] Connection reset by peer