Created
February 10, 2019 18:26
-
-
Save abhinavsingh/b8d4266ff4f38b6057f9c50075e8cd75 to your computer and use it in GitHub Desktop.
ConnectionRefusedError during proxy.py Worker process setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process Worker-2: | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap | |
self.run() | |
File "./proxy.py", line 738, in run | |
operation, payload = self.client_queue.get(True, 1) | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/queues.py", line 113, in get | |
return _ForkingPickler.loads(res) | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/reduction.py", line 242, in _rebuild_socket | |
fd = df.detach() | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/resource_sharer.py", line 57, in detach | |
with _resource_sharer.get_connection(self._id) as conn: | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/resource_sharer.py", line 87, in get_connection | |
c = Client(address, authkey=process.current_process().authkey) | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 492, in Client | |
c = SocketClient(address) | |
File "/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/connection.py", line 619, in SocketClient | |
s.connect(address) | |
ConnectionRefusedError: [Errno 61] Connection refused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment