Conduit keeps asking dead servers for media #129

Open
opened 2021-08-26 16:07:26 +00:00 by Sorunome · 7 comments
Sorunome commented 2021-08-26 16:07:26 +00:00 (Migrated from gitlab.com)

Conduit keeps trying to reach dead servers. It keeps on re-trying to reach e.g. https://ponies.im, even though it is currently giving error 500.

This sadly results in bad UX, as all connection handlers are waiting on the dead connection to finally time out, before, well, working, resulting in conduit basically freezing up for a couple of seconds all the time.

Instead, conduit should / could cache inavailability of servers

Conduit keeps trying to reach dead servers. It keeps on re-trying to reach e.g. https://ponies.im, even though it is currently giving error 500. This sadly results in bad UX, as all connection handlers are waiting on the dead connection to finally time out, before, well, working, resulting in conduit basically freezing up for a couple of seconds all the time. Instead, conduit should / could cache inavailability of servers
Sorunome commented 2021-08-26 16:09:38 +00:00 (Migrated from gitlab.com)

mentioned in issue #130

mentioned in issue #130
timokoesters commented 2021-08-26 16:49:01 +00:00 (Migrated from gitlab.com)

It will not try to send messages to these servers, but different requests like media currently still go through.

It will not try to send messages to these servers, but different requests like media currently still go through.
Sorunome commented 2021-08-26 16:51:25 +00:00 (Migrated from gitlab.com)

ah, right, then blocking those additionally seems like a good idea. Should soru adapt the title / description?

ah, right, then blocking those additionally seems like a good idea. Should soru adapt the title / description?
timokoesters commented 2021-08-26 16:57:22 +00:00 (Migrated from gitlab.com)

changed title from Conduit keeps {-try-}ing {-to reach -}dead servers to Conduit keeps {+ask+}ing dead servers{+ for media+}

changed title from **Conduit keeps {-try-}ing {-to reach -}dead servers** to **Conduit keeps {+ask+}ing dead servers{+ for media+}**
timokoesters commented 2021-08-26 17:06:31 +00:00 (Migrated from gitlab.com)

To be fair, this might improve a lot when #130 works, so maybe it is not necessary

To be fair, this might improve a lot when #130 works, so maybe it is not necessary
M0dEx commented 2022-04-06 18:50:07 +00:00 (Migrated from gitlab.com)

Is this still an issue?

Is this still an issue?
timokoesters commented 2022-04-06 18:51:17 +00:00 (Migrated from gitlab.com)

Yes it probably is. We should reuse the federation backoff timer for media requests (and some other requests?)

Yes it probably is. We should reuse the federation backoff timer for media requests (and some other requests?)
Sign in to join this conversation.
No labels
Android
CS::needs customer feedback
CS::needs follow up
CS::needs on prem installation
CS::waiting
Chrome
Design:: Ready
Design:: in progress
Design::UX
E2EE
Edge
Firefox
GDPR
Iteration 13 IM
Linux
MacOS
Need::Discussion
Need::Steps to reproduce
Need::Upstream fix
Needs:: Planning
Needs::Dev-Team
Needs::More information
Needs::Priority
Needs::Product
Needs::Refinement
Needs::Severity
Priority::1-Critical
Priority::2-Max
Priority::3-Impending
Priority::4-High
Priority::5-Medium
Priority::6-Low
Priority::7-None
Progress::Backlog
Progress::Review
Progress::Started
Progress::Testing
Progress::Triage
Progress::Waiting
Reporter::Sentry
Safari
Target::Community
Target::Customer
Target::Internal
Target::PoC
Target::Security
Team:Customer-Success
Team:Design
Team:Infrastructure
Team:Instant-Messaging
Team:Product
Team:Workflows
Type::Bug
Type::Design
Type::Documentation
Type::Feature
Type::Improvement
Type::Support
Type::Tests
Windows
blocked
blocked-by-spec
cla-signed
conduit
contribution::advanced
contribution::easy
contribution::help needed
from::review
iOS
p::ti-tenant
performance
product::triage
proposal
refactor
release-blocker
s: dart_openapi_codegen
s::Famedly-Patient
s::Org-Directory
s::Passport-Generator
s::Requeuest
s:CRM
s:Famedly-App
s:Famedly-Web
s:Fhiroxide
s:Fhiroxide-cli
s:Fhiroxide-client
s:Fhirs
s:Hedwig
s:LISA
s:Matrix-Dart-SDK
s:Role-Manager
s:Synapse
s:User-Directory
s:WFS-Matrix
s:Workflow Engine
s:dtls
s:famedly-error
s:fcm-shared-isolate
s:matrix-api-lite
s:multiple-tab-detector
s:native-imaging
severity::1
severity::2
severity::3
severity::4
technical-debt
voip
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Matthias/conduit#129
No description provided.