forked from mutantmonkey/phenny
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugcrucialThings that are crucial (must be fixed within a couple days)Things that are crucial (must be fixed within a couple days)modulesspontaneous-crashThings pertaining to begiak's annoying spontaneous crashes and part/rejoin cyclesThings pertaining to begiak's annoying spontaneous crashes and part/rejoin cycles
Description
Sometimes the git module becomes unstable or something.
Then begiak tries to restart, but gets this error and tries to restart again:
ERROR: Traceback (most recent call last):
File "/home/begiak/phenny/bot.py", line 250, in call
rephrase_errors(func, phenny, input)
File "/home/begiak/phenny/tools.py", line 223, in rephrase_errors
return fn(*args, **kw)
File "/home/begiak/phenny/modules/git.py", line 450, in auto_start
setup_server(phenny)
File "/home/begiak/phenny/modules/git.py", line 439, in setup_server
httpd = PortReuseTCPServer(("", PORT), MyHandler)
File "/usr/lib/python3.5/socketserver.py", line 440, in __init__
self.server_bind()
File "/home/begiak/phenny/tools.py", line 123, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
This results in a whole bunch of join/part cycles as begiak repeatedly restarts for ages.
Right before the join/part cycles we get this in the logs:
140.82.115.250 - - [26/Nov/2020 10:34:03] "POST / HTTP/1.1" 200 -
DEBUG: responded '200' in 0.01s
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request
self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
DEBUG: payload received; headers: Host: apertium.vm.bytemark.co.uk:1234
User-Agent: GitHub-Hookshot/8338482
Content-Length: 11214
Accept: */*
X-GitHub-Delivery: 3f6a6bd6-2fd4-11eb-85a5-5719ec140414
X-GitHub-Event: push
X-GitHub-Hook-ID: 3722902
X-GitHub-Hook-Installation-Target-ID: 4594256
X-GitHub-Hook-Installation-Target-Type: organization
content-type: application/x-www-form-urlencoded
Connection: close
140.82.115.250 - - [26/Nov/2020 10:43:41] "POST / HTTP/1.1" 200 -
DEBUG: responded '200' in 0.00s
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request
self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
198.181.163.173 - - [26/Nov/2020 10:54:45] code 400, message Bad request syntax ('\x03\x00\x00\x13\x0eà\x00\x00\x00\x
00\x00\x01\x00\x08\x00\x03\x00\x00\x00')
198.181.163.173 - - [26/Nov/2020 10:54:45] "^C^@^@^S^Nà^@^@^@^@^@^A^@^H^@^C^@^@^@" 400 -
DEBUG: payload received; headers: Host: apertium.vm.bytemark.co.uk:1234
User-Agent: GitHub-Hookshot/8338482
Content-Length: 14051
Accept: */*
X-GitHub-Delivery: e0b2dd10-2fd5-11eb-908a-48df9218dcc6
X-GitHub-Event: issue_comment
X-GitHub-Hook-ID: 3722902
X-GitHub-Hook-Installation-Target-ID: 4594256
X-GitHub-Hook-Installation-Target-Type: organization
content-type: application/x-www-form-urlencoded
Connection: close
140.82.115.149 - - [26/Nov/2020 10:55:21] "POST / HTTP/1.1" 200 -
DEBUG: responded '200' in 0.08s
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request
self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
DEBUG: payload received; headers: Host: apertium.vm.bytemark.co.uk:1234
User-Agent: GitHub-Hookshot/8338482
Content-Length: 15943
Accept: */*
X-GitHub-Delivery: 12303fa0-2fda-11eb-9e1e-0a8c7bc8468e
X-GitHub-Event: fork
X-GitHub-Hook-ID: 3722902
X-GitHub-Hook-Installation-Target-ID: 4594256
X-GitHub-Hook-Installation-Target-Type: organization
content-type: application/x-www-form-urlencoded
Connection: close
140.82.115.244 - - [26/Nov/2020 11:25:22] "POST / HTTP/1.1" 200 -
DEBUG: responded '200' in 0.08s
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request
self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
DEBUG: payload received; headers: Host: apertium.vm.bytemark.co.uk:1234
User-Agent: GitHub-Hookshot/8338482
Content-Length: 12036
Accept: */*
X-GitHub-Delivery: 23a046b6-2fdc-11eb-9efd-f4be5401fa98
X-GitHub-Event: push
X-GitHub-Hook-ID: 3722902
X-GitHub-Hook-Installation-Target-ID: 4594256
X-GitHub-Hook-Installation-Target-Type: organization
content-type: application/x-www-form-urlencoded
Connection: close
140.82.115.149 - - [26/Nov/2020 11:40:10] "POST / HTTP/1.1" 200 -
DEBUG: responded '200' in 0.01s
Traceback (most recent call last):
File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 341, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
self.handle()
File "/usr/lib/python3.5/http/server.py", line 422, in handle
self.handle_one_request()
File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request
self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
INFO: Nobody PONGed our PING, restarting
INFO: Closed!
WARNING: Disconnected. Reconnecting in 20 seconds...
INFO: Setting up phenny
Metadata
Metadata
Assignees
Labels
bugcrucialThings that are crucial (must be fixed within a couple days)Things that are crucial (must be fixed within a couple days)modulesspontaneous-crashThings pertaining to begiak's annoying spontaneous crashes and part/rejoin cyclesThings pertaining to begiak's annoying spontaneous crashes and part/rejoin cycles