Cannot create room

Hi there,
I installed Nextcloud Spreed.ME app and WebRTC server on a fresh Ubuntu 16.04 server, following instruction found on the app site. WebRTC server is running and I can open the Spreed.ME app on Nextcloud web panel.
But then I can do nothing: I cannot create room or invite someone in a call.
This is a screen:

If I write something where I see Main and click on the arrow, nothing happens.

I have the same behaviour with admin and non admin nextcloud users…

What should be the cause ?

What configuration should I verify ?

Thanks and regards

Hi @fiorenza,

please post your Spreed WebRTC, Spreed.ME app and web server (e.g. Apache / nginx) configuration.

Also please follow these steps:

  1. Open the Spreed.ME app in Nextcloud
  2. Append ?debug to the URL, i.e.
  3. Now open your browser’s dev console:
  4. Right click on the Nextcloud site
  5. Click “Inspect element” (very bottom)
  6. Check what it says in the console and paste it here

Thank you :slight_smile:

this is what I can see in the console:
Connector on connection open. app.js:219:1125
OC: selfReceived Object { Type: “Self”, Id: “fwpTiJ2tf8LCRdpy5Zo3_EM0hDQT-CCoAhS…”, Sid: “TqfBhmWb7ZB0YWmEL559xPeLk6vXvi66”, Userid: “”, Suserid: “”, Token: “MTQ4MjQ4MDk1OXxzVlVTVzlZcEZTbHFJRUx…”, Version: “0.28.1”, ApiVersion: 1.4, Turn: Object, Stun: Array[0] } owncloud.js:86:3
Using resurrection shrine Object { status: “waiting”, id: “fwpTiJ2tf8LCRdpy5Zo3_EM0hDQT-CCoAhS…” }

This is the configuration of webrtc server:
; Minimal Spreed WebRTC configuration for Nextcloud

listen =
basePath = /webrtc/
root = /usr/share/spreed-webrtc-server/www

sessionSecret = a205b15341564f6f005d4d971ddc808bd9fe6b0cbee1f29d3d36835616148f12
encryptionSecret = 2ca6d3eead1b4033d4ddbc31b0435c176fd12bb45ddae58b89c1d6a23b7883e5
authorizeRoomJoin = true
#authorizeRoomCreation = true
#globalRoom = global
#defaultRoomEnabled = true

serverToken = fb06583a0ffe7953d0ca4553329be2dbf445521e2bb4a1bc3fec68959daee9b8
serverRealm = local
extra = /var/www/html/nextcloud/apps/spreedme/extra
plugin = extra/static/owncloud.js

enabled = true
mode = sharedsecret
sharedsecret_secret = 82eb61d2b5f3a54e5ee1619cca016f9b81004876f9ad26342d52dc10466e34e5

This is the Apache configuration of nextcloud:

 ServerAdmin webmaster
 DocumentRoot /var/www/html

 <Directory /var/www/html/>
   Options +FollowSymlinks
   AllowOverride All

  <IfModule mod_dav.c>
    Dav off

   SetEnv HOME /var/www/html
   SetEnv HTTP_HOME /var/www/html

 <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15768000; preload"

 SSLEngine on
 SSLCertificateFile /etc/letsencrypt/live/
 SSLCertificateKeyFile /etc/letsencrypt/live/

 # Spreed WebRTC config (must be in same vhost) 
 <Location /webrtc>
   ProxyPassReverse /webrtc
 <Location /webrtc/ws>
   ProxyPass ws://
 ProxyVia On
 ProxyPreserveHost On
 RequestHeader set X-Forwarded-Proto 'https' env=HTTPS

This is the configuration of APP:
the content of the file config.php in /var/www/html/nextcloud/apps/spreedme/config/config.php is this:
namespace OCA\SpreedME\Config;

class Config {

    // Domain of your Spreed WebRTC server (including protocol and optional port number), examples:
    //const SPREED_WEBRTC_ORIGIN = '';
    //const SPREED_WEBRTC_ORIGIN = '';
    // If this is empty or only includes a port (e.g. :8080), host will automatically be determined (current host)
    const SPREED_WEBRTC_ORIGIN = '';

    // This has to be the same `basePath`
    // you already set in the [http] section of the `server.conf` file from Spreed WebRTC server
    const SPREED_WEBRTC_BASEPATH = '/webrtc/';

    // This has to be the same `sharedsecret_secret` (64-character HEX string)
    // you already set in the [users] section of the `server.conf` file from Spreed WebRTC server
    const SPREED_WEBRTC_SHAREDSECRET = '82eb61d2b5f3a54e5ee1619cca016f9b81004876f9ad26342d52dc10466e34e5';

    // Set to true if at least one another Nextcloud instance uses the same Spreed WebRTC server

    // Set to true if you want to allow access to this app + spreed-webrtc for non-registered users who received a temporary password by an Nextcloud admin.
    // You can generate such a temporary password at: /index.php/apps/spreedme/admin/tp (Nextcloud admin user account required)

    // If 'OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED' is set to true, you also have to provide a signing key here (64-character HEX string)
    // Generate it using `xxd -ps -l 32 -c 32 /dev/random` (better) or `openssl rand -hex 32`
    const OWNCLOUD_TEMPORARY_PASSWORD_SIGNING_KEY = '7fbbfc053b72a8aa6141bfbb90c628ef4b07ee884384d1d495fe3768caf0919d';

    private function __construct() {



The content of /var/www/html/nextcloud/apps/spreedme/extra/static/config/OwnCloudConfig.js is this:
(function(window) {

    var OwnCloudConfig = function() {
            return {
                    // Domain of your Nextcloud server (including protocol and optional port number), examples:
                    //OWNCLOUD_ORIGIN: '',
                    //OWNCLOUD_ORIGIN: '',
                    // If this is empty or only includes a port (e.g. :8443), host will automatically be determined (current host)
                    OWNCLOUD_ORIGIN: '',

    if (typeof define === "function" && define.amd) {
    } else {
            window.OwnCloudConfig = OwnCloudConfig();


Thank and regards

Hi @fiorenza and sorry for the delayed response!

you don’t need the OwnCloudConfig.js file as you are running spreed-webrtc and Nextcloud on the same host. Simply delete OwnCloudConfig.js and you should be good to go.

Thank you.
Now my Spreed.ME app on nextcloud works fine.



1 Like

I’ve got a problem while starting spreedmeapp in nextcloud.
There pops up a massage “Bitte melden Sie sich an um Räume zu erstellen.” (Please login to create a room)

Don’t know what to configure now? Cant create rooms and cant use the hole app as well.

Greets Pisoko

@Pisoko please post your config files so I can help you. If you don’t mind, please create a new thread for your issue. :slight_smile:

After updating Spreed.Me-App to 0.3.8 I have the same or a simular problem:
When starting the App, the wrong username is shwon behind the green symbol in the titlebar and when entering into a room I get the message “Bitte melden Sie sich an um Räume zu erstellen.”.
I tried with and without OwnCloudConfig.js.