Closed Rommyhadi2406 closed 8 years ago
Hi,
please verify that the index.php/apps/spreedme/admin/debug
endpoint returns Passed all tests.
Additionally, can you please post your config files?
Hi Leon,
i just tried as you told me, and this is the result
Spreed.ME Version 0.3.3
Ran test #1 (testOwncloudPhpConfigFile): Passed without an error
Ran test #2 (testOwncloudJavascriptConfigFile): Passed without an error
Ran test #3 (testSpreedWebRTCAPI): Error: Unable to connect to WebRTC at http://my_domain_name/webrtc/. Did you set a correct SPREED_WEBRTC_ORIGIN and SPREED_WEBRTC_BASEPATH in config/config.php?
Some tests failed. :(
what is the right path should i fill in SPREED_WEBRTC_ORIGIN and SPREED_WEBRTC_BASEPATH config?
<?php /**
namespace OCA\SpreedME\Config;
class Config {
// Domain of your Spreed WebRTC server (including protocol and optional port number), examples:
//const SPREED_WEBRTC_ORIGIN = 'https://mynextcloudserver.com';
//const SPREED_WEBRTC_ORIGIN = 'https://webrtc.mynextcloudserver.com:8080';
// If this is empty or only includes a port (e.g. :8080), host will automatically be determined (current host)
const SPREED_WEBRTC_ORIGIN = 'https://oncloud.arthatel.co.id';
// 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 = 'ac1059a7b77c5b8bd1956fda02cc8b1d7c2ac73aeeb74dd849121297472736df';
// Set to true if at least one another Nextcloud instance uses the same Spreed WebRTC server
const SPREED_WEBRTC_IS_SHARED_INSTANCE = false;
// 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)
const OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED = false;
// 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 = 'f20e1b84781d80570fef6e2969f61ba91ccb56922398a45eXXXXXXXXXXXXXXXX';
private function __construct() {
}
}
Thnks,
Can you please follow these steps:
SPREED_WEBRTC_ORIGIN
can be set to an empty string (const SPREED_WEBRTC_ORIGIN = '';
) as your Spreed WebRTC runs on the same domain as your Nextcloud.
Are you sure you have started the WebRTC server? https://oncloud.arthatel.co.id/webrtc says Service Unavailable
..
Hi Leon,
I followed the steps, and the result is
need your help please
Thanks
Hi @Rommyhadi2406,
please post your Apache config. Does it look similar to our example? https://github.com/strukturag/nextcloud-spreedme/blob/master/doc/example-config-apache.md
Hi Leon,
This is my apache2 config
# #
#
# #
#
#
#
#
#
#
#
#
#
#
# Mutex file:${APACHE_LOCK_DIR} default
#
# PidFile ${APACHE_PID_FILE}
#
# Timeout 300
#
# KeepAlive On
#
# MaxKeepAliveRequests 100
#
# KeepAliveTimeout 5
User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP}
#
# HostnameLookups Off
# ErrorLog ${APACHE_LOG_DIR}/error.log
#
# LogLevel warn
IncludeOptional mods-enabled/.load IncludeOptional mods-enabled/.conf
Include ports.conf
Options FollowSymLinks
AllowOverride None
Require all denied
<Directory /usr/share> AllowOverride None Require all granted
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted
# AccessFileName .htaccess
#
# <FilesMatch "^.ht"> Require all denied
#
#
#
# LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %O" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent
IncludeOptional conf-enabled/*.conf
IncludeOptional sites-enabled/*.conf
so, if i add the lines from the example, reload and restart the apache, it will show the service unavailable page, but if i use the default configuration, it show Not Found The requested URL /webrtc/ was not found on this server.
what shoul i do?
Thanks
You need to include the lines from our example. You get the Service Unavailable
error message because it can’t connect to spreed-webrtc.
Did you install, configure & start spreed-webrtc on your server?
Hi Leon,
I tried to start the spreed-webrtc-server, and there was an error in the TLS section, what should i do?
Thanks, Regards,
Hi Leon,
At last, i have succeded install the spreedme webrtc to my nextcloud
Thank you so much for your help
Regards
Hai,
I just install my nextcloud on Ubuntu Server 14.04, and im interested to install the spreed me apps, i followed all the instructions with the apache guidance, but when i clicked the spreed.me apps, i always got the spreed.me blank page, like this picture below
could you tell me what seems to be wrong?? im having this problem for two weeks, and it makes me nutz...
Thanks,