Comments (4)
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?
from rallyresttoolkitforpython.
Hi Kip,
Thank you for so much for taking your time to review issue I reported and sharing your thoughts. Yes, there is an HTTP/HTTPS proxy server and I am suspecting that as well. When I run the same from my machine (behind firewall, VPN connected), it works 100% of the time because outgoing connections are allowed. When I run the same from host - a windows server on network (also behind firewall & uses proxy), it works sometimes and sometimes it does not (If it didn't work 100% of time from host, then for sure there is some host/network issue).
With respect to other things,
- Script runs once a day on weekdays, if it is fails, I manually run until it is successful.
- I don't think OS got updated (or I may be unaware) because it was not working, I updated pyral to latest version (but again same result before and after update).
- I can try running with diff set of credentials/workspace and see but not sure if that would be issue since I would expect a different kind of error related to credentials or workspace if that is the issue unless the generic connection error is always through.
- I believe this intermittent issue has always been there. I used to just retry after 2-3 min and it used to work. Of late, it didn't work even after trying 5 times, I wait for few hours and try, again it is not consistent.
Thanks,
Raghu
from rallyresttoolkitforpython.
It sounds like proxy issues are the culprit rather that time-of-day, frequency, etc.
What HTTP/HTTPS proxy software/package is being used (and on what kind of platform)?
The testing I've done for releases since 2018 was limited to Squid proxy on Mac OSX and a Python hybrid on Linux (Ubuntu 18). Prior releases were run against a proxy on a Linux server (don't remember the distro/version and also don't know what proxy sw or version) and at times that used to have some failures when the proxy got into a bad state. The issue might be addressed by putting logic in pyral to retry some number of times when use of a proxy is detected, but I don't foresee doing that any time soon. Chasing down the proxy issues might be your better option.
from rallyresttoolkitforpython.
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.
from rallyresttoolkitforpython.
Related Issues (20)
- 'RallyRESTResponse' object has no attribute 'ref' HOT 2
- Error trying to add a feature to collection (milestone) HOT 1
- First python example in the Simple Use section of overview.rst has a bug HOT 2
- How can we override "User" name in "Revision History" in case we are using service account API key of Rally? HOT 2
- I can not connect to rally when I'm using VPN HOT 4
- getAllUsers() is broken HOT 4
- Project is required when I tried to query through Pyral. However, Project is not required in Rally REST API. HOT 2
- ReleasedBy value of a UserStory is always Null HOT 5
- How to directly extract all attributes from a single pyral.entity.Defect? HOT 5
- How to get `_refObjectUUID` for a <pyral.entity.RevisionHistory>? HOT 1
- Will pyral support using multiple users? HOT 2
- Please do not call socket.setdefaulttimeout()
- Pyral returns incorrect results for ConversationPosts sometimes
- Milestones returns empty list if accessed from a Feature that was accessed from a UserStory that had "Milestones" in its fetch params. HOT 2
- Pyral: AttributeError: PortfolioItem instance has no attribute: '_generateRallyCompliance__collection_ref_for_UserStories' HOT 1
- Unable to update/Post milestone to a userStory
- getAttachments() - 'bytes' object has no attribute 'oid' error
- Should throw error/warning when start > MAX_SIZE
- MAX_ITEMS 1M value can be insufficient for large objects like ConversationPost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rallyresttoolkitforpython.