21 Jul 2024 |
S1m | The config on traefik is separated into 2 docs | 18:34:39 |
Szwendacz | I only see things about respondingTimeouts and avout /_matrix/push/v1/notify | 18:35:30 |
S1m | I thought nextpush stop trying to connect after 10 fails 🤔 | 18:35:46 |
S1m | In reply to @szwendacz:matrix.maciej.cloud I only see things about respondingTimeouts and avout /_matrix/push/v1/notify Yeah, the responding timeout is what you need to so | 18:36:33 |
S1m | * Yeah, the responding timeout is what you need to do | 18:36:52 |
Szwendacz | currently I have
--entryPoints.websecure.transport.respondingTimeouts.readTimeout=20m │
--entryPoints.websecure.transport.respondingTimeouts.writeTimeout=20m │
--entryPoints.websecure.transport.respondingTimeouts.idleTimeout=20m
| 18:37:25 |
S1m | Sorry, I can't help (I've to move) but you have the config in the example, and the tests script to debug your setup :) | 18:38:51 |
Szwendacz | But script does not check if app is spamming requests
because notifications are generally working, but the app is spamming, using cpu, and often notifying about lost connection | 18:39:54 |
S1m | The scripts will tell you if your config is not correct | 18:40:56 |
S1m | Sorry, the script that'll help you is test-sync | 18:43:03 |
S1m | Run it for 5min | 18:43:15 |
Szwendacz | ok | 18:43:31 |
Szwendacz | well it fails with Cannot receive notification , guess digging in logs is to be done again | 18:45:48 |
Szwendacz | curl gets timeout after one second, very weird | 18:52:09 |
Szwendacz | nvm, it is set in curl heh parameter | 18:53:39 |
Szwendacz | this timeout fixed by restoring disablereuse=on flushpackets=on (forgot I disabled them for testing) | 19:00:51 |
Szwendacz | apache config syntax is a disaster | 19:04:43 |
22 Jul 2024 |
| @tommyzjones_20:matrix.org left the room. | 22:38:24 |
23 Jul 2024 |
| Jnn changed their display name from Joanna to Jnn. | 07:34:16 |
24 Jul 2024 |
| LjL changed their display name from LjL (overly long political statement goes here) to LjL. | 16:24:11 |
26 Jul 2024 |
| @cmerrill:matrix.org joined the room. | 01:13:53 |
| @cmerrill:matrix.org left the room. | 01:15:17 |
| Andrew Morgan (anoa) {he/him} [away til 30th] changed their display name from Andrew Morgan (anoa) {he/him} to Andrew Morgan (anoa) {he/him} [away til 30th]. | 10:57:09 |
| nikclayton joined the room. | 13:44:36 |
nikclayton | When using the Android library, is an app supposed to register once (registerAppWithDialog ), save the endpoint it gets in the onNewEndpoint callback, and only re-register is there is no saved endpoint?
Or is it supposed to register on every startup, and if registration has happened previously onNewEndpoint will be called with the existing endpoint?
| 13:50:37 |
nikclayton | * When using the Android library, is an app supposed to check if it's already registered (e.g., has it saved a copy of the endpoint string), and it it's not then register once (registerAppWithDialog ), and save the endpoint it gets in the onNewEndpoint callback.
Or is it supposed to register on every startup, and if registration has happened previously onNewEndpoint will be called with the existing endpoint?
| 13:53:14 |
S1m | You can run registerAppWithDialog from time to time (every startup works), distributors will send the same endpoint if it is already registered | 13:57:32 |
nikclayton | S1m: Thanks. | 13:58:56 |
| @ceruleanderpo:matrix.org joined the room. | 19:55:08 |
| @ceruleanderpo:matrix.org left the room. | 20:17:18 |