WebhookClient.deliver crashes if the endpoint times out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
William Grant |
Bug Description
I tried a webhook delivery to my ADSL (http://
ReadTimeout: HTTPConnectionP
Traceback (most recent call last):
Module lazr.jobrunner.
self.
Module lp.services.
super(
Module lazr.jobrunner.
job.run()
Module lp.services.
str(
Module lp.services.
resp = session.send(preq, proxies=proxies, timeout=timeout)
Module requests.sessions, line 573, in send
r = adapter.
Module requests.adapters, line 433, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPConnectionP
Related branches
- Colin Watson (community): Approve
-
Diff: 53 lines (+21/-2)2 files modifiedlib/lp/services/webhooks/client.py (+7/-2)
lib/lp/services/webhooks/tests/test_job.py (+14/-0)
Changed in launchpad: | |
assignee: | nobody → William Grant (wgrant) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r17707 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 17707>.