Author Topic: Connection to storage server failed.  (Read 1084 times)

Offline johnzbesko

  • Jr. Member
  • **
  • Posts: 20
Connection to storage server failed.
« on: April 05, 2019, 08:21:52 PM »
So, my roundcube installation has been working fine for months and two days ago I applied a routine Kubuntu 18.04 update and now roundcube no longer works. When I log in, I get the subject line error message.

Testing my connection to comcast, I try:

$ openssl s_client -connect imap.comcast.net:993 -crlf
140620169363904:error:20087002:BIO routines:BIO_lookup:system lib:../crypto/bio/b_addr.c:693:Temporary failure in name resolution
connect:errno=11

However, testing an alternative (that I discovered trying to debug a previous squirrelmail installation) connects:

$ openssl s_client -connect imap.ge.xfinity.com:993 -crlf           
CONNECTED(00000003)
depth=2 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
verify return:1
depth=1 C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Organization Validation Secure Server CA
verify return:1
depth=0 C = US, postalCode = 19103, ST = PA, L = Philadelphia, street = 1 Comcast Center, O = Comcast Corporation, OU = NSO, OU = Hosted by Comcast Corporation, OU = Unified Communications, CN = imap.email.comcast.net
verify return:1

Yet, when I change the roundcube config.inc.php to use the xfinity address, roundcube still doesn't work.

I think the Kubuntu upgrade updated some python packages.

Any help is greatly appreciated!


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,259
Re: Connection to storage server failed.
« Reply #1 on: April 07, 2019, 03:50:08 AM »
Quote
... Temporary failure in name resolution
looks like a DNS issue

Quote
...
depth=0 C = US, postalCode = 19103, ST = PA, L = Philadelphia, street = 1 Comcast Center, O = Comcast Corporation, OU = NSO, OU = Hosted by Comcast Corporation, OU = Unified Communications, CN = imap.email.comcast.net
verify return:1

Yet, when I change the roundcube config.inc.php to use the xfinity address, roundcube still doesn't work.
This is probably down to certificate verification failure. You connected to host imap.ge.xfinity.com but the cert has CN imap.email.comcast.net. You can disable certificate verification using the `$config['imap_conn_options']` setting. You also need to update the entries in the users table of your roundcube database to the new host or you'll loose all you user settings, address book etc.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline johnzbesko

  • Jr. Member
  • **
  • Posts: 20
Re: Connection to storage server failed.
« Reply #2 on: April 18, 2019, 12:24:57 AM »
Well, I tried the suggestion about adding:

$config['imap_conn_options'] = array(
     'ssl' => array(
      'verify_peer' => false,
      'verify_peer_name' => false,
      'allow_self_signed' => true,
     ),
 );

But it still doesn't work. From the error log file:

[17-Apr-2019 16:08:53 -0500]: <sbdb9jt0> IMAP Error: Login failed for johnzbesko from 162.93.80.1. Could not connect to ssl://imap.email.comcast.net:993: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/roundcube/program/lib/Roundcube/rcube_imap.php on line 196 (POST /roundcube/?_task=login&_action=login)
[17-Apr-2019 18:45:35 America/Chicago] PHP Warning:  stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 959
[17-Apr-2019 18:45:35 America/Chicago] PHP Warning:  stream_socket_client(): unable to connect to ssl://imap.email.comcast.net:993 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in /var/www/html/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 959
[17-Apr-2019 18:45:35 -0500]: <u5r3ok2i> IMAP Error: Login failed for johnzbesko from 127.0.0.1. Could not connect to ssl://imap.email.comcast.net:993: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /var/www/html/roundcube/program/lib/Roundcube/rcube_imap.php on line 196 (POST /roundcube/?_task=login&_action=login)

Thanks for help.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,259
Re: Connection to storage server failed.
« Reply #3 on: April 18, 2019, 08:57:47 AM »
Quote
php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution

you have a problem with your DNS
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…