Closed Bug 1498206 (bmo-mojo-useragent-1) Opened 6 years ago Closed 6 years ago

Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

References

Details

Attachments

(1 file)

This morning phabbugz was unhappy. {"Fields":{"msg":"Reason: select failed:\n","var_reason":"select failed: "},"Hostname":"ip-172-31-5-14.us-west-2.compute.internal","Logger":"STDERR","Pid":"8","Type":"Bugzilla.Extension.PhabBugz.Feed","Timestamp":1539254732000000000,"EnvVersion":2,"Severity":0} {"Fields":{"msg":"Timeout reached"},"Hostname":"ip-172-31-5-14.us-west-2.compute.internal","Logger":"STDERR","Pid":"8","Type":"Bugzilla.Extension.PhabBugz.Feed","Timestamp":1539254732000000000,"EnvVersion":2,"Severity":0} The timeout the re-occured but without any preceeding error: {"Fields":{"msg":"Timeout reached"},"Hostname":"ip-172-31-5-14","Logger":"STDERR","Pid":"8","Type":"Bugzilla.Extension.PhabBugz.Feed","Timestamp":1539256863000000000,"EnvVersion":2,"Severity":0} Note that in both cases, the context is not set! The context should be the value TYPE in Fields, as below (an example, not related to this event) {"Fields":{"msg":"Checking project members for bmo-woodduck-confidential","type":"GROUPS"},"Hostname":"ip-172-31-5-14","Logger":"STDERR","Pid":"8","Type":"Bugzilla.Extension.PhabBugz.Feed","Timestamp":1539256853000000000,"EnvVersion":2,"Severity":6}
The first error seems to be from an open socket to phabricator. The second error likely happened during an HTTP request to phabricator At a guess, I would imagine we need to specify a timeout when calling the phabricator API.
Summary: Unexpected timeouts in feed daemon → Bug 1498206 - Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Summary: Bug 1498206 - Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension → Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension
Alias: bmo-mojo-useragent-1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: