Skip to content

Trying http://localhost:3050/r/matrix:matrix.org gives 500 error: 400 Bad Request: … M_UNRECOGNIZED … Unrecognized request #142

Closed as not planned
@sideshowbarker

Description

@sideshowbarker

Opening http://localhost:3050/r/matrix:matrix.org in my browser, I get a 500 response with this message:

Error: HTTP Error Response: 400 Bad Request: {"errcode":"M_UNRECOGNIZED","error":"Unrecognized request"}
    URL=https://matrix.org/_matrix/client/unstable/org.matrix.msc3030/rooms/!AEQOsKuwoGVVoVwfDj%3Amatrix.org/timestamp_to_event?ts=1668740893675&dir=b
    at checkResponseStatus (/Users/mike/workspace/matrix-public-archive/server/lib/fetch-endpoint.js:21:11)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchEndpoint (/Users/mike/workspace/matrix-public-archive/server/lib/fetch-endpoint.js:38:3)
    at async fetchEndpointAsJson (/Users/mike/workspace/matrix-public-archive/server/lib/fetch-endpoint.js:63:15)
    at async timestampToEvent (/Users/mike/workspace/matrix-public-archive/server/lib/matrix-utils/timestamp-to-event.js:25:45)
    at async /Users/mike/workspace/matrix-public-archive/server/tracing/trace-utilities.js:31:24
    at async /Users/mike/workspace/matrix-public-archive/server/routes/room-routes.js:123:32

My config/config.user-overrides.json looks like this:

{
  "basePort": "3050",
  "basePath": "http://localhost:3050",
  "matrixServerUrl": "https://matrix.org/",
  "matrixServerName": "matrix.org",
  "archiveMessageLimit": 100,
  "requestTimeoutMs": 25000,
  "logOutputFromChildProcesses": false,
  "testMatrixServerUrl1": "http://localhost:11008/",
  "testMatrixServerUrl2": "http://localhost:12008/",
  "matrixAccessToken": "[redacted]"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-OtherQuestions, user support, anything else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions