Comments (6)
When this happens nginx logs look like:
2020/11/08 01:29:00 [error] 5850#5850: *1363762 upstream timed out (110: Connection timed out) while connecting to upstream, client: 146.115.48.13, server: echo.jefftk.com, request: "GET /api/ HTTP/1.1", upstream: "http://127.0.0.1:8081/", host: "echo.jefftk.com", referrer: "https://echo.jefftk.com/"
from bucket-brigade.
I tried tracing, and if I'm reading it right it's stuck in recvfrom
:
# strace -p 16531
strace: Process 16531 attached
recvfrom(5,
from bucket-brigade.
I decided to kill it to get a backtrace:
Traceback (most recent call last):
File "./server.py", line 661, in <module>
start()
File "./server.py", line 77, in start
start_server()
File "./server.py", line 81, in start_server
server.serve_forever()
File "/usr/lib/python3.6/socketserver.py", line 241, in serve_forever
self._handle_request_noblock()
File "/usr/lib/python3.6/socketserver.py", line 320, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
self.handle()
File "/usr/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/lib/python3.6/http/server.py", line 386, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
KeyboardInterrupt
from bucket-brigade.
I wonder if this means it's trying to read from a client that has gone away or something?
from bucket-brigade.
I'm going to try uwsgi instead; no reason to have python handling HTTP directly
from bucket-brigade.
Since switching to UWSGI I haven't seen this anymore
from bucket-brigade.
Related Issues (20)
- Crash HOT 1
- add mute icon overlay
- add a more prominent "you are muted" indication
- uploaded images should persist when someone presses "seize lead"
- Add support for different users having different numbers of repeats
- GUI tweaks to make rounds easier to understand
- app crashed
- Highlight the userβs own bucket
- Mid-song crash
- Stop Singing is too aggressive
- Sometimes the lead singer becomes extremely quiet when they hit Start Singing HOT 1
- Feature request: reboot server button HOT 1
- Feature request: adjust weight of bucket #1 HOT 1
- App crashed
- Omit or discount empty recordings HOT 1
- Error: Not allowed to start ignoring input after the clock has already started!
- App crashed
- Server crash with more info
- More detail about the problems tonight HOT 3
- Issues on Linux Firefox and Chromium today HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bucket-brigade.