Opened 4 years ago

Closed 3 years ago

# Failure to connect disables whole timeline

Reported by: Owned by: anonymous roadrunner normal HudsonTracPlugin normal 0.11

### Description

If the plugin cannot connect to Hudson, it blocks the rest of the timeline because only the error message is displayed:

Hudson Builds event provider (HudsonTracPlugin) failed:
URLError: <urlopen error (10054, 'Connection reset by peer')>


It should automatically "follow" the You may want to see the other kind of events from the Timeline link, i.e. display the timeline without Hudson entries.

### comment:1 follow-up: ↓ 2 Changed 4 years ago by roadrunner

I'm not quite sure I agree: if you want to ignore the hudson entries, then
just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring
errors makes it A) harder to diagnose problems, and B) gives you a false
sense of a valid timeline.

### comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 4 years ago by anonymous

I'm not quite sure I agree: if you want to ignore the hudson entries, then
just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring
errors makes it A) harder to diagnose problems, and B) gives you a false
sense of a valid timeline.

It should display the Hudson connection error, and then show the timeline without Hudson entres, not just the link.

### comment:3 in reply to: ↑ 2 Changed 4 years ago by roadrunner

I'm not quite sure I agree: if you want to ignore the hudson entries, then
just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring
errors makes it A) harder to diagnose problems, and B) gives you a false
sense of a valid timeline.

It should display the Hudson connection error, and then show the
timeline without Hudson entres, not just the link.

I'm not sure how to do that. It currently raises an exception, if an
error occurs, and I can't control what trac does after that. The only
other option I see is to possibly create a dummy timeline entry
indicating the error. If you know of any other approaches, please let
me know.

### comment:4 Changed 3 years ago by roadrunner

• Resolution set to wontfix
• Status changed from new to closed

Since the link to display the timeline without the builds is provided right
there, and since I see no good solutions here, I'm closing this. If anybody
has any really good ideas, the feel free to re-open.

### Modify Ticket

Change Properties