Nextcloud Talk Federated Call

Hello,

I have two Nextclouds running on AlmaLinux9.
Both are Federated. I can share documents and use Nextcloud Talk to chatt with federated user. I also can see the federated user.

My Problem ist how can I call someone with Nextcloud Talk?
Always one of them is connecting and the other user is "Waiting for others to join the call … "

server1.mydomain.com
server2.mydomain.com
and the coturn server are all in the same network without an Firewall

I have disabled the local firewall

I tried using a seperate server with coturn, but the problem remains the same.


first of all you need to enable federation call under Admin - settings - talk.

And then you should be able to establish a direct federated call to e.g. @userA@server2.mydomain.com if you are on server1.mydomain.com

I enabled it and I am able to join calls and i am able to chat with the federated user. but in the calls i think they do not fetch together, like you can see on the screenshot


tbh I haven’t tried that feature myself, yet. (I tried federated talk-chats under NC and it worked like a charm)

but most likely it’s no bug but a setup problem. Hence we would need more infos about your server, serverenvironment, additional software, webserver, etc.

BTW: in this case I consider especially helpful if those two servers are on the same IP.

All the servers are AlmaLinux 9
I am running apache and php 8.2
Database is MariaDB

both nextclouds are hosted on a ProxmoxVE

my config.php is following:

[root@next01 ~]# cat /var/www/html/nextcloud/config/config.php
<?php
$CONFIG = array (
  'instanceid' => 'ocmq4lznzygd',
  'passwordsalt' => '***************',
  'secret' => '***************',
  'trusted_domains' =>
  array (
    0 => '10.12.*.*',
    1 => 'nextcloud01.mydomain.com',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '30.0.2.2',
  'overwrite.cli.url' => 'https://nextcloud01.mydomain.com',
  'overwriteprotocol' => 'https',
  'forcehttps' => true,
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud_user',
  'dbpassword' => '***************',
  'installed' => true,
  'allow_local_remote_servers' => true,
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'maintenance' => false,
  'loglevel' => 1,

);

both nextcloud instances are in the same network with no firewall roules between.
Chat in nextcloud talk federated works well with no problem. I also dont get any log entrys when a call doesnt work.

would you mind, giving me your fed-id as a PM so we could try it from outside your network?

btw the servers are only for internal use…they are not reachable from outside

That’s ok. In general.

But at the same time that might be the problem.

I sometimes get following error in my Nextcloud log:

CannotReachRemoteException
cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see libcurl - Error Codes) for https://nextcloud01.mydomain.com/nextcloud/ocs/v2.php/apps/spreed/api/v4/room/ef5vn6mp/federation/active
Could not reach remote

I can ping server01 to server02
and also from server01 to server01

DNS resolution also works

I think it rather might has to do with selfsigned certificates

Indeed both servers need to trust each other.
On the other hand, you should also check if the server didn’t brute force protect each other …