❗ Unable to fetch rooms from room directory
This may be a temporary problem with the homeserver where the room directory lives (staging.quali.chat) or the remote homeserver that we are pulling from (staging.quali.chat). You can try adjusting your search or select a different homeserver to look at. If this problem persists, please check the homeserver status and with a homeserver admin first, then open a bug report with this whole section copy-pasted into the issue.
The exact error we ran into was:
Error: HTTP Error Response: 502 Bad Gateway: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
URL=https://server.staging.quali.chat/_matrix/client/v3/publicRooms?server=staging.quali.chat
at checkResponseStatus (/app/server/lib/fetch-endpoint.js:21:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async fetchEndpoint (/app/server/lib/fetch-endpoint.js:44:3)
at async fetchEndpointAsJson (/app/server/lib/fetch-endpoint.js:69:15)
at async requestPublicRooms (/app/server/lib/matrix-utils/fetch-accessible-rooms.js:31:36)
at async fetchAccessibleRooms (/app/server/lib/matrix-utils/fetch-accessible-rooms.js:91:28)
at async /app/server/tracing/trace-utilities.js:31:24
at async /app/server/routes/room-directory-routes.js:62:62The error occured with these search parameters:
{
"homeserver": "staging.quali.chat",
"paginationToken": "g6FtAqFy2SYhS1dGUmtjRWVmekxNeU5hYU1FOnN0YWdpbmcucXVhbGkuY2hhdKFkwg",
"limit": 9
}Why are we showing so many details?
We're showing as much detail as we know so you're not frustrated by a generic message with no feedback on how to move forward. This also makes it easier for you to write a bug report with all the details necessary for us to triage it.
Isn't this a security risk?
Not really. Usually, people are worried about returning details because it makes it easier for people to probe the system by getting better feedback about what's going wrong to craft exploits. But the Matrix Viewer is already open source so the details of the app are already public and you can run your own instance against the same homeservers that we are to find problems.
If you find any security vulnerabilities, please responsibly disclose them to us.
If you have ideas on how we can better present these errors, please create an issue.