# Pydio Cells - External URL - WebSocket Closed Connection Issue

**URL:** <https://forum.pydio.com/t/pydio-cells-external-url-websocket-closed-connection-issue/1548>\
**Category:** Pydio Cells\
**Created:** [September 5, 2018, 12:28pm UTC](https://forum.pydio.com/t/pydio-cells-external-url-websocket-closed-connection-issue/1548 "2018-09-05T12:28:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bredi](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bredi](https://forum.pydio.com/u/bredi)\
**Post date:** [September 5, 2018, 12:28pm UTC](https://forum.pydio.com/t/pydio-cells-external-url-websocket-closed-connection-issue/1548/1 "2018-09-05T12:28:49Z")

</div>

Hi,

Installed Pydio Cells on Centos 7: internal IP 192.168.44.104:8080 SSL.  
I can access it internal without any problems “https://192:168.44.104”.  
Then I setup a Firewall Configuration from External IP to Internal IP Adress to Port 443.  
Also made following Apache Configurations:

\<VirtualHost 192.168.44.104:443\>  
ServerName XXXXXXX

# May be necessary for API direct accesses

AllowEncodedSlashes On  
SSLEngine on

RewriteEngine On  
SSLProxyEngine On  
SSLProxyCheckPeerCN Off  
SSLProxyCheckPeerName Off  
SSLProxyVerify none

SSLCertificateFile /etc/httpd/conf/ssl.crt/XXXXXX.cer  
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/XXXXXXX.key

# Proxy WebSocket

RewriteCond %{HTTP:Upgrade} =websocket [NC]  
RewriteRule /(.\*) wss://192.168.44.104:8080/$1 [P,L]

# Finally simple proxy instruction

ProxyPass “/” “[https://192.168.44.104:8080/](https://192.168.44.104:8080/)”  
ProxyPassReverse “/” “[https://192.168.44.104:8080/](https://192.168.44.104:8080/)”

If I call external IP/ domain. I can access pydio but I have a lot of issues and getting following Error Messages:

 ![error](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/1X/e5bfc9431182776d362d5a93dabfd3afff7f5a0e.jpeg)

Does anyone know what’s the problem?

thanks!

---

<div class="post-metadata">

**Author:** ![zayn](https://avatars.discourse-cdn.com/v4/letter/z/a87d85/32.png) [@zayn](https://forum.pydio.com/u/zayn)\
**Post date:** [September 14, 2018, 9:08am UTC](https://forum.pydio.com/t/pydio-cells-external-url-websocket-closed-connection-issue/1548/2 "2018-09-14T09:08:19Z")

</div>

Hi,  
here’s how i managed to make it work

`CELLS_BIND = 192.168.1.12:7070` and `CELLS_EXTERNAL = 192.168.1.12`

Then create configuration a file for apache proxy (if used as it is it will work for the proxy and cells both having enabled SSL on their side) with the following:

```auto
<IfModule mod_ssl.c>
<VirtualHost *:443>
  ServerName domain.pydio.com
  # May be necessary for API direct accesses
  AllowEncodedSlashes On
  RewriteEngine On
   # Make sure to proxy SSL
  SSLProxyEngine On
  # Disable SSLProxyCheck : maybe necessary if Cells is configured with self_signed
  SSLProxyCheckPeerCN Off
  SSLProxyCheckPeerName Off
  SSLProxyVerify none

  # The Certificate path
    SSLCertificateFile /home/user1/cert/apache.crt
    SSLCertificateKeyFile /home/user1/cert/apache.key

  # Proxy WebSocket
  RewriteCond %{HTTP:Upgrade} =websocket [NC]
  RewriteRule /(.*) wss://192.168.0.153:8080/$1 [P,L]
   # Finally simple proxy instruction
  ProxyPass "/" "https://192.168.1.12:7070/"
  ProxyPassReverse "/" "https://192.168.1.12:7070/"

</VirtualHost>
</IfModule>

```
