Room joining failed, but other servers show user as joined #148

Open
opened 2021-09-02 15:18:03 +00:00 by Sorunome · 12 comments
Sorunome commented 2021-09-02 15:18:03 +00:00 (Migrated from gitlab.com)

soru joined this larger federated room and neither the room itself nor new events ever came down /sync, other servers show her as joined, though

soru joined this larger federated room and neither the room itself nor new events ever came down /sync, other servers show her as joined, though
jfowl commented 2021-09-02 15:25:43 +00:00 (Migrated from gitlab.com)

Did this only happen with one large room or can this behavior be replicated?

Also: How long (in minutes) did Soru wait before considering this dead? Afaik Conduit might take it's fair time to join bigger rooms sometimes.

Did this only happen with one large room or can this behavior be replicated? Also: How long (in minutes) did Soru wait before considering this dead? Afaik Conduit might take it's fair time to join bigger rooms sometimes.
Sorunome commented 2021-09-02 15:29:36 +00:00 (Migrated from gitlab.com)

It's in two rooms so far and soru waited an hour or two

It's in two rooms so far and soru waited an hour or two
timokoesters commented 2021-09-02 15:30:50 +00:00 (Migrated from gitlab.com)

Did you try sending an event into the room? That might 'wake up' other servers and send messages to you

Did you try sending an event into the room? That might 'wake up' other servers and send messages to you
Sorunome commented 2021-09-02 15:32:14 +00:00 (Migrated from gitlab.com)

the room never came down /sync, so it doesn't show up in sorus client. The rooms themself are quite busy so other servers keep sending stuff.

the room never came down /sync, so it doesn't show up in sorus client. The rooms themself are quite busy so other servers keep sending stuff.
timokoesters commented 2021-09-02 15:34:23 +00:00 (Migrated from gitlab.com)

Oh sorry I misread that. Do you have a trusted server set up in the config? What do the logs say?

Oh sorry I misread that. Do you have a trusted server set up in the config? What do the logs say?
Sorunome commented 2021-09-02 15:35:04 +00:00 (Migrated from gitlab.com)

yes, trusted servers are set up, and will have to chrck logs later

yes, trusted servers are set up, and will have to chrck logs later
timokoesters commented 2021-09-02 15:35:04 +00:00 (Migrated from gitlab.com)

changed title from {-not receiving new events-} to {+Room joining failed, but other servers show user as joined+}

changed title from **{-not receiving new events-}** to **{+Room joining failed, but other servers show user as joined+}**
Sorunome commented 2021-09-06 16:10:21 +00:00 (Migrated from gitlab.com)
Sep 06 16:09:44.461 ERROR conduit::database::rooms: SerdeJson(Error("invalid value: string \"@hannahfemme87:the-apothecary.club\\n\", expected a Matrix user ID", line: 0, column: 0))
Sep 06 16:09:44.461 ERROR conduit::error: BadDatabase: Auth check failed.
Sep 06 16:09:44.461  WARN conduit::error: 500 Internal Server Error: Auth check failed.
Sep 06 16:09:46.984  WARN conduit::server_server: Fetching auth events for $Okb01EyMuo3gLYiDwNeXQUEXrCqKLkg_8vV1AUdrC8M
[src/server_server.rs:1075] &graph = {
    $_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ: {},
}
[src/server_server.rs:1093] sorted = [
    $_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ,
]
$_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ
Sep 06 16:09:46.985  WARN conduit::server_server: Using cached state
Sep 06 16:09:46.988  WARN conduit::server_server: Handling transaction of event $Okb01EyMuo3gLYiDwNeXQUEXrCqKLkg_8vV1AUdrC8M took 0m0s
``` Sep 06 16:09:44.461 ERROR conduit::database::rooms: SerdeJson(Error("invalid value: string \"@hannahfemme87:the-apothecary.club\\n\", expected a Matrix user ID", line: 0, column: 0)) Sep 06 16:09:44.461 ERROR conduit::error: BadDatabase: Auth check failed. Sep 06 16:09:44.461 WARN conduit::error: 500 Internal Server Error: Auth check failed. Sep 06 16:09:46.984 WARN conduit::server_server: Fetching auth events for $Okb01EyMuo3gLYiDwNeXQUEXrCqKLkg_8vV1AUdrC8M [src/server_server.rs:1075] &graph = { $_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ: {}, } [src/server_server.rs:1093] sorted = [ $_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ, ] $_FDw2cFQX81CLzIyhPxdeeKkjNz4yVykvqg-qFl6ONQ Sep 06 16:09:46.985 WARN conduit::server_server: Using cached state Sep 06 16:09:46.988 WARN conduit::server_server: Handling transaction of event $Okb01EyMuo3gLYiDwNeXQUEXrCqKLkg_8vV1AUdrC8M took 0m0s ```
timokoesters commented 2021-09-06 16:13:07 +00:00 (Migrated from gitlab.com)

Ah, looks like this is the issue about a partially invalid powerlevels event again...

Ah, looks like this is the issue about a partially invalid powerlevels event again...
Sorunome commented 2021-09-06 16:13:41 +00:00 (Migrated from gitlab.com)

Yeah, it contains

"users": {
      "@hannahfemme87:the-apothecary.club": 50,
      "@hannahfemme87:the-apothecary.club\n": 50,
      "@hannahfemme87:the-apothecary.club\\n": 0,
}
Yeah, it contains ``` "users": { "@hannahfemme87:the-apothecary.club": 50, "@hannahfemme87:the-apothecary.club\n": 50, "@hannahfemme87:the-apothecary.club\\n": 0, } ```
timokoesters commented 2022-02-09 19:23:07 +00:00 (Migrated from gitlab.com)

Is this still an issue?

Is this still an issue?
xstater commented 2022-07-05 05:42:37 +00:00 (Migrated from gitlab.com)

Hi, I got the same problem.
I just wanted to join #matrix:matrix.org, but failed. And my conduit did NOT log any message. I have no idea with this.
I set proxy as below

[global.proxy]
[[global.proxy.by_domain]]
url = "socks5h://127.0.0.1"
include = ["*"]
exclude = ["my-domain.com"]

Because I can't connect to Matrix.org or some other site in China, I must set these proxy.
I thought the proxy working correctly, because I can explore the rooms in matrix.org .
Is this a bug or just my problem?

Hi, I got the same problem. I just wanted to join #matrix:matrix.org, but failed. And my conduit did NOT log any message. I have no idea with this. I set proxy as below ``` [global.proxy] [[global.proxy.by_domain]] url = "socks5h://127.0.0.1" include = ["*"] exclude = ["my-domain.com"] ``` Because I can't connect to Matrix.org or some other site in China, I must set these proxy. I thought the proxy working correctly, because I can explore the rooms in matrix.org . Is this a bug or just my problem?
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#148
No description provided.