antranigv
has joined
00:08:56
Zash
has left
00:16:32
Zash
has joined
00:16:47
nephele
has joined
00:20:06
antranigv
has left
00:20:18
nephele
has left
00:20:36
nephele
has joined
00:20:37
al
has left
00:22:17
debacle
has left
00:25:56
nephele
has left
00:30:39
dezant
has left
00:33:36
thomaslewis
has joined
00:36:55
dezant
has joined
00:40:01
abdullahi
has left
00:43:00
abdullahi
has joined
00:43:04
al
has joined
01:04:34
Ingolf
has joined
01:24:04
Ingolf
has left
02:18:01
al
has left
02:39:14
al
has joined
02:39:16
Yagizа
has joined
02:58:39
thomaslewis
has left
03:00:38
xnamed
has left
03:00:38
thomaslewis
has joined
03:03:42
dezant
has left
03:06:40
dezant
has joined
03:06:51
al
has left
03:22:12
Sam
has joined
03:23:46
dezant
has left
03:30:37
dezant
has joined
03:30:38
Sam
has left
03:57:59
raghavgururajan
has joined
04:08:33
thomaslewis
has left
04:09:30
al
has joined
04:14:10
Ingolf
has joined
04:20:34
atomicwatch
has left
04:36:22
COM8
has joined
04:38:31
COM8
has left
04:39:01
COM8
has joined
04:39:03
COM8
has left
04:39:08
atomicwatch
has joined
04:40:11
pasdesushi
has joined
04:44:40
thomaslewis
has joined
04:54:09
Ingolf
has left
04:56:37
thomaslewis
has left
04:58:21
thomaslewis
has joined
04:58:25
thomaslewis
has left
04:58:58
Ingolf
has joined
05:04:04
wurstsalat
has left
05:29:43
COM8
has joined
05:37:33
COM8
has left
05:37:42
wurstsalat
has joined
05:44:56
msavoritias
has joined
05:46:53
Laura
has joined
06:04:23
marc0s
has left
06:09:40
marc0s
has joined
06:09:41
antranigv
has joined
06:11:41
Byt
has joined
06:13:22
Byt
has left
06:16:01
Byt
has joined
06:18:18
jgart
has left
06:19:04
Byt
has left
06:20:24
marc0s
has left
06:24:04
marc0s
has joined
06:24:05
thomaslewis
has joined
06:32:03
raghavgururajan
has left
06:32:13
Laura
has left
06:35:45
thomaslewis
has left
06:36:55
thomaslewis
has joined
06:36:56
thomaslewis
has left
06:40:34
thomaslewis
has joined
06:41:30
al
has left
06:42:26
thomaslewis
has left
06:43:21
msavoritias
has left
06:48:15
msavoritias
has joined
06:48:20
marc
has joined
06:52:35
debacle
has joined
06:55:47
Laura
has joined
06:58:17
pulkomandy
has left
07:01:11
adx
has joined
07:09:07
Alex
has left
07:15:12
Alex
has joined
07:15:19
raghavgururajan
has joined
07:15:59
Alastair Hogge
has left
07:16:56
goffi
has joined
07:17:21
atomicwatch
has left
07:27:06
emus
has joined
07:28:19
raghavgururajan
has left
07:29:18
raghavgururajan
has joined
07:29:32
marc
has left
07:34:41
marc
has joined
07:35:09
nephele
has joined
07:35:36
junaid
has left
07:38:47
junaid
has joined
07:38:54
atomicwatch
has joined
07:45:16
nephele
has left
07:45:48
Laura
has left
07:48:45
Laura
has joined
07:49:13
marc
has left
08:01:57
pasdesushi
has left
08:10:39
norayr
has left
08:12:48
norayr
has joined
08:12:56
Kev
has joined
08:18:13
Kev
has left
08:18:13
Kev
has joined
08:18:13
pasdesushi
has joined
08:21:33
xnamed
has joined
08:29:04
Millesimus
has left
08:30:35
antranigv
has left
08:31:08
antranigv
has joined
08:39:00
norayr
has left
08:43:02
norayr
has joined
08:43:11
Millesimus
has joined
08:45:05
Ingolf
has left
08:46:39
debacle
has left
08:46:46
stuart.j.mackintosh
has left
08:49:40
lovetox
has left
08:51:10
stuart.j.mackintosh
has joined
08:53:09
Ingolf
has joined
08:56:21
nephele
has joined
09:01:12
lovetox
has joined
09:01:33
Laura
has left
09:03:54
Laura
has joined
09:04:31
marc
has joined
09:08:15
antranigv
has left
09:14:23
antranigv
has joined
09:17:24
nephele
has left
09:19:41
xnamed
has left
09:20:51
xnamed
has joined
09:20:54
larma
has joined
09:21:48
larma
has left
09:22:02
xnamed
has left
09:22:46
xnamed
has joined
09:22:48
antranigv
has left
09:31:43
atomicwatch
has left
09:33:26
antranigv
has joined
09:39:01
xnamed
has left
09:44:44
Laura
has left
09:44:55
xnamed
has joined
09:46:39
antranigv
has left
09:48:20
antranigv
has joined
09:48:37
Laura
has joined
09:50:01
Ingolf
has left
09:54:01
nephele
has joined
09:54:33
marc0s
has left
09:54:42
marc0s
has joined
09:54:43
nephele
has left
09:55:14
nephele
has joined
09:55:16
Ingolf
has joined
09:57:01
PapaTutuWawa
has joined
09:58:02
nephele
has left
09:58:04
atomicwatch
has joined
09:59:25
nephele
has joined
10:04:16
xnamed
has left
10:04:20
pulkomandy
has joined
10:06:42
PapaTutuWawa
10:08:49
Quick question: Due to reasons I had to implement my own XMPP library for my mobile XMPP client and it works great. However, after some time (unsure about the exact time), my connection just silently stops working and I cannot send or receive data. I don't receive any stream errors; it just stops. This happens although I send pings either by requesting an XEP-0198 ack or by just sending a whitespace ping every 5 minutes. Is there anything else I need to do to stop this from happening?
antranigv
has left
10:09:31
Ge0rG
10:11:25
PapaTutuWawa: what platform is your moblie client running on?
PapaTutuWawa
10:12:17
Android. But the thing is that the system is not killing the app as I keep viewing logs on my PC and I log every ping I send
Zash
10:13:31
Obscure socket timeout? What does the server logs say?
antranigv
has joined
10:13:49
jubalh
has left
10:13:49
Laura
has left
10:14:11
nephele
has left
10:14:20
Ge0rG
10:16:02
PapaTutuWawa: did you request an exception from battery optimizations?
Ge0rG
10:16:17
PapaTutuWawa: when you connect the device via USB that might also change power saving behavior
PapaTutuWawa
10:17:01
Ge0rG: I didn't because I thought that having no exception would just kill the foreground service entirely, which I would notice
PapaTutuWawa
10:18:09
Zash: I'll have to timeout again, but I think that my prosody just said that the connection timed out
Ge0rG
10:18:30
PapaTutuWawa: IIRC it will just freeze the app instead
flow
10:19:42
PapaTutuWawa, do you receive pongs to your xmpp pings?
PapaTutuWawa
10:19:49
That would still be weird as I can still see the service trying to send a ping to the server even after no data can come in or go out
PapaTutuWawa
10:20:52
flow: When I used only 0198 pings, then after some point: no. But until then I did. But I still think that 2h at max until I have to reconnect is a bit short, or am I mistaken?
marc0s
has left
10:21:26
marc0s
has joined
10:21:27
flow
10:21:35
PapaTutuWawa, i suspect your TCP connection became stale than, could be due to various reasions
flow
10:23:22
I believe modern Android's even suspend TCP connections of more-or-less inactive non-foreground apps, but it could be also just a middlebox or dozen other things that causes the tcp connection to become stale
lovetox
has left
10:24:43
PapaTutuWawa
10:25:03
flow: I didn't know that. I'll try it then
flow
10:25:14
PapaTutuWawa, try what?
PapaTutuWawa
10:25:58
Setting a battery optimization exception for my app if it's true that Android suspends TCP connections for inactive apps
PapaTutuWawa
10:26:09
Sorry for being unclear😅️
flow
10:26:10
PapaTutuWawa, I doubt that this alone will help
flow
10:26:34
at least for the latest android versions, which basically force you to use a foreground service for long-lived TCP connections like XMPP uses
flow
10:27:55
besides that, my recommendation for years has been to act on CONNECTIVITY_CHANGED broadcasts from Android, and have a mechansim to swiftly check if the connection is still alive, based on xep199 pings with a low timeout (say less than 30, 20, or 15 seconds)
flow
10:28:18
if that check fails, forcefully tear down the XMPP connection and restablish it, ideally using stream mangement
pulkomandy
has left
10:28:22
lovetox
has joined
10:28:46
antranigv
has left
10:36:07
Ingolf
has left
10:39:00
Sam
has joined
10:46:51
Sam
has left
10:54:09
Sam
has joined
10:54:20
Sam
has left
10:55:13
Sam
has joined
10:55:21
mh
has left
10:56:36
PapaTutuWawa
10:56:44
It seems like my prosody closes the connection with a "timeout during receiving"
mh
has joined
10:57:04
Laura
has joined
11:07:10
nephele
has joined
11:08:54
nephele
has left
11:09:32
nephele
has joined
11:09:34
nephele
has left
11:12:51
marc0s
has left
11:19:39
marc0s
has joined
11:19:42
marc0s
has left
11:20:10
marc0s
has joined
11:20:11
kikuchiyo
has left
11:23:53
dezant
has left
11:23:56
marc0s
has left
11:24:34
marc0s
has joined
11:24:36
tails
has joined
11:26:57
kikuchiyo
has joined
11:28:53
nephele
has joined
11:36:35
nephele
has left
11:39:22
Laura
has left
11:45:21
Laura
has joined
11:50:39
marc0s
has left
12:03:32
marc0s
has joined
12:03:33
antranigv
has joined
12:04:26
nephele
has joined
12:11:13
nephele
has left
12:16:48
Maranda
has left
12:20:13
Mjolnir Archon
has left
12:20:13
abdullahi
has left
12:20:18
abdullahi
has joined
12:20:22
antranigv
has left
12:20:52
dezant
has joined
12:23:17
nephele
has joined
12:27:48
nephele
has left
12:28:21
xnamed
has joined
12:29:56
Laura
has left
12:32:15
nephele
has joined
12:34:33
nephele
has left
12:35:16
Laura
has joined
12:35:53
larma
has joined
12:38:00
nephele
has joined
12:41:20
norayr
has left
12:44:20
norayr
has joined
12:44:32
xnamed
has left
12:44:36
Millesimus
has left
12:44:36
xnamed
has joined
12:48:20
nephele
has left
12:51:22
emus
has left
12:54:15
emus
has joined
12:56:17
xnamed
has left
12:59:25
Mjolnir Archon
has joined
13:00:43
Maranda
has joined
13:00:44
Ingolf
has joined
13:02:52
xnamed
has joined
13:07:48
nephele
has joined
13:20:24
nephele
has left
13:20:53
nephele
has joined
13:21:48
nephele
has left
13:22:17
antranigv
has joined
13:32:05
Millesimus
has joined
13:33:04
nephele
has joined
13:40:03
antranigv
has left
13:50:10
nephele
has left
13:50:14
Matrix Traveler (bot)
has left
13:50:20
homebeach
has left
13:50:20
homebeach
has joined
13:50:21
Matrix Traveler (bot)
has joined
13:50:21
marc0s
has left
14:07:01
marc0s
has joined
14:07:02
Laura
has left
14:07:40
debacle
has joined
14:07:49
antranigv
has joined
14:14:45
Ingolf
has left
14:15:16
antranigv
has left
14:16:20
pasdesushi
has left
14:17:36
marc0s
has left
14:19:53
marc0s
has joined
14:19:54
Laura
has joined
14:22:50
antranigv
has joined
14:27:16
thomaslewis
has joined
14:34:44
nephele
has joined
14:38:47
thomaslewis
has left
14:38:57
emus
has left
14:38:59
nephele
has left
14:40:25
nephele
has joined
14:40:27
jgart
has joined
14:47:11
nephele
has left
14:50:29
marc0s
has left
14:55:04
marc0s
has joined
14:55:05
jubalh
has joined
14:58:23
edhelas
has left
15:01:33
Laura
has left
15:04:29
Matrix Traveler (bot)
has left
15:04:46
homebeach
has left
15:04:46
homebeach
has joined
15:04:49
Matrix Traveler (bot)
has joined
15:04:49
emus
has joined
15:05:08
Laura
has joined
15:06:56
pulkomandy
has joined
15:10:46
marc0s
has left
15:13:10
marc0s
has joined
15:13:11
marc0s
has left
15:18:00
marc0s
has joined
15:18:01
Laura
has left
15:19:46
nephele
has joined
15:20:28
Laura
has joined
15:20:56
edhelas
has joined
15:21:50
nephele
has left
15:22:13
thomaslewis
has joined
15:22:43
thomaslewis
has left
15:23:53
Laura
has left
15:27:11
Laura
has joined
15:30:36
xecks
has left
15:31:05
marc0s
has left
15:33:03
marc0s
has joined
15:33:04
marc0s
has left
15:33:52
marc0s
has joined
15:33:53
xecks
has joined
15:38:57
pasdesushi
has joined
15:44:55
marc0s
has left
15:45:30
marc0s
has joined
15:45:32
marc0s
has left
15:46:00
marc0s
has joined
15:46:01
bjabkberm
has joined
15:51:25
marc
has left
16:03:28
marc
has joined
16:04:31
emus
has left
16:09:25
marc
has left
16:13:54
marc
has joined
16:14:22
xnamed
has left
16:15:51
debacle
has left
16:17:54
emus
has joined
16:28:39
thomaslewis
has joined
16:34:32
Laura
has left
16:35:40
thomaslewis
has left
16:37:35
antranigv
has left
16:37:41
norayr
has left
16:41:24
norayr
has joined
16:41:32
qwestion
has joined
16:42:09
thomaslewis
has joined
16:51:32
Alex
has left
16:52:09
Alex
has joined
16:52:23
thomaslewis
has left
16:52:33
antranigv
has joined
17:00:08
marc0s
has left
17:04:52
marc0s
has joined
17:04:54
nephele
has joined
17:10:23
marc
has left
17:10:33
marc
has joined
17:10:56
Laura
has joined
17:14:17
thomaslewis
has joined
17:16:45
thomaslewis
has left
17:17:24
norayr
has left
17:19:16
norayr
has joined
17:19:22
antranigv
has left
17:21:53
tails
has left
17:26:22
lovetox
has left
17:27:56
thomaslewis
has joined
17:28:43
thomaslewis
has left
17:31:09
PapaTutuWawa
has left
17:32:22
lovetox
has joined
17:35:23
marc
has left
17:41:23
marc
has joined
17:42:34
lovetox
has left
17:44:27
marc0s
has left
17:44:28
marc0s
has joined
17:44:29
antranigv
has joined
17:45:51
lovetox
has joined
17:48:01
stuart.j.mackintosh
has left
17:48:49
PapaTutuWawa
has joined
17:48:55
stuart.j.mackintosh
has joined
17:51:26
thomaslewis
has joined
17:54:44
thomaslewis
has left
17:55:15
antranigv
has left
17:55:58
norayr
has left
17:57:48
norayr
has joined
17:57:58
marc0s
has left
18:06:25
marc0s
has joined
18:06:28
thomaslewis
has joined
18:06:41
thomaslewis
has left
18:07:30
Laura
has left
18:27:27
antranigv
has joined
18:33:31
xecks
has left
18:36:11
raghavgururajan
has left
18:36:50
antranigv
has left
18:45:45
debacle
has joined
18:47:13
abdullahi
has left
18:56:55
abdullahi
has joined
18:58:19
jubalh
has left
18:59:56
bjabkberm
has left
19:00:32
xecks
has joined
19:02:16
Laura
has joined
19:03:18
Laura
has left
19:09:48
Laura
has joined
19:10:48
al
has joined
19:11:05
nephele
has left
19:16:40
qwestion
has left
19:18:24
debacle
has left
19:21:43
antranigv
has joined
19:29:35
Matrix Traveler (bot)
has left
19:35:26
homebeach
has left
19:35:26
homebeach
has joined
19:35:28
Matrix Traveler (bot)
has joined
19:35:29
amee2k
has joined
19:40:14
antranigv
has left
19:41:27
al
has left
20:02:58
norayr
has left
20:09:32
norayr
has joined
20:09:42
nephele
has joined
20:10:00
thomaslewis
has joined
20:10:13
Alex
has left
20:12:36
kikuchiyo
has left
20:12:51
Alex
has joined
20:13:07
nephele
has left
20:13:51
kikuchiyo
has joined
20:14:05
thomaslewis
has left
20:14:06
atomicwatch
has left
20:27:32
norayr
has left
20:31:45
Alex
has left
20:35:25
Alex
has joined
20:35:52
dezant
has left
20:42:03
dezant
has joined
20:42:05
norayr
has joined
20:42:36
Laura
has left
20:43:07
Laura
has joined
20:44:06
nephele
has joined
20:44:24
Yagizа
has left
20:45:37
nephele
has left
20:54:52
msavoritias
has left
20:58:53
SouL
has left
21:08:54
nephele
has joined
21:11:58
Laura
has left
21:14:10
nephele
has left
21:15:18
Laura
has joined
21:15:27
PapaTutuWawa
has left
21:22:42
dezant
has left
21:53:29
dezant
has joined
21:53:31
Laura
has left
22:03:48
Laura
has joined
22:04:20
lovetox
has left
22:08:04
jubalh
has joined
22:10:36
marc
has left
22:11:26
Laura
has left
22:19:21
debacle
has joined
22:26:23
Laura
has joined
22:28:46
marc0s
has left
22:37:13
marc0s
has joined
22:37:14
amee2k
has left
22:48:57
wurstsalat
has left
22:58:40
amee2k
has joined
22:59:59
Laura
has left
23:02:10
Laura
has joined
23:02:38
SouL
has joined
23:14:17
Laura
has left
23:15:15
Laura
has joined
23:16:37
Matrix Traveler (bot)
has left
23:16:37
homebeach
has left
23:16:37
homebeach
has joined
23:16:38
Matrix Traveler (bot)
has joined
23:16:38
adx
has left
23:18:24
goffi
has left
23:28:45
goffi
has joined
23:33:06
amee2k
has left
23:51:29
Jkl
has joined
23:54:50
Jkl
has left
23:57:04