Incorrect server destination cache after /.well-known timeout #1755
Labels
No labels
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1755
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When connecting to another homeserver like
example.com, Continuwuity normally retrievesmatrix.example.com:443via the/.well-knownendpoint. However, if that request times out due to a transient network issue, Continuwuity caches the incorrect destinationexample.com:8448and never retries the/.well-knownendpoint. This prevents recovery even after the network problem is resolved.I would like to propose implementing exponential backoff for retrying the
/.well-knownrequest.Relevant logs:
Hello,
The issue will likely be picked up when the sender service rewrite can be done. You can see a previous attempt to resolve this in #1463.
For now, C10y caches it for 24 hours or until manual purging. It's not ideal, but you can try that manual purge. For your own server, consider hosting a fallback route on
example.com:8448as wellYes, this should be fixed by #1505 when its done and merged.