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.

Getting version number of running synapse is unreliable #3220

@richvdh

Description

@richvdh

UPGRADE.rst and ISSUE_TEMPLATE.md both suggest inspecting the Server header of a REST response to get the running synapse version, which doesn't work for people using a reverse-proxy which overwrites the Server header.

Other popular options include:

  • using the federation/v1/version endpoint (doesn't work for those who don't have federation endpoints exposed on the client port)
  • reading the logs
  • inspecting synapse/__init__.py

None of those are foolproof. Maybe we should just add something to the admin api to give the running version number?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Z-Help-WantedWe know exactly how to fix this issue, and would be grateful for any contributionz-minor(Deprecated Label)z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions