We're updating the issue view to help you get more done. 

Cannot log in to Synapse - error(54, 'Connection reset by peer')


Synapse Login failed with error 54. Seems like this is only happening for users on the east coast (tested in Chicago and Philadelphia). tested on his EC2 hosted in Oregon and it worked.

Error message is below.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 >>> import synapseclient >>> syn = synapseclient.login(silent=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.7/site-packages/synapseclient/client.py", line 160, in login syn = Synapse() File "/Library/Python/2.7/site-packages/synapseclient/client.py", line 212, in __init__ self.setEndpoints(repoEndpoint, authEndpoint, fileHandleEndpoint, portalEndpoint, skip_checks) File "/Library/Python/2.7/site-packages/synapseclient/client.py", line 301, in setEndpoints response = self._requests_session.get(endpoints[point], allow_redirects=False, headers=synapseclient.USER_AGENT) File "/Library/Python/2.7/site-packages/requests/sessions.py", line 521, in get return self.request('GET', url, **kwargs) File "/Library/Python/2.7/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/Library/Python/2.7/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/Library/Python/2.7/site-packages/requests/adapters.py", line 490, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))


Synapse version - 1.8.1



Ziming Dong


Xindi Guo


Thomas Yu

Fix versions