ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))
i am getting an error and i have tried everything i can find to fix getting the below error does any one have suggestions .
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/behave/model.py", line 1456, in run
match.run(runner.context)
File "/Library/Python/2.7/site-packages/behave/model.py", line 1903, in run
self.func(context, *args, **kwargs)
File "steps/xml.py", line 194, in step_impl
response = sess.post('{}{}'.format(context.url, path), data=ugly_data, verify=False)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 555, in post
return self.request('POST', url, data=data, json=json, **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)
ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))
请先登录再写评论。
Hi Mickey Walker! Do you face this problem when running or debugging your code? Could you please check it outside of PyCharm if possible?
I an running the code and test cases i have set up. an yes i can run it outside of pycharm with another app.