# Problem with Collabora with SSL and custom port

**URL:** <https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680>\
**Category:** ℹ️ Support\
**Created:** [May 16, 2017, 5:34pm UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680 "2017-05-16T17:34:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarif](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jarif/32/3829_2.png) [@jarif](https://help.nextcloud.com/u/jarif)\
**Post date:** [May 16, 2017, 5:34pm UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680/1 "2017-05-16T17:34:49Z")

</div>

Nextcloud version 11.0.3:  
Operating system and version Ubuntu 16.04:  
Apache version Apache/2.4.18 (Ubuntu)  
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )  
Is this the first time you’ve seen this error?: Yes

The issue you are facing:

I have Collabora configured as ssl port 9980 on my edge server, as the default SSL terminator there does not support WebSocket.

I have configured Nextcloud to use [https://office.example.com:9980](https://office.example.com:9980) as the URL.

Apache logs this:

> [office.example.com:443](http://office.example.com:443) 192.168.1.124 - - [16/May/2017:20:24:41 +0300] “GET /hosting/discovery HTTP/1.1” 500 3668 “-” “ownCloud Server Crawler”

The output of your Nextcloud log in **Admin \> Logging** :

- Nothing.

Q: Why does it try to access my port 443 which leads to Nextcloud in my VM and not Collabora Docker instance? I end to “Access Denied” page in Nextcloud.

* * *

Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can ❤ Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.

---

<div class="post-metadata">

**Author:** ![jarif](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jarif/32/3829_2.png) [@jarif](https://help.nextcloud.com/u/jarif)\
**Post date:** [May 16, 2017, 6:43pm UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680/2 "2017-05-16T18:43:33Z")

</div>

> ==\> /var/log/apache2/error.log \<==  
> [Tue May 16 21:41:36.274109 2017] [proxy:error] [pid 7473] (502)Unknown error 502: [client 192.168.1.124:38252] AH01084: pass request body failed to 127.0.0.1:9980 (127.0.0.1)  
> [Tue May 16 21:41:36.274540 2017] [proxy:error] [pid 7473] [client 192.168.1.124:38252] AH00898: Error during SSL Handshake with remote server returned by /hosting/discovery  
> [Tue May 16 21:41:36.274990 2017] [proxy\_http:error] [pid 7473] [client 192.168.1.124:38252] AH01097: pass request body failed to 127.0.0.1:9980 (127.0.0.1) from 192.168.1.124 ()

> ==\> /var/log/apache2/other\_vhosts\_access.log \<==  
> [office.bitwell.fi:443](http://office.bitwell.fi:443) 192.168.1.124 - - [16/May/2017:21:41:36 +0300] “GET /hosting/discovery HTTP/1.1” 500 3669 “-” “ownCloud Server Crawler”

---

<div class="post-metadata">

**Author:** ![jarif](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jarif/32/3829_2.png) [@jarif](https://help.nextcloud.com/u/jarif)\
**Post date:** [May 16, 2017, 6:51pm UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680/3 "2017-05-16T18:51:08Z")

</div>

Pastebin for my Apache config for Collabora.

[https://pastebin.ca/3813500](https://pastebin.ca/3813500)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 2, 2024, 8:42am UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680/4 "2024-12-02T08:42:05Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 1:24pm UTC](https://help.nextcloud.com/t/problem-with-collabora-with-ssl-and-custom-port/12680/5 "2024-12-09T13:24:12Z")

</div>


