-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
**Exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))** happens 2 out of 5 times #179
Comments
There is no known current issue with generalized dropping connections from Rally WSAPI requests. Are you using an HTTP/HTTPS proxy server? Many times when there is an inability to connect, or experiencing dropped connections there is a network proxy in the mix. When did this behavior start? Does it only occur in specific time periods? What is the frequency of the operation? (Is your script run every day, or hour or minute?). Did the host that you normally run the script on get updated with any OS elements or Python packages? Are you able to run the script using a different set of credentials or targeting alternate workspace/project? |
Hi Kip,
Thanks, |
It sounds like proxy issues are the culprit rather that time-of-day, frequency, etc. |
From Stackoverflow, check out the solution, and please, take some medicine before checking the solution. The problem occurs with the proxy and it's the problem of the urllib3 connectionpool. |
I run a script daily and Rally connection (this statement) fails 2 out of 5 times weekly with below error
Statement - rally = Rally(server, apikey=apikey, workspace=workspace, project=project)
Traceback (most recent call last):
File "C:\python\lib\site-packages\pyral\restapi.py", line 249, in init
self.contextHelper.check(self.server, wksp, proj, self.isolated_workspace)
File "C:\python\lib\site-packages\pyral\context.py", line 162, in check
subscription = self._loadSubscription()
File "C:\python\lib\site-packages\pyral\context.py", line 287, in _loadSubscription
raise Exception(sub.errors[0])
Exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
I have not figured a permanent solution. The workaround is I just try again after sometime and it works. Looking for some guidance. Anything would be appreciated @klehman-rally Thanks!
The text was updated successfully, but these errors were encountered: