salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.26k stars 2.03k forks source link

Multiple IMAP issues #7767

Open greenlanegreb opened 4 years ago

greenlanegreb commented 4 years ago

Mon Aug 26 21:25:48 2019 [4749][1][ERROR] ImapHandler trying to set a non valid resource az stream.

Mon Aug 26 21:25:48 2019 [4749][1][FATAL] SCHEDULERS: could not get an IMAP connection resource for ID [ 8f714cb8-3132-a6c5-d614-5d5b57f822b5 ]. Skipping mailbox [ Croydon Drive Repair Forms ].

Mon Aug 26 21:25:48 2019 [4749][1][ERROR] ImapHandler trying to use a non valid resource stream.

Mon Aug 26 21:25:48 2019 [4749][1][WARN] An Imap error detected: "IMAP expunge error"

Mon Aug 26 21:25:48 2019 [4749][1][ERROR] ImapHandler trying to use a non valid resource stream.

Mon Aug 26 21:25:48 2019 [4749][1][WARN] An Imap error detected: "IMAP close error"

Issue

This should not be appearing within the error log and I am concerned that it may cause further issues across the Suite CRM system and create additional workload. By ironing out errors generated, it provides a cast iron base to move forward with (to add to recommendations already provided to Ashley regarding end user involvement being at the core of the development work that Suite CRM undertakes. #### Expected Behavior It shouldn't be happening. #### Actual Behavior

Possible Fix

Steps to Reproduce

1.Checking suitecrm.log in fatal, error and warn statuses. 2. 3. 4.

Context

SuiteCRM Version used: 7.11.8

Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Version 76.0.3809.100 (Official Build) Built on Ubuntu , running on LinuxMint 18.3 (64-bit)

Environment name and version (e.g. MySQL, PHP 7): PHP 7.0.33 - 10.3.15-MariaDB-1 - Debian 10 Apache 2.4.28 (Debian)

Operating System and version (e.g Ubuntu 16.04): As Above.

This issue has not been resolved with a quick rebuild.

Many thanks.

greenlanegreb commented 4 years ago

Good afternoon Cameron,

I don't think this bug has been categorised properly as many people have had this issue for over a year and it keeps reoccurring. Surely the longer people are having problems in the forums where it is more likely to have missed being fixed repeatedly, the higher prioritisation it should get? Can I glean any insight from you on this bug please and what is going on, also whether there is a temporary fix? Thank you.

greenlanegreb commented 4 years ago

Hi, are there any updates on this? Thanks ever so much.

greenlanegreb commented 4 years ago

Any updates please? Thanks.

timo-ecm2 commented 1 year ago

Indeed, any new updates please? Thank you!

chris001 commented 6 months ago

Similar / Same as #10231

chris001 commented 1 month ago

The error message ImapHandler trying to use a non valid resource stream. is from the method ImapHandler::getStream() and Imap2Handler::getStream() https://github.com/salesagility/SuiteCRM/blob/7b0fde1763864f535b914ae0304fe2a59db4abd0/include/Imap/ImapHandler.php#L121

https://github.com/salesagility/SuiteCRM/blob/82126920350ddb3bdc48ad795c43450b9d0d7bd0/include/Imap/Imap2Handler.php#L124