strukturag / nextcloud-spreedme

Spreed.ME Nextcloud app
https://www.spreed.me
GNU Affero General Public License v3.0
56 stars 26 forks source link

initializing for ever #88

Closed Elleni57 closed 7 years ago

Elleni57 commented 7 years ago

I have setup nextcloud 12.0.0 and this app almost successfully, but the spreed.me app is initializing for ever. Distribution: gentoo Webserver: apache 2.4.25 Nextcloud Version 12.0.0 (had tried this on Owncloud 9 and 10 too, with same result). Tried both, different and same origin - same result.

https://ncloud.mydomain.com/index.php/apps/spreedme/admin/debug shows:

Spreed.ME Version 0.3.9

Ran test #1 (testOwncloudPhpConfigFile): Passed without an error

Ran test #2 (testOwncloudJavascriptConfigFile): Passed without an error

Ran test #3 (testSpreedWebRTCAPI): Passed without an error

Passed all tests. Everything seems to be set up correctly! :)

spreed-webrtc.ini: (generated within nextcloud):

https://pastebin.com/Ra8MqKAX

Server starts fine, and netstat shows port 8080 listening

Apache Virtual Host config: https://pastebin.com/pybyZkJS

Is it possible that my vhost apache config is the source of the problem?

https://ncloud.mydomain.com/index.php/apps/spreedme/?debug

Konsole shows: https://pastebin.com/JN8Cv77u

Debugger shows: https://pastebin.com/Kb2kxELe

Elleni57 commented 7 years ago

Doublechecking my vhost configuration, I finally found the error: Instead of: RequestHeader set X-Forwarded-Proto 'https' env=HTTPS i had: RequestHeader set X-Forwarded-Proto 'https' env=HTTP :)