RocketChat and Pidgin not working together


#1

Hey there,

We’re running a manuall installation of RocketChat (Version 0.63.3) on Ubuntu Server 16.04 LTS with LDAP Authentication (Login Fallback = False).
We’re trying to use Pidgin as the Client. Unfortunately it always says „Connection error: failure with https connection: SSL-Connection failed“. It’s a self signed certificate, i also imported it to pidgin.

The connection works over the Browser and also over the rocketchat client. So i don’t think it’s a Problem in generell.
Maybe my Apache config is not compatible with Pidgin?
You can see it here

<IfModule mod_ssl.c>
 <VirtualHost _default_:443>
  ServerAdmin helpdesk@domain.com
#  ServerName rocketchat01

#  DocumentRoot /var/www/html


ProxyPreserveHost On
        ProxyRequests Off
        ServerName rocketchat01.dk.de
        ServerAlias https://rocketchat01.dk.de
        ProxyPass / http://localhost:3000/
        ProxyPassReverse / http://localhost:3000/
        <Proxy *>
                        Order deny,allow
                        Allow from all
        </Proxy>


  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined

  SSLEngine on

  SSLCertificateFile    /etc/apache2/ssl/rocketchat01.crt
  SSLCertificateKeyFile /etc/apache2/ssl/rocketchat01.key

  <FilesMatch "\.(cgi|shtml|phtml|php)$">
   SSLOptions +StdEnvVars
  </FilesMatch>
  <Directory /usr/lib/cgi-bin>
   SSLOptions +StdEnvVars
  </Directory>

 </VirtualHost>
</IfModule>

#2

Take a look at our apache configuration docs. Make sure /websocket can be properly upgraded to a websocket.