Hello,
We encountered a temporary issue with EWS access on a grommunio/gromox server.
The webmail was working, but Apple Mail on macOS could no longer connect to the Exchange account. The affected endpoint was:
https://mail.example.tld/EWS/Exchange.asmx
Environment
Server: grommunio / openSUSE
Client affected: Apple Mail on macOS
Public access: nginx / reverse proxy
Domain and IP addresses anonymized
Installed packages:
gromox-3.7.224.m1fee87e-lp156.27.1.x86_64
grommunio-admin-api-1.18.28.m37abcff-lp156.18.1.noarch
grommunio-web-3.17.296.gc373b5347-lp156.472.1.noarch
mapi-header-php-2.1.16.dd3580a-lp156.7.1.noarch
Symptoms
Apple Mail displayed a connection error for the Exchange account.
Testing EWS through the public domain returned a timeout / 504:
curl -I https://mail.example.tld/EWS/Exchange.asmx
HTTP/2 504
server: nginx
Testing directly against the local gromox-http backend also timed out:
curl -v --max-time 15 http://127.0.0.1:10080/EWS/Exchange.asmx
Connected to 127.0.0.1 port 10080
GET /EWS/Exchange.asmx HTTP/1.1
Operation timed out after 15002 milliseconds with 0 bytes received
The TLS backend also did not respond correctly:
curl -k -v --max-time 15 https://127.0.0.1:10443/EWS/Exchange.asmx
Connection timed out after 15002 milliseconds
At the same time, the service was still reported as running:
systemctl status gromox-http
Active: active (running)
So the service was not stopped, but EWS appeared to be stuck or unresponsive.
Fix applied
Restarting only gromox-http immediately restored EWS:
systemctl restart gromox-http
After the restart, the same local test returned:
curl -v http://127.0.0.1:10080/EWS/Exchange.asmx
HTTP/1.1 405 Method Not Allowed
Method Not Allowed
The public EWS endpoint also returned:
HTTP/2 405
Method Not Allowed
Apple Mail then started working again.
A full server reboot was performed afterwards, and the problem did not reappear.
Additional log lines observed
Around the same period, several messages like this appeared in the gromox-http journal:
exmdb-audit: truncated message /var/lib/gromox/user/example.tld/user:f1966080:m1966091 (rewrite)
exmdb-audit: truncated message /var/lib/gromox/user/example.tld/user:f1966080:m1966116 (rewrite)
It is unclear whether these lines are related to the EWS hang or only incidental.
Configuration warning also cleaned up
Before the incident, gromox-http was showing deprecated configuration warnings:
/etc/gromox/http.cfg:http_listen_port is deprecated in favor of /etc/gromox/gromox.cfg:http_listen
/etc/gromox/http.cfg:http_listen_tls_port is deprecated in favor of /etc/gromox/gromox.cfg:http_listen_tls
The configuration was then migrated as follows:
/etc/gromox/gromox.cfg
http_listen=[::]:10080
http_listen_tls=[::]:10443
The old values in /etc/gromox/http.cfg were commented out:
deprecated: listen_port=10080
deprecated: listen_ssl_port=10443
After restarting gromox-http, the deprecated warnings disappeared and EWS still returned 405 as expected.
Question
Is this temporary EWS hang while gromox-http remains active (running) a known issue?
Are there recommended logs or diagnostic commands to run if this happens again, before restarting gromox-http?
Thank you.