-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instable connection to local hosted IMAP server #10199
Comments
This is a very rare event. We'll have to check if the code is still doing the right thing. |
This event happens for ALL locally self hosted IMAP (mail)sever within the same network as Nextcloud. Only external (commercial) IMAP mailserver such as Google, GXM etc. are not affected. |
Could you please turn on the debug mode: https:/nextcloud/mail/blob/main/doc/admin.md#logging This will create a file "horde_imap.log" in your datadirectory with the imap traffic. If you spot the error in your logs again, then please post the related lines for the timeframe from horde_imap.log here. Watch out for credentials or other information, the horde* logfiles are not redacted. |
I had just installed mail version 3.7.9 before I got advice to create a file "horde_imap.log". I still experience the same behaviour as before: Undefined array key "uidvalidity". |
I have generated the "horde_imap.log". This is the outcome:
|
Just to add the current error check in nextcloud.log: "16 Oct 2024, 22:13:10" |
Steps to reproduce
Expected behavior
The connection between Nextcloud Mail as email client and XEAMS used as local hosted IMAP server should be stable without interruptions.
Actual behavior
"reqId": "tXsefM4Jl5KSf6J64r6C",
"level": 2,
"time": "2024-09-28T12:07:41+02:00",
"remoteAddr": "77.109..*",
"user": "Gery",
"app": "mail",
"method": "POST",
"url": "/apps/mail/api/mailboxes/31/sync",
"message": "Mailbox UID validity changed. Wiping cache and performing full sync for 31",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
"version": "28.0.9.1",
"data": {
"app": "mail"
},
"id": "66f7d5ce65aca"
[PHP] Error: Undefined array key "uidvalidity" at /var/www/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php#4066
POST /apps/mail/api/mailboxes/95/sync
from 77.109..* by Gery at 28 Sept 2024, 11:32:53
"reqId": "pJdPemv2GN1DcQAjq51W",
"level": 3,
"time": "2024-09-28T11:32:53+02:00",
"remoteAddr": "77.109..*",
"user": "Gery",
"app": "PHP",
"method": "POST",
"url": "/apps/mail/api/mailboxes/95/sync",
"message": "Undefined array key "uidvalidity" at /var/www/nextcloud/apps/mail/vendor/bytestream/horde-imap-client/lib/Horde/Imap/Client/Base.php#4066",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36",
"version": "29.0.7.1",
"data": {
"app": "PHP"
},
"id": "66f7cdb1a0f34"
Mail app version
3.7.8
Mailserver or service
XEAMS hosted locally in the same network as nextcloud
Operating system
Ubuntu 22.04.5 LTS on LXD container
PHP engine version
PHP 8.3
Web server
Nginx
Database
PostgreSQL
Additional info
The same problem exists with Nextcloud Mail app in other Nextcloud versions (Nextcloud 27 and 28) running Apache2.
The text was updated successfully, but these errors were encountered: