No ssl connection possible to IMAP with roundcube Disconnected (no auth attempts in 0 secs): user=<>

Bug #1451055 reported by Michael Windelen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
roundcube (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi, after Upgrading from 14.10 to 15.04 it is not longer possible to connect to my local imap Server with roundcube. Thunderbird works well.

mail.err
dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, TLS, session=<HKtEVBsVNgB/AAAB>

roundcube/error

Could not connect to ssl://localhost:993: Unknown reason (fsockopen() function disabled?) in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 184 (POST /webmail/?_task=login&_action=login)

May this help?
http://trac.roundcube.net/ticket/1489948

# lsb_release -rd
Description: Ubuntu 15.04
Release: 15.04

# apt-cache policy roundcube
roundcube:
  Installiert: 0.9.5+dfsg1-4.2
  Installationskandidat: 0.9.5+dfsg1-4.2
  Versionstabelle:
 *** 0.9.5+dfsg1-4.2 0
        500 http://archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status

Best

Michael

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in roundcube (Ubuntu):
status: New → Confirmed
Changed in roundcube (Ubuntu):
status: Confirmed → New
Revision history for this message
Sven Killig (sven-killig) wrote :

I might be affected, too. But on Debian 7 -> 8.
I solved it by replacing localhost with the external interface's DNS name.

Revision history for this message
Joe Clifford (joeclifford) wrote :

I've just been affected by this on a Debian 8 install too. It seems the issue is related to the version of PHP > 5.6 which now checks SSL certificates are valid by default - if the CN of the certificate doesn't match the connection string used by Roundcube, the connection will fail.
Setting the Roundcube config default host connection string

$config['default_host'] = 'ssl://hostname';

so that hostname matches the CN in the SSL certificate solves the problem.

Also see here: https://bbs.archlinux.org/viewtopic.php?id=187063

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in roundcube (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.