7 Mar 2024 |
cvwright | The APNS pusher seems to have a bug where the config variable convert_device_token_to_hex is used in _dispatch_request() but it is not one of the UNDERSTOOD_CONFIG_FIELDS | 19:47:25 |
cvwright | I'm also getting a lot of entries in the log where b64decode is erroring out on a valid base64 token that works fine for me in ipython and (when converted to hex) works for sending APNs from Apple's test page | 20:38:44 |
cvwright | Mar 07 20:35:45 matrix matrix-sygnal[1496729]: Traceback (most recent call last):
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: File "/usr/local/lib/python3.10/site-packages/sygnal/http.py", line 275, in _handle_dispatch
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: result = await pushkin.dispatch_notification(notif, d, context)
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: File "/usr/local/lib/python3.10/site-packages/sygnal/notifications.py", line 217, in dispatch_notification
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: return await self._dispatch_notification_unlimited(n, device, context)
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: File "/usr/local/lib/python3.10/site-packages/sygnal/apnspushkin.py", line 358, in _dispatch_notification_unlimited
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: return await self._dispatch_request(
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: File "/usr/local/lib/python3.10/site-packages/sygnal/apnspushkin.py", line 241, in _dispatch_request
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: device_token = base64.b64decode(device.pushkey).hex()
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: File "/usr/local/lib/python3.10/base64.py", line 87, in b64decode
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: return binascii.a2b_base64(s)
Mar 07 20:35:45 matrix matrix-sygnal[1496729]: binascii.Error: Incorrect padding
| 20:39:19 |
cvwright | The base64 pushkey does end in a "=", so that made me wonder if maybe it should be unpadded? But I get the same error if I convert it to unpadded base64 before I call /_matrix/client/v3/pushers/set | 20:40:44 |
cvwright | What's strange is that the notifications still come through | 20:41:25 |
| Ricardo Duarte changed their profile picture. | 20:44:00 |
8 Mar 2024 |
| morguldir joined the room. | 07:38:18 |
| Ricardo Duarte changed their profile picture. | 19:36:00 |
9 Mar 2024 |
| Ricardo Duarte changed their display name from Ricardo to RicardoD. | 15:28:49 |
| Ricardo Duarte changed their profile picture. | 22:38:22 |
11 Mar 2024 |
| benp changed their display name from benp to benp (back Tuesday). | 09:36:21 |
13 Mar 2024 |
| benp changed their display name from benp (back Tuesday) to benp. | 14:09:53 |
15 Mar 2024 |
| @alfa2000dm:matrix.org left the room. | 10:02:52 |
19 Mar 2024 |
| Andrew Morgan (anoa) changed their display name from Andrew Morgan (anoa) to Andrew Morgan (anoa) [UTC-5]. | 13:08:12 |
22 Mar 2024 |
| Ricardo Duarte changed their profile picture. | 17:54:58 |
25 Mar 2024 |
| @bwindels:matrix.org left the room. | 12:14:39 |
26 Mar 2024 |
| Andrew Morgan (anoa) changed their display name from Andrew Morgan (anoa) [UTC-5] to Andrew Morgan (anoa) [UTC-6]. | 18:04:13 |
27 Mar 2024 |
| Neil changed their display name from neil to neil_away. | 07:20:16 |
30 Mar 2024 |
| @baduhai:matrix.org joined the room. | 20:41:10 |
| @baduhai:matrix.org left the room. | 20:41:41 |
2 Apr 2024 |
| Andrew Morgan (anoa) changed their display name from Andrew Morgan (anoa) [UTC-6] to Andrew Morgan (anoa) [away; back Apr 4]. | 00:43:30 |
| Neil changed their display name from neil_away to neil. | 14:11:46 |
4 Apr 2024 |
| Neil changed their display name from neil to neil_away. | 08:28:58 |
| Andrew Morgan (anoa) changed their display name from Andrew Morgan (anoa) [away; back Apr 4] to Andrew Morgan (anoa). | 08:55:37 |
| Shay changed their display name from Shay to Shay - Away, back tuesday the 9th. | 22:48:05 |
6 Apr 2024 |
| Ricardo Duarte changed their display name from RicardoD to Ricardo Duarte. | 23:03:13 |
9 Apr 2024 |
| Neil changed their display name from neil_away to Neil. | 13:46:25 |
| Shay changed their display name from Shay - Away, back tuesday the 9th to Shay. | 14:54:07 |
21 Apr 2024 |
| Martix joined the room. | 19:59:22 |
22 Apr 2024 |
| Kieran - Away (Returning 29/04) changed their display name from Kieran to Kieran - Away (Returning 29/04). | 08:08:39 |