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

Problem with federation (401 unauthorized) #17102

Closed
Froggy232 opened this issue Apr 17, 2024 · 4 comments
Closed

Problem with federation (401 unauthorized) #17102

Froggy232 opened this issue Apr 17, 2024 · 4 comments

Comments

@Froggy232
Copy link

Froggy232 commented Apr 17, 2024

Hi,
First, sorry for using github to ask for help, I just think it's a way better forms of solving issue than matrix but if you want I will go ask help here.
I deeply want to use synapse but I have trouble with settings federation. The logs tell me : https://privatebin.alrhome.net/?9493e6d872e96b1f#3WiTo89V38wG2Kz3GyKN1mWTf2U9Z8RgMCqroHTCuKSh

I think there is a problem with my reverse proxy, but I don't achieve to see where. My nginx conf file is here : https://privatebin.alrhome.net/?0b68394dd33f49a9#3rUqp8pLLnxSCkNGFkjhhzGy761ozW2F4osGcL4aqkM9

Finally, my synapse.container file is here : https://privatebin.alrhome.net/?812a5270670e3383#4n4KiiQXxssBPXKGtxUwBrfHdMBTRJhYmbrfoFQ4Jzsg

Thanks you a lot for your help, and for your wholesome software.
Regards

@9p4
Copy link

9p4 commented Apr 20, 2024

Does your server pass the federation tester

@Froggy232
Copy link
Author

Hi,
Thanks for the answer, so sorry for the long reply.
No, it doesn't pass the federation tester, it tell me that :
Get "https://82.67.85.247:8448/_matrix/key/v2/server": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

The full json log is here : https://federationtester.matrix.org/api/report?server_name=synapse.alrhome.net

Do I need to open the port 8448 in my router?
Thanks for your help!

@9p4
Copy link

9p4 commented May 4, 2024

If delegation is not set up (the default), Synapse needs port 8448 to be publicly available. As your pastes are no longer accessible, I can not tell if this is the actual problem. Could you please reupload them as an attachment to the issue?

@Froggy232
Copy link
Author

Sorry, everything works now, I just hadn't open the ports in my router.
Thanks you a lot for your help, and for your work on the software!

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

2 participants