1

Topic: This webpage is not available ERR_CONNECTION_TIMED_OUT

- iRedMail version (0.9.2):
- Linux/BSD distribution name and version:  Lnux Ubuntu 14.0 LTS
- Store mail accounts in which backend (LDAP):
- Web server (Apache):
- Related log if you're reporting an issue:
I'm setting up a mail server.
The installation process went without errors.
By accessing webmail or via the web admin panel error is generated: ERR_CONNECTION_TIMED_OUT

Someone could give me some idea that I should check, in the configuration to overcome this error?

Thank you,

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

*) You can try with another web browser (e.g. Firefox, Chrome).
*) Does it work if you use IP address instead of domain name in URL?
*) Does non https url work for you? if so, your web browser may not support self-signed ssl cert, and you may need to buy a SSL cert to avoid this error.

3

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Chrome Mozzila and try without success.
It does not work if I try to set the IP address instead of the domain name.
It does not work without use https in the URL

4

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Is the Apache running?

5

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Yes,
service apache2 status
* apache2 is running

6

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Another idea on this?

Regards.

7

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Try this:

# echo 'hello' > /var/www/html/test.html

Now access URL "http://[your_server_ip_address]/test.html" (Note: it's http, not https) with your web browser, do you see the word "hello"?

Also, please show us output of command "iptables -L -n".

8

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

I can see the word "hello".

iptables command output:

iptables -L -n
modprobe: ERROR: could not insert 'ip_tables': Operation not permitted
iptables v1.4.21: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

9

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Sorry it was not root.
after:

# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
fail2ban-postfix  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
fail2ban-dovecot  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
fail2ban-roundcube  tcp  --  0.0.0.0/0            0.0.0.0/0            multiport dports 80,443,25,587,110,995,143,993,4190
fail2ban-default  tcp  --  0.0.0.0/0            0.0.0.0/0           
fail2ban-default  tcp  --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain fail2ban-default (2 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-dovecot (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-postfix (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-roundcube (1 references)
target     prot opt source               destination                                                                                                                                           
RETURN     all  --  0.0.0.0/0            0.0.0.0/0

10

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

djgnoriega2 wrote:

I can see the word "hello".

That means http:// works, and it's a SSL cert issue. You can try to re-generate a SSL certificate with 'tools/generate_ssl_keys.sh' shipped in iRedMail-0.9.2. If it doesn't work, i'm afraid that you might need to use another web browser or buy a SSL cert.

11

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

I re-generate a SSL certificate with 'tools / generate_ssl_keys.sh
where I reference these files?

12

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

After generating the certificate again, the browser shows me another error:
This webpage is not available

DNS_PROBE_FINISHED_NXDOMAIN

13

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

all ports are enabled suite except this:

Starting Nmap 6.40 (http://nmap.org) 10.11.2015 at 12:13 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000073s latency).
rDNS record for 127.0.0.1: viperone.mail.com
PORT STATE SERVICE
636 / tcp closed ldapssl

14

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

djgnoriega2 wrote:

DNS_PROBE_FINISHED_NXDOMAIN

No A record in DNS for this domain name?

15

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Now I have changed to a valid domain, did the installation again, but the error occurs:
This webpage is not available
ERR_CONNECTION_TIMED_OUT

16

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Message apache:
service apache2 restart
* Restarting web server apache2                                                                                                                                                                [Thu Oct 15 14:55:55.166087 2015] [proxy:warn] [pid 2677] AH01146: Ignoring parameter 'retry=60' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Thu Oct 15 14:55:55.166437 2015] [proxy:warn] [pid 2677] AH01146: Ignoring parameter 'connectiontimeout=5' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing
[Thu Oct 15 14:55:55.166602 2015] [proxy:warn] [pid 2677] AH01146: Ignoring parameter 'timeout=360' for worker 'http://127.0.0.1:20000/SOGo' because of worker sharing

17

Re: This webpage is not available ERR_CONNECTION_TIMED_OUT

Are you running the latest Chrome/Firefox web browser? If http:// works, that means your web browsers don't work well with self-signed SSL cert. You may need to buy a SSL cert to avoid this issue, or maybe tune your browser settings to accept the self-signed ssl cert.