Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Twitter returns a 404 for t.co links if "bot" is included in the user agent header #13120

@roughnecks

Description

@roughnecks

Description

Hello,
I have some RSS feed in a Matrix room and since a few days already, some Twitter links won't show any preview.

Steps to reproduce

  • Have some Twitter links posted to a room
  • Wait for links previews, which is failing

Homeserver

woodpeckersnest.space

Synapse Version

{"server":{"name":"Synapse","version":"1.61.0"}}

Installation Method

Other (please mention below)

Platform

I'm using the matrix-docker-ansible-deploy playbook on Debian 11 VPS

Relevant log output

Jun 27 14:51:26 pandora.woodpeckersnest.space matrix-synapse[1877154]: 2022-06-27 12:51:26,558 - synapse.http.client - 730 - WARNING - GET-5725 - Got 404 when downloading https://t.co/2rf0lRAc1Y
Jun 27 14:51:26 pandora.woodpeckersnest.space matrix-synapse[1877154]: 2022-06-27 12:51:26,890 - synapse.http.client - 730 - WARNING - GET-5726 - Got 404 when downloading http://pic.twitter.com/2rf0lRAc1Y

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-URL-PreviewIssues related to generating server-side previews of remote URLsS-TolerableMinor significance, cosmetic issues, low or no impact to users.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions