We encounter regular hangs when doing queries to shotgun. Those hangs are not systematic but appear relatively frequently.
While doing my research, I could figure out that ssl is waiting for an answer and nothing happens for a while. For test reasons, we did wait to see if something happens at some point. And indeed, we had cases where we got the results and the tools continue to run as expected, it only took hours or entire nights to get the result.
I’m not sure if there is anything in-house configuration that could have an effect on this matter or if I could change this behavior by tweaking the retry times and timeout duration that are set in the shotgun config class.
I see that 3000 milliseconds is the default for the automatic retry time and nothing is set for the httplib2 timeout duration. I’m just playing around with different values to see what impact that has on our tools. I used multiple values and went down to ridiculus values like 10 milliseconds for the retry time and 0.05 timeout duration. But I could not see any effect on the behavior on our tools. With such small values, I would expect more retries and errors due to too long response time at some point, or our connection to shotgun is incredibly fast.
Can anyone give me some hints about those configurations and do you already have played around with different values and for what reason and with what effect?
Thanks for any input.