Synapse taking too much resources, and login issues when trying to debug it

Hey @Mamie, thanks for your suggestion. I’m trying to check out synapse admin but it’s giving some difficulties.
Installing worked fine, but then I can’t log into it. As soon as I enter the homeserver url, I can only click onto “sign in with sso”, I do it log in, get redirected to the sso portal, and nothing more, if I go back to synapse admin it asks again to sign in.

I checked all I could think could cause issues.

  • “Synapse (Server administration API.)” permission is given to visitors, sounds a bit extreme to me, but I didn’t do it, maybe installing Synapse admin did it.
  • The user I try to log in with is a synapse administrator (at least I ran the following command: su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user2beAdmin:domain.tld'" with the appropriate username and domain).

I’m running out of ideas of what could be going wrong. But it definitely seems to be that Synapse admin doesn’t manage to have access to synapse administration api, since in the web console it logs: GET https://synapsedomain.tld/_synapse/admin/v2/users?deactivated=false&dir=f&from=0&guests=true&limit=10&order_by=name [HTTP/2 401 Unauthorized 165ms]

Well I came with a problem, now I found some more of them :wink: