Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some users are reporting being unable to remove threepids from their homeserver or from vector.im identity server #235

Closed
lampholder opened this issue Nov 22, 2019 · 2 comments
Assignees

Comments

@lampholder
Copy link
Member

Clicking 'Remove' to remove the address from the homeserver causes:
image

Unpublishing from the identity server gets you:
image

I don't know which action causes it, and I don't know where it appears in the unbinding flow, but at some point vector.im is calling /key/v2/server on the homeserver and getting back an unexpected and unhandled 404:
image

Possibly related:

@dklimpel
Copy link
Contributor

dklimpel commented Nov 28, 2019

I had the same issue on my own sydent/synapse server.
My solution was to add the path to the federation vhost:

server {
    listen 8448 ssl;
    server_tokens off;

...

    location /_matrix/federation {
        proxy_pass http://localhost:8009/_matrix/federation;
        proxy_set_header X-Forwarded-For $remote_addr;
    }

    location /_matrix/key/v2/server {
        proxy_pass http://localhost:8009/_matrix/key/v2/server;
        proxy_set_header X-Forwarded-For $remote_addr;
    }
}

@jaywink jaywink self-assigned this Dec 17, 2019
@jaywink
Copy link
Member

jaywink commented Dec 19, 2019

The mentioned reports came from Modular hosts. We identified a routing problem related to hosts that are set to not federate and using the vector.im IS. The fix has been rolled out to all Modular hosts, so I'm closing this issue.

As mentioned by @dklimpel , the solution when running in not federated mode is to add the keys listener resource which is normally included in the federation listener resource - see https://github.com/matrix-org/synapse/blob/master/docs/sample_config.yaml#L172

@jaywink jaywink closed this as completed Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants