Sygnal Pod GCM Config defekt

Hallo,

wir haben durch Änderungen am Containerimage einen Push-Service-Ausfall für Google.

Using configuration file: /sygnal.yaml 2024-10-01 07:00:19,923 [1] INFO __main__ Using proxy configuration from Sygnal configuration file 2024-10-01 07:00:19,923 [1] INFO __main__ Starting Prometheus Server on 0.0.0.0 port 9090 2024-10-01 07:00:19,926 [1] INFO __main__ Importing pushkin module: sygnal.gcmpushkin 2024-10-01 07:00:20,734 [1] INFO __main__ Creating pushkin: GcmPushkin 2024-10-01 07:00:20,932 [1] ERROR __main__ Failed to load and create pushkin for kind 'gcm' Error during startup: Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/sygnal/sygnal.py", line 228, in start yield ensureDeferred(self.make_pushkins_then_start()) File "/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py", line 1358, in ensureDeferred return Deferred.fromCoroutine(coro) File "/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py", line 1325, in fromCoroutine return _cancellableInlineCallbacks(coro) File "/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py", line 2197, in _cancellableInlineCallbacks _inlineCallbacks(None, gen, status, _copy_context()) --- <exception caught here> --- File "/usr/local/lib/python3.11/dist-packages/sygnal/sygnal.py", line 228, in start yield ensureDeferred(self.make_pushkins_then_start()) File "/usr/local/lib/python3.11/dist-packages/twisted/internet/defer.py", line 2014, in _inlineCallbacks result = context.run(gen.send, result) File "/usr/local/lib/python3.11/dist-packages/sygnal/sygnal.py", line 200, in make_pushkins_then_start self.pushkins[app_id] = await self._make_pushkin(app_id, app_cfg) File "/usr/local/lib/python3.11/dist-packages/sygnal/sygnal.py", line 195, in _make_pushkin return await clarse.create(app_name, self, app_config) File "/usr/local/lib/python3.11/dist-packages/sygnal/gcmpushkin.py", line 239, in create return cls(name, sygnal, config) File "/usr/local/lib/python3.11/dist-packages/sygnal/gcmpushkin.py", line 212, in __init__ session = aiohttp.ClientSession(trust_env=True, auto_decompress=False) File "/usr/local/lib/python3.11/dist-packages/aiohttp/client.py", line 294, in __init__ loop = loop or asyncio.get_running_loop() builtins.RuntimeError: no running event loop

Sobald man den androidblock (typ gcm) rauswirft, funktioniert zumindest der iOS push wieder.

Haben schon andere images getestet, aktuell ohne Erfolg. Sowohl mit 0.14.2-jammy-production als auch 0.14.3 tritt das Problem auf.

Zugeschlagen hat es im Rahmen eines Clusterupdates, als mutmaßlich das Image neu gezogen wurde.

Im Matrixraum wurde folgendes Problem in den Raum geworfen: Kai: Das scheint ein Bug im Upstream Sygnal zu sein aufgrund von Änderungen in Python/aiohttp (aiohttp#8555). Ein schneller Workaround wäre, falls das eine Option ist, proxy in der Konfiguration nicht zu setzten.

https://github.com/aio-libs/aiohttp/issues/8555

Leider benötigen wir in unserer Umgebung zwingend Proxy-Settings.

Über einen zeitnahen Fix wären wir dankbar, da unsere Produktion betroffen ist.

Viele Grüße

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information