1 (edited by bolinches 2023-01-24 00:38:52)

Topic: Editing an user in a domain gets connection error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.1
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: FreeBSD 13.1-RELEASE-p5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
From the domain view when editing any user I get the following (in this case trying to edit a password)
Error: ConnectionError(MaxRetryError("HTTPConnectionPool(host='127.0.0.1', port=7790): Max retries exceeded with url: /api/subscriber/myemail@domain.tld/subscribed?query_all_lists=no&email_only=yes (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x805b4bdf0>: Failed to establish a new connection: [Errno 61] Connection refused'))"))

----

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

2

Re: Editing an user in a domain gets connection error

Is "mlmmjadmin" service running? Try to restart it.

3

Re: Editing an user in a domain gets connection error

Hi

I guess this file got lost somewhere on the flow?

# service mlmmjadmin status
mlmmjadmin is stopped.
# service mlmmjadmin start
Starting mlmmjadmin.
realpath() of /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini failed: No such file or directory [core/utils.c line 3662]
# ls -al /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini
ls: /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini: No such file or directory

4 (edited by bolinches 2023-02-08 04:17:17)

Re: Editing an user in a domain gets connection error

Got the file from https://github.com/iredmail/iRedAdmin/b … reebsd.ini

put it on /opt/devel/rc_scripts/uwsgi

Seems to have no effect ( and cant see the logs)

root:/opt/mlmmjadmin/rc_scripts/uwsgi # service mlmmjadmin status
mlmmjadmin is stopped.
root:/opt/mlmmjadmin/rc_scripts/uwsgi # service mlmmjadmin start
Starting mlmmjadmin.
[uWSGI] getting INI configuration from /opt/mlmmjadmin/rc_scripts/uwsgi/freebsd.ini
root:/opt/mlmmjadmin/rc_scripts/uwsgi # service mlmmjadmin status
mlmmjadmin is stopped.
root:/opt/mlmmjadmin/rc_scripts/uwsgi #

5

Re: Editing an user in a domain gets connection error

You should use file from this mlmmjadmin repo (you used "iRedAdmin" repo):
https://github.com/iredmail/mlmmjadmin/ … ipts/uwsgi