1 (edited by Thierry 2017-01-08 16:26:20)

Topic: No access to iRedadmin

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.5-1
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

When tring to log to iRedadmin from my Chrome, I do have this  error:

ERR_EMPTY_RESPONSE
root@zobe:/opt/www# cd  iRedAdmin-0.6.3/
root@zobe:/opt/www/iRedAdmin-0.6.3# ls -l
total 100
-r-xr-xr-x  1 iredadmin iredadmin    49 janv.  3 18:12 AUTHORS
-r-xr-xr-x  1 iredadmin iredadmin  9289 janv.  3 18:12 ChangeLog
dr-xr-xr-x  6 iredadmin iredadmin  4096 janv.  3 18:12 controllers
dr-xr-xr-x  3 iredadmin iredadmin  4096 janv.  3 18:12 docs
dr-xr-xr-x 18 iredadmin iredadmin  4096 janv.  3 18:12 i18n
-r-xr-xr-x  1 iredadmin iredadmin   402 janv.  3 18:12 iredadmin.py
dr-xr-xr-x  6 iredadmin iredadmin  4096 janv.  3 18:12 libs
-r-xr-xr-x  1 iredadmin iredadmin 18092 janv.  3 18:12 LICENSE
-r-xr-xr-x  1 iredadmin iredadmin   264 janv.  3 18:12 README
-r--------  1 iredadmin iredadmin  4248 janv.  3 18:12 settings.py
-r--------  1 root      root       1718 janv.  3 19:01 settings.pyc
-r-xr-xr-x  1 iredadmin iredadmin  4138 janv.  3 18:12 settings.py.ldap.sample
-r-xr-xr-x  1 iredadmin iredadmin  3512 janv.  3 18:12 settings.py.mysql.sample
-r-xr-xr-x  1 iredadmin iredadmin  3494 janv.  3 18:12 settings.py.pgsql.sample
dr-xr-xr-x  4 iredadmin iredadmin  4096 janv.  3 18:12 static
dr-xr-xr-x  3 iredadmin iredadmin  4096 janv.  3 18:12 templates
dr-xr-xr-x  2 iredadmin iredadmin  4096 janv.  3 18:12 tools
root@zobe:/opt/www/iRedAdmin-0.6.3# tail -f /var/log/uwsgi/app/iredadmin.log
Sun Jan  8 07:19:38 2017 - python threads support enabled
Sun Jan  8 07:19:38 2017 - your server socket listen backlog is limited to 100 connections
Sun Jan  8 07:19:38 2017 - your mercy for graceful operations on workers is 60 seconds
Sun Jan  8 07:19:38 2017 - mapped 218304 bytes (213 KB) for 2 cores
Sun Jan  8 07:19:38 2017 - *** Operational MODE: preforking ***
Sun Jan  8 07:19:38 2017 - *** no app loaded. going in full dynamic mode ***
Sun Jan  8 07:19:38 2017 - *** uWSGI is running in multiple interpreter mode ***
Sun Jan  8 07:19:38 2017 - spawned uWSGI master process (pid: 3518)
Sun Jan  8 07:19:38 2017 - spawned uWSGI worker 1 (pid: 3526, cores: 1)
Sun Jan  8 07:19:38 2017 - spawned uWSGI worker 2 (pid: 3527, cores: 1)

logs from Nginx:

 [08/Jan/2017:09:25:15 +0100] "GET /iredadmin HTTP/1.1" 444 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"

Any idea ?

----

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

2

Re: No access to iRedadmin

Log files seem fine. Try this:

*) Does it work if you access from localhost with "lynx"? For example:

lynx https://localhost/iredadmin/

*) Does it work if you try with another web browser on your laptop/workstation? for example, Firefox, Apple Safari.

If lynx or other web browser works, then the server side is ok, it might be a Chrome issue (maybe caused by cache or other).

3

Re: No access to iRedadmin

I have access  for both "iredadmin and Sogo" from outside if  I am using my cellular phone ...
I do  not have access to  them with my pc on local even if using directly lynx or elinks from the email server.
With "elinks' I have "cannot read the socket" ....

Thx

4

Re: No access to iRedadmin

Seems your IP address was blocked on your server. Check "iptables -L -n", is it listed there?
Try to disable fail2ban service and test again.