Merge lp:~mterry/ubuntuone-couch/longer-timeout into lp:ubuntuone-couch
Proposed by
Michael Terry
Status: | Merged |
---|---|
Approved by: | dobey |
Approved revision: | 9 |
Merged at revision: | 9 |
Proposed branch: | lp:~mterry/ubuntuone-couch/longer-timeout |
Merge into: | lp:ubuntuone-couch |
Diff against target: |
11 lines (+1/-1) 1 file modified
ubuntuone/couch/auth.py (+1/-1) |
To merge this branch: | bzr merge lp:~mterry/ubuntuone-couch/longer-timeout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dobey (community) | Approve | ||
Eric Casteleijn (community) | Approve | ||
Review via email: mp+61993@code.launchpad.net |
Commit message
Increase httplib2 timeout to 10 seconds
Description of the change
Once the fix for bug 784710 is merged, one can use auth.request for PUT requests. But the Ubuntu One file service always seems to time out using the default timeout value.
That is, the files get to the server alright and are visible, but SSL times out waiting for the response from the server. It always gives a "ssl.SSLError: The read operation timed out" message.
I've found that increasing the timeout to 10 reliably avoids that error for me. With the default timeout, I always hit the error.
To post a comment you must log in.
Would be happy to accept this, but the diff shows a conflict, likely because the other branch was already merged. Could you pull again/remerge trunk, and push again?