Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update delegate.md #9342

Closed
wants to merge 1 commit into from
Closed

Conversation

OttoHollmann
Copy link

Maybe worth to explicitly mention to edit public_baseurl when using delegation.

Pull Request Checklist

  • Pull request is based on the develop branch

  • Pull request includes a changelog file. The entry should:

    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
  • Pull request includes a sign off

  • Code style is correct (run the linters)

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be missing something, but as far as I'm aware, the need for public_baseurl is unrelated to delegation?

@OttoHollmann
Copy link
Author

Let me describe steps which I done.
I've started with generating config files with docker run --rm synapse generate with env SYNAPSE_SERVER_NAME=example.com and verifyed that everything works well.
Then I've decided to setup delegation as described in delegation.md. Everything seemd to be OK except login, none of my client were able to login and after providing my credentials it freezed (I think with no error on server site). And then I spent more than hour debugging, why I can't login. Finally after setting up public_baseurl to synapse.example.com I was able to login.

So maybe it's unrelated, but I will appreciate it there will be some mention like in this PR. Or did I'm anything wrong and the recommended steps to setup delegation are different?

@richvdh
Copy link
Member

richvdh commented Feb 9, 2021

I just think it's unrelated to delegation, or indeed federation. You need a correct public_baseurl whether or not you are configuring federation, so it's a very odd thing to put in delegation.md.

It might be worth calling out the need for it in INSTALL.md, but on the other hand, #9313 should mean that it's no longer necessary to specify public_baseurl.

@OttoHollmann
Copy link
Author

Yes, it seems to be solved with PR you mentioned. But anyway, I think it is related, see:

# If a delegate is specified, the config option public_baseurl must also be filled out.

Or we can move it into FAQ section. It's up to you, you can close this issue it you don't want to merge this PR.

@richvdh
Copy link
Member

richvdh commented Mar 10, 2021

But anyway, I think it is related, see:

That's about delegating 3pid validation, not federation.

Thank you very much for contributing, but I'm afraid I feel like the change will confuse people, so I'm going to go ahead and close this.

@richvdh richvdh closed this Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants