Я проверил саранчу локально, и она работает отлично.Но когда я запускаю Locust на сервере в приложении django, он не запускается.Это ошибка, которую выдает мне, когда я вызываю нагрузочный тест: -
Traceback (most recent call last): File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
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 "/var/www/html/venv/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 169, in handle
self.handle_one_request() File "/var/www/html/venv/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 179, in handle_one_request
self.raw_requestline = self.rfile.readline(65537) File "/usr/lib/python3.5/socket.py", line 575, in readinto
return self._sock.recv_into(b) File "/var/www/html/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 384, in recv_into
self._wait(self._read_event) File "/var/www/html/venv/lib/python3.5/site-packages/gevent/_socket3.py", line 156, in _wait
self.hub.wait(watcher) File "/var/www/html/venv/lib/python3.5/site-packages/gevent/hub.py", line 652, in wait
result = waiter.get() File "/var/www/html/venv/lib/python3.5/site-packages/gevent/hub.py", line 899, in get
return self.hub.switch() File "/var/www/html/venv/lib/python3.5/site-packages/gevent/hub.py", line 631, in switch
return RawGreenlet.switch(self) gevent.hub.LoopExit: ('This operation would block forever', <Hub at 0x7fbcb81242a8 epoll pending=0 ref=0 fileno=1)
Может кто-нибудь сказать мне, как решить эту ошибку.