Bug 1498206 (bmo-mojo-useragent-1)

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

RESOLVED FIXED

Status

()

RESOLVED FIXED
5 months ago
5 months ago

People

(Reporter: dylan, Assigned: dylan)

Tracking

(Blocks: 1 bug)

Production

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 months ago
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}
(Assignee)

Comment 1

5 months ago
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.
(Assignee)

Updated

5 months ago
Summary: Unexpected timeouts in feed daemon → Bug 1498206 - Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension
(Assignee)

Updated

5 months ago
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → FIXED
(Assignee)

Updated

5 months ago
Summary: Bug 1498206 - Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension → Replace LWP::UserAgent with Mojo::UserAgent in phabbugz extension
(Assignee)

Updated

5 months ago
Blocks: 1496697
(Assignee)

Updated

5 months ago
Alias: bmo-mojo-useragent-1
You need to log in before you can comment on or make changes to this bug.