[Synapse] Le service redémarre en boucle

Je viens de comprendre quelque chose en plus. Ce n’est pas le fait de me connecter sur le client qui fait planter le serveur. (Ça n’empeche pas de regarder comment corriger les erreurs CORS mais ça semble pas etre le déclencheur…)

Par contre, quand je me connecte sur le salon principal que j’utilise ( #travaildubois:artanux.be ), là ça fait sauter le serveur.

# journalctl | grep "May 21" | grep synapse
May 21 00:00:12 artanux.be logrotate[601825]: error: skipping "/var/log/matrix-synapse/homeserver.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
May 21 00:00:12 artanux.be logrotate[601825]: error: skipping "/var/log/matrix-synapse/turnserver.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
May 21 00:04:51 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_data-data-home-synapse.mount: Succeeded.
May 21 00:41:28 artanux.be sudo[612457]:     root : PWD=/ ; USER=root ; COMMAND=/usr/bin/test ! -f /etc/yunohost/apps/synapse/scripts/backup
May 21 00:41:29 artanux.be sudo[612466]:     root : PWD=/ ; USER=root ; COMMAND=/usr/bin/yunohost backup create -n auto_synapse --method borg_app --apps synapse
May 21 00:41:38 artanux.be sudo[612897]:     root : PWD=/var/lib/postgresql ; USER=postgres ; COMMAND=/bin/bash --login -c pg_dump synapse
May 21 00:44:19 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_synapse-apps-synapse-backup-var-log-matrix\x2dsynapse.mount: Succeeded.
May 21 00:44:19 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_synapse-apps-synapse-backup-home-yunohost.app-synapse.mount: Succeeded.
May 21 00:44:20 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_synapse-apps-synapse-backup-etc-matrix\x2dsynapse.mount: Succeeded.
May 21 00:44:20 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_synapse-apps-synapse-backup-var-www-synapse.mount: Succeeded.
May 21 00:44:20 artanux.be systemd[1]: home-yunohost.backup-tmp-auto_synapse-apps-synapse-backup-opt-yunohost-matrix\x2dsynapse.mount: Succeeded.
May 21 12:08:39 artanux.be systemd[1]: synapse.service: Main process exited, code=dumped, status=4/ILL
May 21 12:08:39 artanux.be systemd[1]: synapse.service: Failed with result 'core-dump'.
May 21 12:08:39 artanux.be systemd[1]: synapse.service: Consumed 19min 33.922s CPU time.
May 21 12:08:42 artanux.be systemd[1]: synapse.service: Scheduled restart job, restart counter is at 7.
May 21 12:08:42 artanux.be systemd[1]: synapse.service: Consumed 19min 33.922s CPU time.
May 21 12:08:55 artanux.be python[634232]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
May 21 12:09:07 artanux.be python[634249]: 2024-05-21 12:09:07,391 - root - 356 - WARNING - main- Server /opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/app/homeserver.py version 1.105.1
May 21 12:09:07 artanux.be python[634249]: 2024-05-21 12:09:07,393 - root - 362 - WARNING - main- Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
May 21 12:09:08 artanux.be python[634249]: 2024-05-21 12:09:08,863 - synapse.app - 56 - WARNING - sentinel- Failed to listen on 0.0.0.0, continuing because listening on [::]

@Josue : Je vais lancer les commandes que tu dis dès que j’ai une minute pour le faire. Merci déjà pour le temps que tu me consacres.

[edit: Ok, je me suis connecté sur le serveur en SSH, j’ai vérifié que le service tournait et il tournait depuis 20h sans redémarrage.

# systemctl status synapse
● synapse.service - Synapse Matrix homeserver
     Loaded: loaded (/etc/systemd/system/synapse.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-05-21 12:25:32 UTC; 20h ago
    Process: 634913 ExecStartPre=/opt/yunohost/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/>
   Main PID: 634920 (python)
     Memory: 99.1M
        CPU: 24min 54.021s
     CGroup: /system.slice/synapse.service
             └─634920 /opt/yunohost/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse/conf.d/

May 21 13:42:39 artanux.be python[634920]: 2024-05-21 13:42:39,827 - synapse.federation.sender.per_destination_queue - 417 - WARNING - federation_transaction_transmission_loop-872- TX [disro>
May 21 13:45:11 artanux.be python[634920]: 2024-05-21 13:45:11,905 - synapse.federation.sender.per_destination_queue - 417 - WARNING - federation_transaction_transmission_loop-891- TX [hacke>
May 21 18:11:50 artanux.be python[634920]: 2024-05-21 18:11:49,988 - synapse.http.server - 782 - WARNING - GET-3031- Not sending response to request <XForwardedForRequest at 0x7f73dc07c4c0 m>
May 22 06:47:14 artanux.be python[634920]: 2024-05-22 06:47:14,260 - synapse.http.server - 782 - WARNING - GET-3225- Not sending response to request <XForwardedForRequest at 0x7f73dc1b4760 m>
May 22 06:59:38 artanux.be python[634920]: 2024-05-22 06:59:38,610 - synapse.http.server - 782 - WARNING - GET-3230- Not sending response to request <XForwardedForRequest at 0x7f73dc1d34c0 m>
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,101 - synapse.media._base - 300 - WARNING - GET-3379- Failed to write to consumer: <class 'Exception'> Consumer asked us to sto>
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,160 - synapse.media._base - 300 - WARNING - GET-3378- Failed to write to consumer: <class 'Exception'> Consumer asked us to sto>
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,164 - synapse.media._base - 300 - WARNING - GET-3380- Failed to write to consumer: <class 'Exception'> Consumer asked us to sto>
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,169 - synapse.media._base - 300 - WARNING - GET-3381- Failed to write to consumer: <class 'Exception'> Consumer asked us to sto>
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,215 - synapse.media._base - 300 - WARNING - GET-3384- Failed to write to consumer: <class 'Exception'> Consumer asked us to sto>

J’ai lancé les deux commandes proposées par @Josue :

# journalctl -n0 -f
-- Journal begins at Wed 2023-10-18 08:33:38 UTC. --
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,101 - synapse.media._base - 300 - WARNING - GET-3379- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,160 - synapse.media._base - 300 - WARNING - GET-3378- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,164 - synapse.media._base - 300 - WARNING - GET-3380- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,169 - synapse.media._base - 300 - WARNING - GET-3381- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:52:38 artanux.be python[634920]: 2024-05-22 08:52:38,215 - synapse.media._base - 300 - WARNING - GET-3384- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:52:49 artanux.be slapd[704]: connection_read(28): no connection!
May 22 08:53:37 artanux.be vaultwarden[466]: [2024-05-22 08:53:37.426][request][INFO] GET /notifications/hub?access_token=eyJ0eXAiOiJKV1QiL
May 22 08:53:37 artanux.be vaultwarden[466]: [2024-05-22 08:53:37.428][response][INFO] (web_files) GET /<p..> [10] => 404 Not Found
May 22 08:53:42 artanux.be sshd[682324]: Connection from 212.239.186.127 port 36828 on 5.196.88.19 port 1803 rdomain ""
May 22 08:53:42 artanux.be slapd[704]: slap_global_control: unrecognized control: 1.3.6.1.4.1.4203.666.5.16
May 22 08:53:43 artanux.be sshd[682324]: Accepted key ED25519 SHA256:/9pl6RwjSPLNuZ1V7SWJhKs6gfm4qfvQK+RVZkVdfV0 found at /home/admin/.ssh/authorized_keys:4
May 22 08:53:43 artanux.be sshd[682324]: Postponed publickey for admin from 212.239.186.127 port 36828 ssh2 [preauth]
May 22 08:53:43 artanux.be sshd[682324]: Accepted key ED25519 SHA256:/9pl6RwjSPLNuZ1V7SWJhKs6gfm4qfvQK+RVZkVdfV0 found at /home/admin/.ssh/authorized_keys:4
May 22 08:53:43 artanux.be sshd[682324]: Accepted publickey for admin from 212.239.186.127 port 36828 ssh2: ED25519 SHA256:/9pl6RwjSPLNuZ1V7SWJhKs6gfm4qfvQK+RVZkVdfV0
May 22 08:53:43 artanux.be sshd[682324]: pam_unix(sshd:session): session opened for user admin(uid=1007) by (uid=0)
May 22 08:53:43 artanux.be sshd[682324]: User child is on pid 682335
May 22 08:53:45 artanux.be sshd[682335]: Starting session: shell on pts/2 for admin from 212.239.186.127 port 36828 id 0
May 22 08:53:54 artanux.be su[682341]: pam_unix(su:auth): authentication failure; logname=admin uid=1007 euid=0 tty=pts/2 ruser=admin rhost=  user=simon
May 22 08:53:54 artanux.be slapd[704]: slap_global_control: unrecognized control: 1.3.6.1.4.1.42.2.27.8.5.1
May 22 08:53:54 artanux.be su[682341]: (to simon) admin on pts/2
May 22 08:53:54 artanux.be su[682341]: pam_unix(su:session): session opened for user simon(uid=19807) by admin(uid=1007)
May 22 08:54:00 artanux.be sudo[682352]: pam_unix(sudo:auth): authentication failure; logname=admin uid=19807 euid=0 tty=/dev/pts/2 ruser=simon rhost=  user=simon
May 22 08:54:00 artanux.be slapd[704]: slap_global_control: unrecognized control: 1.3.6.1.4.1.42.2.27.8.5.1
May 22 08:54:00 artanux.be sudo[682352]:    simon : TTY=pts/2 ; PWD=/home/admin ; USER=root ; COMMAND=/bin/bash
May 22 08:54:00 artanux.be sudo[682352]: pam_unix(sudo:session): session opened for user root(uid=0) by admin(uid=19807)
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,215 - synapse.media._base - 300 - WARNING - GET-3487- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,244 - synapse.media._base - 300 - WARNING - GET-3486- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,248 - synapse.media._base - 300 - WARNING - GET-3488- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,278 - synapse.media._base - 300 - WARNING - GET-3489- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,282 - synapse.media._base - 300 - WARNING - GET-3492- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,302 - synapse.media._base - 300 - WARNING - GET-3494- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,306 - synapse.media._base - 300 - WARNING - GET-3495- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:17 artanux.be python[634920]: 2024-05-22 08:54:17,346 - synapse.media._base - 300 - WARNING - GET-3490- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:24 artanux.be python[634920]: 2024-05-22 08:54:24,937 - synapse.media._base - 300 - WARNING - GET-3509- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:24 artanux.be python[634920]: 2024-05-22 08:54:24,941 - synapse.media._base - 300 - WARNING - GET-3510- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:24 artanux.be python[634920]: 2024-05-22 08:54:24,945 - synapse.media._base - 300 - WARNING - GET-3513- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:24 artanux.be python[634920]: 2024-05-22 08:54:24,950 - synapse.media._base - 300 - WARNING - GET-3520- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:27 artanux.be python[634920]: 2024-05-22 08:54:27,163 - synapse.media._base - 300 - WARNING - GET-3541- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:27 artanux.be python[634920]: 2024-05-22 08:54:27,196 - synapse.media._base - 300 - WARNING - GET-3542- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:27 artanux.be python[634920]: 2024-05-22 08:54:27,218 - synapse.media._base - 300 - WARNING - GET-3544- Failed to write to consumer: <class 'Exception'> Consumer asked us to stop producing
May 22 08:54:31 artanux.be kernel: traps: python[634920] trap invalid opcode ip:7f73a53595f6 sp:7ffe2103b250 error:0 in etree.cpython-39-x86_64-linux-gnu.so[7f73a5327000+323000]
May 22 08:54:39 artanux.be systemd[1]: synapse.service: Main process exited, code=dumped, status=4/ILL
May 22 08:54:39 artanux.be systemd[1]: synapse.service: Failed with result 'core-dump'.
May 22 08:54:39 artanux.be systemd[1]: synapse.service: Consumed 25min 639ms CPU time.
May 22 08:54:41 artanux.be postfix/smtpd[682475]: connect from unknown[178.215.236.177]
May 22 08:54:42 artanux.be postfix/smtpd[682475]: lost connection after AUTH from unknown[178.215.236.177]
May 22 08:54:42 artanux.be postfix/smtpd[682475]: disconnect from unknown[178.215.236.177] ehlo=1 auth=0/1 commands=1/2
May 22 08:54:42 artanux.be systemd[1]: synapse.service: Scheduled restart job, restart counter is at 9.
May 22 08:54:42 artanux.be systemd[1]: Stopped Synapse Matrix homeserver.
May 22 08:54:42 artanux.be systemd[1]: synapse.service: Consumed 25min 639ms CPU time.
May 22 08:54:42 artanux.be systemd[1]: Starting Synapse Matrix homeserver...
May 22 08:54:54 artanux.be python[682480]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
May 22 08:54:54 artanux.be systemd[1]: Started Synapse Matrix homeserver.
May 22 08:55:01 artanux.be CRON[682513]: pam_unix(cron:session): session opened for user nextcloud(uid=999) by (uid=0)
May 22 08:55:01 artanux.be CRON[682514]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 22 08:55:01 artanux.be CRON[682524]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
May 22 08:55:01 artanux.be CRON[682515]: pam_unix(cron:session): session opened for user nextcloud(uid=999) by (uid=0)
May 22 08:55:01 artanux.be CRON[682525]: (nextcloud) CMD (/usr/bin/php8.2 --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php)
May 22 08:55:01 artanux.be CRON[682528]: (nextcloud) CMD (php -f /var/www/nextcloud/cron.php)
May 22 08:55:01 artanux.be CRON[682514]: pam_unix(cron:session): session closed for user root
May 22 08:55:01 artanux.be CRON[682515]: pam_unix(cron:session): session closed for user nextcloud
May 22 08:55:01 artanux.be postfix/pickup[680878]: EB82CBCA646: uid=999 from=<nextcloud>
May 22 08:55:02 artanux.be postsrsd[682539]: srs_forward: <nextcloud@artanux.be> not rewritten: Domain excluded by policy
May 22 08:55:02 artanux.be postfix/cleanup[682533]: EB82CBCA646: message-id=<20240522085501.EB82CBCA646@artanux.be>
May 22 08:55:02 artanux.be postfix/qmgr[465089]: EB82CBCA646: from=<nextcloud@artanux.be>, size=694, nrcpt=1 (queue active)
May 22 08:55:02 artanux.be dovecot[682542]: lda(nextcloud@artanux.be)<682542><bSxvE+ayTWYuagoA8yMI4Q>: sieve: msgid=<20240522085501.EB82CBCA646@artanux.be>: stored mail into mailbox 'INBOX'
May 22 08:55:02 artanux.be postfix/pipe[682541]: EB82CBCA646: to=<nextcloud@artanux.be>, orig_to=<nextcloud>, relay=dovecot, delay=0.94, delays=0.24/0.03/0/0.67, dsn=2.0.0, status=sent (delivered via dovecot service)
May 22 08:55:02 artanux.be postfix/qmgr[465089]: EB82CBCA646: removed
May 22 08:55:05 artanux.be python[682505]: 2024-05-22 08:55:05,068 - root - 355 - WARNING - main- ***** STARTING SERVER *****
May 22 08:55:05 artanux.be python[682505]: 2024-05-22 08:55:05,088 - root - 356 - WARNING - main- Server /opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/app/homeserver.py version 1.105.1
May 22 08:55:05 artanux.be python[682505]: 2024-05-22 08:55:05,091 - root - 361 - WARNING - main- Copyright (c) 2023 New Vector, Inc
May 22 08:55:05 artanux.be python[682505]: 2024-05-22 08:55:05,094 - root - 362 - WARNING - main- Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
May 22 08:55:06 artanux.be python[682505]: 2024-05-22 08:55:06,812 - synapse.app - 56 - WARNING - sentinel- Failed to listen on 0.0.0.0, continuing because listening on [::]
May 22 08:55:20 artanux.be CRON[682513]: pam_unix(cron:session): session closed for user nextcloud
May 22 08:56:12 artanux.be kernel: traps: python[682505] trap invalid opcode ip:7fe080f995f6 sp:7fffbd6af930 error:0 in etree.cpython-39-x86_64-linux-gnu.so[7fe080f67000+323000]
May 22 08:56:13 artanux.be systemd[1]: synapse.service: Main process exited, code=dumped, status=4/ILL
May 22 08:56:13 artanux.be systemd[1]: synapse.service: Failed with result 'core-dump'.
May 22 08:56:13 artanux.be systemd[1]: synapse.service: Consumed 24.956s CPU time.
May 22 08:56:16 artanux.be systemd[1]: synapse.service: Scheduled restart job, restart counter is at 10.
May 22 08:56:16 artanux.be systemd[1]: Stopped Synapse Matrix homeserver.
May 22 08:56:16 artanux.be systemd[1]: synapse.service: Consumed 24.956s CPU time.
May 22 08:56:16 artanux.be systemd[1]: Starting Synapse Matrix homeserver...
May 22 08:56:24 artanux.be python[682600]: File '/etc/matrix-synapse/conf.d/app_service.yaml' is empty or doesn't parse into a key-value map. IGNORING.
May 22 08:56:25 artanux.be systemd[1]: Started Synapse Matrix homeserver.
May 22 08:56:35 artanux.be python[682607]: 2024-05-22 08:56:35,393 - root - 355 - WARNING - main- ***** STARTING SERVER *****
May 22 08:56:35 artanux.be python[682607]: 2024-05-22 08:56:35,394 - root - 356 - WARNING - main- Server /opt/yunohost/matrix-synapse/lib/python3.9/site-packages/synapse/app/homeserver.py version 1.105.1
May 22 08:56:35 artanux.be python[682607]: 2024-05-22 08:56:35,395 - root - 361 - WARNING - main- Copyright (c) 2023 New Vector, Inc
May 22 08:56:35 artanux.be python[682607]: 2024-05-22 08:56:35,396 - root - 362 - WARNING - main- Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse
May 22 08:56:36 artanux.be python[682607]: 2024-05-22 08:56:36,771 - synapse.app - 56 - WARNING - sentinel- Failed to listen on 0.0.0.0, continuing because listening on [::]
May 22 08:56:49 artanux.be vaultwarden[466]: [2024-05-22 08:56:49.123][request][INFO] GET /notifications/hub?access_token=eyJ0eXAiOiJKV1QiL
May 22 08:56:49 artanux.be vaultwarden[466]: [2024-05-22 08:56:49.125][response][INFO] (web_files) GET /<p..> [10] => 404 Not Found

Et l’autre commande :

# tail -f -n0 /var/log/matrix-synapse/homeserver.log
2024-05-22 08:52:03,668 - synapse.federation.sender - 1019 - INFO - wake_destinations_needing_catchup-1225- Destination vagin.gratis has outstanding catch-up, waking up.
2024-05-22 08:52:08,673 - synapse.federation.sender - 1019 - INFO - wake_destinations_needing_catchup-1225- Destination vagin.gratis has outstanding catch-up, waking up.
2024-05-22 08:52:13,319 - synapse.storage.databases.main.event_push_actions - 1401 - INFO - rotate_notifs-2452- Rotating notifications
2024-05-22 08:52:13,324 - synapse.storage.databases.main.event_push_actions - 1605 - INFO - rotate_notifs-2452- Rotating notifications up to: 33238
2024-05-22 08:52:13,332 - synapse.storage.databases.main.event_push_actions - 1691 - INFO - rotate_notifs-2452- Rotating notifications, handling 0 rows
2024-05-22 08:52:13,354 - synapse.storage.databases.main.event_push_actions - 1776 - INFO - rotate_notifs-2452- Rotating notifications, deleted 0 push actions
2024-05-22 08:52:13,878 - synapse.util.caches.lrucache - 218 - INFO - LruCache._expire_old_entries-2452- Dropped 0 items from caches
2024-05-22 08:52:14,114 - synapse.access.http.8008 - 472 - INFO - GET-3342- 212.239.186.127 - 8008 - {@simon:artanux.be} Processed request: 0.021sec/0.003sec (0.014sec, 0.001sec) (0.002sec/0.005sec/2) 419B 200 "GET /_matrix/client/r0/sync?filter=3&set_presence=offline&timeout=6000&since=s33238_2494659_76_68160_4714_4_2250_141879_0_3 HTTP/1.0" "Element/1.6.14 (Fairphone FP4; Android 12; e_FP4-user 12 SQ3A.220705.004 eng.root.20240506.184134; Flavour FDroid; MatrixAndroidSdk2 1.6.14)" [0 dbevts]
2024-05-22 08:52:33,511 - synapse.access.http.8008 - 472 - INFO - GET-3343- 212.239.186.127 - 8008 - {None} Processed request: 0.002sec/0.004sec (0.001sec, 0.000sec) (0.000sec/0.000sec/0) 928B 200 "GET /_matrix/client/versions HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/118.0.5993.159 Safari/537.36.0" [0 dbevts]
2024-05-22 08:52:34,198 - synapse.http.server - 130 - INFO - GET-3344- <XForwardedForRequest at 0x7f73c46858e0 method='GET' uri='/_matrix/client/unstable/org.matrix.msc2965/auth_issuer' clientproto='HTTP/1.0' site='8008'> SynapseError: 404 - Unrecognized request
2024-05-22 08:52:34,202 - synapse.access.http.8008 - 472 - INFO - GET-3344- 212.239.186.127 - 8008 - {None} Processed request: 0.013sec/0.002sec (0.004sec, 0.000sec) (0.000sec/0.000sec/0) 59B 404 "GET /_matrix/client/unstable/org.matrix.msc2965/auth_issuer HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/118.0.5993.159 Safari/537.36.0" [0 dbevts]
2024-05-22 08:52:34,502 - synapse.access.http.8008 - 472 - INFO - GET-3346- 212.239.186.127 - 8008 - {@simon:artanux.be} Processed request: 0.034sec/0.002sec (0.008sec, 0.001sec) (0.003sec/0.024sec/2) 2B 200 "GET /_matrix/client/v3/thirdparty/protocols HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/118.0.5993.159 Safari/537.36.0" [0 dbevts]
2024-05-22 08:52:35,295 - synapse.access.http.8008 - 472 - INFO - GET-3350- 212.239.186.127 - 8008 - {@simon:artanux.be} Processed request: 0.016sec/0.002sec (0.003sec, 0.007sec) (0.003sec/0.007sec/2) 566B 200 "GET /_matrix/client/v3/room_keys/version HTTP/1.0" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/118.0.5993.159 Safari/537.36.0" [0 dbevts]

(Log complet : PrivateBin )

Je sais pas ce que c’est “vagin.gratis”… il y a du spam sur Matrix ? :thinking:

Dans la configuration, j’ai passé “url_preview_enabled” à false :

# grep preview /etc/matrix-synapse/homeserver.yaml 
url_preview_enabled: false

Le service n’a plus redémarré depuis le 22/05/2024 à 09:02:12 UTC.

La solution était apparemment de mettre “url_preview_enabled” à false dans
“/etc/matrix-synapse/homeserver.yaml”.

Merci tetsumaki qui m’a orienté vers cette solution.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.