Release Support > Pending Issues

gateway timeout

(1/2) > >>

creampuff:
firefox -- https://roundcube/?_task=login
Gateway Timeout

The gateway did not receive a timely response from the upstream server or application.



mailserver: 192.168.0.11
roundcube-server: 192.168.0.15
browser is on: 192.168.20.118



--- Code: ---mailserver# tshark -ni enp1s0 -Y 'ip.addr == 10.0.0.15 or ipv6.addr == fd00::15'
Running as user "root" and group "root". This could be dangerous.
Capturing on 'enp1s0'
   63 20.802890237    10.0.0.15 → 10.0.0.11    TCP 74 38364 → 993 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 SACK_PERM=1 TSval=1822290789 TSecr=0 WS=128
   64 20.802932385    10.0.0.11 → 10.0.0.15    TCP 74 993 → 38364 [SYN, ACK] Seq=0 Ack=1 Win=65160 Len=0 MSS=1460 SACK_PERM=1 TSval=1418522623 TSecr=1822290789 WS=128
   65 20.803000704    10.0.0.15 → 10.0.0.11    TCP 66 38364 → 993 [ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1822290789 TSecr=1418522623
   93 80.848574636    10.0.0.15 → 10.0.0.11    TCP 66 38364 → 993 [FIN, ACK] Seq=1 Ack=1 Win=64256 Len=0 TSval=1822350834 TSecr=1418522623
   94 80.848816786    10.0.0.11 → 10.0.0.15    TCP 66 993 → 38364 [ACK] Seq=1 Ack=2 Win=65280 Len=0 TSval=1418582669 TSecr=1822350834
   95 80.849252587    10.0.0.11 → 10.0.0.15    TCP 66 993 → 38364 [FIN, ACK] Seq=1 Ack=2 Win=65280 Len=0 TSval=1418582669 TSecr=1822350834
   96 80.849556904    10.0.0.15 → 10.0.0.11    TCP 66 38364 → 993 [ACK] Seq=2 Ack=2 Win=64256 Len=0 TSval=1822350835 TSecr=1418582669


roundcube-server# grep -v '^//' config.inc.php
<?php

/* Local configuration for Roundcube Webmail */

$config['db_dsnw'] = 'mysql://roundcube:topsecret@localhost/roundcube';

$config['default_host'] = 'tls://mailserver.example.net';

$config['default_port'] = 993;

$config['smtp_server'] = 'tls://mailserver.example.net';

$config['support_url'] = '';

$config['des_key'] = '**deleted**';

$config['plugins'] = array('enigma', 'example_addressbook', 'filesystem_attachments', 'http_authentication', 'managesieve', 'password', 'show_additional_headers', 'zipdownload');

$config['language'] = 'de_DE';

$config['spellcheck_engine'] = 'pspell';

$config['imap_conn_options'] = array(
        'tls' => array(
            'verify_peer'       => true,
            'allow_self_signed' => true,
            'peer_name'         => 'mailserver.example.net',
            'ciphers'           => 'TLSv1+HIGH:!aNull:@STRENGTH',
            'cafile'            => '/etc/pki/opnsense/example+CA.pem',
        ),
    );

$config['smtp_conn_options'] = array(
        'tls' => array(
            'verify_peer'       => true,
            'allow_self_signed' => true,
            'peer_name'         => 'mailserver.example.net',
            'ciphers'           => 'TLSv1+HIGH:!aNull:@STRENGTH',
            'cafile'            => '/etc/pki/opnsense/example+CA.pem',
        ),
    );

--- End code ---

alec:
Usually tls:// is on port 143, and ssl:// on port 993.

creampuff:
so

--- Code: ---$config['default_port'] = 993;
--- End code ---
is not sufficient?

roundcube is connecting to the mail server on port 993 as the sniffer logs show.

alec:
It is not sufficient, you have to use proper prefix.

creampuff:
would you please increase your verbosity?

Navigation

[0] Message Index

[#] Next page

Go to full version