Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server keeps trying to handle device list update on a server that doesn't exists anymore (301: Moved Permanently) #8983

Open
matrixbot opened this issue Dec 18, 2023 · 1 comment

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 18, 2023

This issue has been migrated from #8983.


Description

2020-12-22 13:01:10,115 - root - 319 - WARNING - None - ***** STARTING SERVER *****,
2020-12-22 13:01:10,118 - root - 320 - WARNING - None - Server /usr/local/lib/python3.8/site-packages/synapse/app/homeserver.py version 1.24.0,
2020-12-22 13:01:28,935 - synapse.http.matrixfederationclient - 577 - WARNING - federation_transaction_transmission_loop-0 - {PUT-O-1} [tyjgr.com] Request failed: PUT matrix://tyjgr.com/_matrix/federation/v1/send/1608652870402: HttpResponseException('302: Found'),
2020-12-22 13:01:28,941 - synapse.federation.sender.transaction_manager - 177 - WARNING - federation_transaction_transmission_loop-0 - TX [tyjgr.com] {1608652870402} Failed to send event $misioIClpmW5V_1KW1sExYKDY_idMmB1yx-Lleiyekg,
2020-12-22 13:01:41,490 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-0 - {GET-O-24} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:01:41,494 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-0 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:02:10,600 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-1 - {GET-O-56} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:02:10,605 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-1 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:02:40,618 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-2 - {GET-O-87} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:02:40,624 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-2 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:03:10,611 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-3 - {GET-O-121} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:03:10,617 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-3 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:03:40,582 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-4 - {GET-O-153} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:03:40,587 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-4 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:04:10,589 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-5 - {GET-O-187} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:04:10,593 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-5 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:04:40,580 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-6 - {GET-O-220} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:04:40,584 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-6 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:05:10,576 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-7 - {GET-O-252} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:05:10,580 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-7 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:05:40,600 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-8 - {GET-O-284} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:05:40,604 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-8 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:06:10,590 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-9 - {GET-O-317} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:06:10,595 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-9 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:06:40,587 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-10 - {GET-O-348} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:06:40,595 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-10 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:07:10,616 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-11 - {GET-O-380} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:07:10,620 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-11 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:07:40,574 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-12 - {GET-O-412} [orthool.com] Request failed: GET matrix://orthool.com/_matrix/federation/v1/user/devices/%40lucasmendes%3Aorthool.com: HttpResponseException('301: Moved Permanently'),
2020-12-22 13:07:40,577 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-12 - Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,
2020-12-22 13:07:43,925 - synapse.http.matrixfederationclient - 577 - WARNING - _maybe_retry_device_resync-12 - {GET-O-417} [sascha-fuchs.com] Request failed: GET matrix://sascha-fuchs.com/_matrix/federation/v1/user/devices/%40palerius%3Asascha-fuchs.com: HttpResponseException('401: Unauthorized'),
2020-12-22 13:07:43,931 - synapse.handlers.device - 857 - WARNING - _maybe_retry_device_resync-12 - Failed to handle device list update for @palerius:sascha-fuchs.com: 401: Unauthorized,
2020-12-22 13:07:43,938 - synapse.logging.context - 70 - WARNING - _maybe_retry_device_resync-12 - Re-starting finished log context _maybe_retry_device_resync-12,

Steps to reproduce

  • during normal server operation, everything works but log gets filled up with retry messages:
    Failed to handle device list update for @lucasmendes:orthool.com: 301: Moved Permanently,

Version information

  • Homeserver:

smartceva.com

  • Version:
    1.24.0
  • Install method:

portainer

  • Platform:

docker

@matrixbot matrixbot changed the title Dummy issue server keeps trying to handle device list update on a server that doesn't exists anymore (301: Moved Permanently) Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
@Haui1112
Copy link

Haui1112 commented Apr 23, 2024

I'm encountering this issue as well. Keeps spamming my logs. Any advice?

Would it help to block or ban that person? Any help is appreciated.


2024-04-23 09:46:13,244 - synapse.handlers.device - 1396 - WARNING - _maybe_retry_device_resync-5615 - Failed to handle device list update for @eg:matrix.ericgreer.info: 403: Forbidden

2024-04-23 09:46:43,233 - synapse.http.matrixfederationclient - 846 - WARNING - _maybe_retry_device_resync-5616 - {GET-O-76584} [matrix.ericgreer.info] Request failed: GET matrix-federation://matrix.ericgreer.info/_matrix/federation/v1/user/devices/%40eg%3Amatrix.ericgreer.info: HttpResponseException('403: Forbidden')

2024-04-23 09:46:43,233 - synapse.handlers.device - 1396 - WARNING - _maybe_retry_device_resync-5616 - Failed to handle device list update for @eg:matrix.ericgreer.info: 403: Forbidden

2024-04-23 09:47:13,234 - synapse.http.matrixfederationclient - 846 - WARNING - _maybe_retry_device_resync-5617 - {GET-O-76585} [matrix.ericgreer.info] Request failed: GET matrix-federation://matrix.ericgreer.info/_matrix/federation/v1/user/devices/%40eg%3Amatrix.ericgreer.info: HttpResponseException('403: Forbidden')

2024-04-23 09:47:13,234 - synapse.handlers.device - 1396 - WARNING - _maybe_retry_device_resync-5617 - Failed to handle device list update for @eg:matrix.ericgreer.info: 403: Forbidden

2024-04-23 09:47:43,234 - synapse.http.matrixfederationclient - 846 - WARNING - _maybe_retry_device_resync-5618 - {GET-O-76586} [matrix.ericgreer.info] Request failed: GET matrix-federation://matrix.ericgreer.info/_matrix/federation/v1/user/devices/%40eg%3Amatrix.ericgreer.info: HttpResponseException('403: Forbidden')

2024-04-23 09:47:43,234 - synapse.handlers.device - 1396 - WARNING - _maybe_retry_device_resync-5618 - Failed to handle device list update for @eg:matrix.ericgreer.info: 403: Forbidden

2024-04-23 09:48:13,231 - synapse.http.matrixfederationclient - 846 - WARNING - _maybe_retry_device_resync-5619 - {GET-O-76587} [matrix.ericgreer.info] Request failed: GET matrix-federation://matrix.ericgreer.info/_matrix/federation/v1/user/devices/%40eg%3Amatrix.ericgreer.info: HttpResponseException('403: Forbidden')


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants