Federation request fails behind proxy without retry and subsequent requests blocked #1756
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#1756
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 a federation request fails due to a timeout while connecting via a proxy (
192.168.1.1:8080), the system does not retry the request and fails to send any subsequent federation requests to the same destination.Log excerpt:
Sounds like a dupe of #1755.
@Henry-Hiles wrote in #1756 (comment):
In my case,
./well-knownresolves correctly tomatrix.example.com:443, so it's different from #1755Ah, okay.
@Judyczx Does
!admin debug ping example.comwork? And!admin query resolver overrides-cache example.com+!admin query resolver destinations-cache example.comshow correct addresses/destinations?Does
!admin server clear-cachesallow c10y to kickstart federation withexample.comagain?It could be Continuwuity implementing federation backoff, which wouldn't bode well if the initial connections to the example server are temporarily offline due to your proxy timeout.
@stratself wrote in #1756 (comment):
Yes,
!admin debug ping example.comdoes work, and!admin query resolver destinations-cache example.comshows the correct destination.!admin query resolver overrides-cache example.comshows no result, which is also the same as under normal conditions.!admin server clear-cachesdoes resolve the issue and allows federation to to work again after the timeout.