Whatsapp Error: failed to POST /_matrix/media/v3/upload: M_UNKNOWN (HTTP 500)

Hello,

i have installed Synapse, Element and now the whatsapp Bridge. I can join a conversation with the bot but when i type “login” i got this Error Message from the Bot.

Failed to upload QR code: failed to POST /_matrix/media/v3/upload: M_UNKNOWN (HTTP 500): Internal server error

Here is the Error log from Yunohost.

{"level":"info","time":"2023-07-21T07:10:12.135809963+02:00","message":"Bridge initialization complete, starting..."}
{"level":"info","db_section":"main","current_version":57,"oldest_compatible_version":45,"latest_known_version":57,"time":"2023-07-21T07:10:12.146509932+02:00","message":"Database is up to date"}
{"level":"info","db_section":"matrix_state","current_version":5,"oldest_compatible_version":5,"latest_known_version":5,"time":"2023-07-21T07:10:12.148524506+02:00","message":"Database is up to date"}
{"level":"info","address":"0.0.0.0:8452","time":"2023-07-21T07:10:12.148663227+02:00","message":"Starting HTTP listener"}
{"level":"fatal","time":"2023-07-21T07:10:12.16850405+02:00","message":"The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?"}

yunohost log

Jul 21 07:09:59 mautrix-whatsapp[3717415]: 2023-07-21T07:09:59+02:00 INF Database is up to date current_version=57 db_section=main latest_known_version=57 oldest_compatible_version=45
Jul 21 07:09:59 mautrix-whatsapp[3717415]: 2023-07-21T07:09:59+02:00 INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
Jul 21 07:09:59 mautrix-whatsapp[3717415]: 2023-07-21T07:09:59+02:00 INF Starting HTTP listener address=0.0.0.0:8452
Jul 21 07:09:59 mautrix-whatsapp[3717415]: 2023-07-21T07:09:59+02:00 FTL The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?
Jul 21 07:09:59 systemd[1]: mautrix_whatsapp__2.service: Main process exited, code=exited, status=16/n/a
Jul 21 07:09:59 systemd[1]: mautrix_whatsapp__2.service: Failed with result 'exit-code'.
Jul 21 07:10:02 systemd[1]: mautrix_whatsapp__2.service: Scheduled restart job, restart counter is at 170.
Jul 21 07:10:02 systemd[1]: Stopped Matrix Whatsapp Bridge.
Jul 21 07:10:02 systemd[1]: Started Matrix Whatsapp Bridge.
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 INF Initializing bridge built_at="Jun 16 2023, 11:48:57" go_version=go1.20.4 name=mautrix-whatsapp version=0.8.6
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 INF Bridge initialization complete, starting...
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 INF Database is up to date current_version=57 db_section=main latest_known_version=57 oldest_compatible_version=45
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 INF Starting HTTP listener address=0.0.0.0:8452
Jul 21 07:10:02 mautrix-whatsapp[3717483]: 2023-07-21T07:10:02+02:00 FTL The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?
Jul 21 07:10:02 systemd[1]: mautrix_whatsapp__2.service: Main process exited, code=exited, status=16/n/a
Jul 21 07:10:02 systemd[1]: mautrix_whatsapp__2.service: Failed with result 'exit-code'.
Jul 21 07:10:05 systemd[1]: mautrix_whatsapp__2.service: Scheduled restart job, restart counter is at 171.
Jul 21 07:10:05 systemd[1]: Stopped Matrix Whatsapp Bridge.
Jul 21 07:10:05 systemd[1]: Started Matrix Whatsapp Bridge.
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 INF Initializing bridge built_at="Jun 16 2023, 11:48:57" go_version=go1.20.4 name=mautrix-whatsapp version=0.8.6
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 INF Bridge initialization complete, starting...
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 INF Database is up to date current_version=57 db_section=main latest_known_version=57 oldest_compatible_version=45
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 INF Starting HTTP listener address=0.0.0.0:8452
Jul 21 07:10:05 mautrix-whatsapp[3717556]: 2023-07-21T07:10:05+02:00 FTL The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?
Jul 21 07:10:05 systemd[1]: mautrix_whatsapp__2.service: Main process exited, code=exited, status=16/n/a
Jul 21 07:10:05 systemd[1]: mautrix_whatsapp__2.service: Failed with result 'exit-code'.
Jul 21 07:10:08 systemd[1]: mautrix_whatsapp__2.service: Scheduled restart job, restart counter is at 172.
Jul 21 07:10:08 systemd[1]: Stopped Matrix Whatsapp Bridge.
Jul 21 07:10:08 systemd[1]: Started Matrix Whatsapp Bridge.
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 INF Initializing bridge built_at="Jun 16 2023, 11:48:57" go_version=go1.20.4 name=mautrix-whatsapp version=0.8.6
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 INF Bridge initialization complete, starting...
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 INF Database is up to date current_version=57 db_section=main latest_known_version=57 oldest_compatible_version=45
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 INF Starting HTTP listener address=0.0.0.0:8452
Jul 21 07:10:08 mautrix-whatsapp[3717623]: 2023-07-21T07:10:08+02:00 FTL The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?
Jul 21 07:10:08 systemd[1]: mautrix_whatsapp__2.service: Main process exited, code=exited, status=16/n/a
Jul 21 07:10:08 systemd[1]: mautrix_whatsapp__2.service: Failed with result 'exit-code'.
Jul 21 07:10:12 systemd[1]: mautrix_whatsapp__2.service: Scheduled restart job, restart counter is at 173.
Jul 21 07:10:12 systemd[1]: Stopped Matrix Whatsapp Bridge.
Jul 21 07:10:12 systemd[1]: Started Matrix Whatsapp Bridge.
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 INF Initializing bridge built_at="Jun 16 2023, 11:48:57" go_version=go1.20.4 name=mautrix-whatsapp version=0.8.6
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 INF Bridge initialization complete, starting...
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 INF Database is up to date current_version=57 db_section=main latest_known_version=57 oldest_compatible_version=45
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 INF Database is up to date current_version=5 db_section=matrix_state latest_known_version=5 oldest_compatible_version=5
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 INF Starting HTTP listener address=0.0.0.0:8452
Jul 21 07:10:12 mautrix-whatsapp[3717693]: 2023-07-21T07:10:12+02:00 FTL The as_token was accepted, but the /register request was not. Are the homeserver domain and username template in the config correct, and do they match the values in the registration?
Jul 21 07:10:12 systemd[1]: mautrix_whatsapp__2.service: Main process exited, code=exited, status=16/n/a
Jul 21 07:10:12 systemd[1]: mautrix_whatsapp__2.service: Failed with result 'exit-code'.

has anyone i idea whats happen here?

Yunohost 11.2.2

Thanks

Lars

Same issue here, even after upgrading to 0.9.0

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