arcuru / pokem

A notification helper for Matrix.
MIT License
26 stars 0 forks source link

Error on startup #7

Open koehn opened 1 month ago

koehn commented 1 month ago

I’m running v1.0.0, and suddenly started getting these errors when starting pokem:

2024-06-10T19:18:56.407766Z ERROR sync_with_result_callback{sync_settings=SyncSettings { filter: FilterDefinition(FilterDefinition { event_fields: None, event_format: "client", presence: Filter { not_types: [], limit: None, senders: None, types: None, not_senders: [] }, account_data: Filter { not_types: [], limit: None, senders: None, types: None, not_senders: [] }, room: RoomFilter { include_leave: false, account_data: RoomEventFilter { not_types: [], not_rooms: [], limit: None, rooms: None, not_senders: [], senders: None, types: None, url_filter: None, lazy_load_options: Disabled, unread_thread_notifications: false }, timeline: RoomEventFilter { not_types: [], not_rooms: [], limit: None, rooms: None, not_senders: [], senders: None, types: None, url_filter: None, lazy_load_options: Disabled, unread_thread_notifications: false }, ephemeral: RoomEventFilter { not_types: [], not_rooms: [], limit: None, rooms: None, not_senders: [], senders: None, types: None, url_filter: None, lazy_load_options: Disabled, unread_thread_notifications: false }, state: RoomEventFilter { not_types: [], not_rooms: [], limit: None, rooms: None, not_senders: [], senders: None, types: None, url_filter: None, lazy_load_options: Enabled { include_redundant_members: false }, unread_thread_notifications: false }, not_rooms: [], rooms: None } }), timeout: 30s, full_state: false, set_presence: "online" }}: matrix_sdk::sync: Received an invalid response: error sending request for url (https://koehn.com/_matrix/client/v3/sync?filter=%7B%22room[redacted]lazy_load_members%22%3Atrue%7D%7D%7D&since=s1441094_165529100_166_2291035_28766_377_11969_3452118_0_28&timeout=30000): connection closed before message completed
Error: error sending request for url (https://koehn.com/_matrix/client/v3/sync?filter=%7B%22room[redacted]lazy_load_members%22%3Atrue%7D%7D%7D&since=s1441094_165529100_166_2291035_28766_377_11969_3452118_0_28&timeout=30000): connection closed before message completed

If I run curl with that URL and the appropriate Authorization header from the same machine, it returns in under a second.

koehn commented 4 weeks ago

I should mention I’m running Synapse v1.109.0. I can see the sync call completing a few milliseconds after 30 seconds.