Nextcloud Talk (web) closes chats with errors in console (client-side)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 16.01RC1
Operating system and version (eg, Ubuntu 17.04): KDE Neon (newest)
Apache or nginx version (eg, Apache 2.4.25): Nextcloud from docker 16.01RC1 with Apache
PHP version (eg, 7.1):

The issue you are facing:
Nextcloud Talk closes conversation after few failed attempts of signalling. There are 404 errors in DevTools. Server has configured custom TURN/STUN and video conversations between networks works great. Signalling server is missing in settings and I have no idea how to configure it.
The issue is a problem for publicly linked chats, where not technical users are uncommon with Nextcloud


Is this the first time you’ve seen this error? (Y/N):N

Steps to replicate it:
Open

  1. Nextcloud Talk
  2. Create public conversation, click link in Incognito Mode with Devtools opened
  3. Watch console for 404 errors.
  4. After message “stop pulling messages after repeated failures” chat closes. If it’s opened by public link, it redirects user to login screen.
    The output of your Nextcloud log in Admin > Logging:
No backend logs related to this.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'trusted_proxies' => 
  array (
    0 => '172.29.12.2',
  ),
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'redis',
    'port' => 6379,
  ),
  'passwordsalt' => 'secret',
  'secret' => 'secret',
  'trusted_domains' => 
  array (
    0 => 'tcdintranet.icu',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '16.0.1.0',
  'dbname' => 'cloud',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => '',
  'dbuser' => 'secret',
  'dbpassword' => 'secret',
  'installed' => true,
  'instanceid' => 'ocz5y91arj74',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'notneeded',
  'mail_domain' => 'notneeded',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'notneeded',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'notneeded',
  'mail_smtppassword' => 'notneeded',
  'maintenance' => false,
  'updater.release.channel' => 'beta',
  'overwritehost' => 'tcdintranet.icu',
  'overwriteprotocol' => 'https',
  'overwrite.cli.url' => 'https://tcdintranet.icu',
  'theme' => '',
  'loglevel' => 2,
  'app_install_overwrite' => 
  array (
    0 => 'admin_notifications',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:


tcdintranet.icu 192.168.1.1 - - [20/May/2019:08:10:47 +0000] "GET /ocs/v2.php/apps/spreed/api/v1/signaling/5ix5mvyf HTTP/2.0" 404 111 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36"