nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.61k stars 429 forks source link

Handle incompatible signaling servers between federated servers #12806

Open danxuliu opened 2 months ago

danxuliu commented 2 months ago

How to use GitHub


From #12604

Differences between the signaling servers in federated environments should be gracefully handled:

Should an additional configuration capability to know if both the remote and the federated servers are using the same signaling server mode (external or internal, as they are not compatible)? Or just rely on the signaling settings as described above? But even if a configuration capability can be used to know the signaling mode, how to handle different feature support between the external signaling servers?

crowetic commented 4 days ago

I have a similar issue I think...

I have two federated clouds, with configuration to allow both to communicate, and federated talk allowed, they initially allowed me to connect and add a federated user... However... one of the servers started having strange issues, so I re-installed the signaling server on another domain.

now the other federated server is looking for the previous domain for the signaling server on the other cloud.

I'll illustrate a little better...

c cloud - server with signaling on sig.c.com - signaling was changed to cs.c.com

q cloud - previously connected to c cloud and aware of signaling server on sig.c.com, but once c cloud changed to cs.c.com it is still looking for sig.c.com and failing to find it (because it isn't there anymore...) but it is giving a strange error related to SSL, saying the cert is invalid for that domain.

But it shouldn't be looking for the old sig.c.com anymore, it should be able to receive the updated cs.c.com signaling server, no?

nickvergessen commented 3 days ago

Can you try to restart both signaling servers? One might have wrongly cached data

crowetic commented 3 days ago

Can you try to restart both signaling servers? One might have wrongly cached data

Yes, I was planning on doing just that. I cannot restart one of them at the moment, as it is in use pretty heavily, but at first availability I will do so and reply with the results. Thank you for the reply!