Connection reset by peer after ~5 seconds
crdoconnor opened this issue · comments
Colm O'Connor commented
Initially the server runs fine but I get a connection reset by peer whenever I refresh a page on the server:
Traceback (most recent call last):
File "/bin/uwsgitop", line 167, in <module>
js = r.read().decode('utf8', 'ignore')
File "/usr/lib64/python2.7/socket.py", line 351, in read
data = self._sock.recv(rbufsize)
File "/usr/lib64/python2.7/httplib.py", line 602, in read
s = self.fp.read(amt)
File "/usr/lib64/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
error: [Errno 104] Connection reset by peer
uwsgi version 2.0.14
python version 2.7.5
All running on CentOS 7.2.1511 (Core)
Colm O'Connor commented
Problem caused by not running uwsgi with --stats-http switch in the end.