bug: Some failing homeserver=>appservice communications can result in delayed startups #1144

Open
opened 2025-11-04 01:46:15 +00:00 by nex · 0 comments
Owner

It appears that an unreachable appservice may cause the startup time for the HTTP listener to be delayed for a while. This should not happen.

relevant log:

/srv/cont> docker compose logs homeserver
homeserver-1  | 2025-11-04T01:25:28.261703Z  WARN conduwuit_core::config::check: All URLs are allowed for URL previews via setting "url_preview_domain_contains_allowlist" to "*". This opens up significant attack surface to your server. You are expected to be aware of the risks by doing this.
homeserver-1  | 2025-11-04T01:25:28.261728Z  INFO conduwuit::server: 0.5.0-rc.8 (fbf48ad) server_name=ip-logger.com database_path="/var/lib/continuwuity" log_levels=info
homeserver-1  | 2025-11-04T01:25:49.623056Z  INFO main:start:open: conduwuit_database::engine::open: Opened database. columns=91 sequence=21657310418 time=21.33599007s
homeserver-1  | 2025-11-04T01:25:49.739952Z  INFO main:start: conduwuit_service::migrations: Loaded RocksDB database with schema version 18
homeserver-1  | 2025-11-04T01:26:16.575521Z  WARN conduwuit_service::sending::appservice: Could not send request to appservice "heisenbridge" at http://heisenbridge:9898: reqwest::Error { kind: Request, url: "http://heisenbridge:9898/_matrix/app/v1/transactions/...?access_token=...", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", ResolveError { kind: Proto(ProtoError { kind: NoRecordsFound { query: ...
It appears that an unreachable appservice may cause the startup time for the HTTP listener to be delayed for a while. This should not happen. relevant log: ``` /srv/cont> docker compose logs homeserver homeserver-1 | 2025-11-04T01:25:28.261703Z WARN conduwuit_core::config::check: All URLs are allowed for URL previews via setting "url_preview_domain_contains_allowlist" to "*". This opens up significant attack surface to your server. You are expected to be aware of the risks by doing this. homeserver-1 | 2025-11-04T01:25:28.261728Z INFO conduwuit::server: 0.5.0-rc.8 (fbf48ad) server_name=ip-logger.com database_path="/var/lib/continuwuity" log_levels=info homeserver-1 | 2025-11-04T01:25:49.623056Z INFO main:start:open: conduwuit_database::engine::open: Opened database. columns=91 sequence=21657310418 time=21.33599007s homeserver-1 | 2025-11-04T01:25:49.739952Z INFO main:start: conduwuit_service::migrations: Loaded RocksDB database with schema version 18 homeserver-1 | 2025-11-04T01:26:16.575521Z WARN conduwuit_service::sending::appservice: Could not send request to appservice "heisenbridge" at http://heisenbridge:9898: reqwest::Error { kind: Request, url: "http://heisenbridge:9898/_matrix/app/v1/transactions/...?access_token=...", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", ResolveError { kind: Proto(ProtoError { kind: NoRecordsFound { query: ... ```
Sign in to join this conversation.
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
continuwuation/continuwuity#1144
No description provided.