Debug/Workaround for 8894713: Refreshing access token call gets stuck causing delay in Mail Fetching Schedule

Debug/Workaround for 8894713: Refreshing access token call gets stuck causing delay in Mail Fetching Schedule

Issue:

      Mail fetching schedule doesn't fetch new mails intermittently. On analysing logs, we could infer a http call to Token url to refresh the access token doesn't respond and the schedule thread is made to wait indefinitely for the response. This leads to the issue.

Fix:

      A debug/workaround has been prepared where connection and readtime are set as 30s for the HTTP Request sent to Token url. On timeout, error will be thrown which should eventually reschedule the mail fetching schedule. This also prints debug traces in the logs.

Steps to apply this fjar

1. Download the attached 14103_8894713.fjar file.
3. Click here on steps to apply the fjar file.
3. Restart the application service.
4. Wait for the issue to occur
5. Once the issue surfaces, immediately zip the logs (<server_home>\logs folder. For eg: C:\Program Files\ManageEngine\ServiceDesk\logs folder) and share it with us for analysis. If the size of the log file is huge, you can send it to us using our FTP link https://bonitas2.zohocorp.com/. Select the product as "ServiceDesk Plus" and ticket number as 8853578.

The attached 14103_8894713.fjar is compatible with 14103 build only

                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail Fetching: Inline Images Dropping Due to Invalid Extension

                      Issue: The inline image's file name from the email doesn't contain the extension. Example: filename = sys_attachment.dosys_id=5bb0751c8303b5dc96a238226daad371 As a result, the inline image gets stripped during the mail fetching process. The sender of ...
                    • Mail Fetching - Error while processing attachment and inline image.

                      Issue During the process of fetching emails, attachments are dropped as a result of the presence of directory traversal characters. Furthermore, an issue arises when processing inline images, this particular error related to inline images results in ...
                    • Monitor Mail Fetching schedule

                       We have a workaround for checking the status of mail fetching (start or stopped). However, we do not have an option to start or stop fetching remotely.  We can integrate "Applications Manager" with SDP MSP and we can do regular monitoring (as per ...
                    • Troubleshooting Oauth configuration for mail server settings

                      Oauth in ServiceDesk Plus / AssetExplorer for Mail SDP supports Oauth configuration for Office365 and GSuite mailboxes since 11106 build. Office365 mailboxes can be configured with Oauth authentication using EWS (since 11106) and IMAP / SMTP (since ...
                    • Failure during Zia Reopen prediction process stops the mail fetching schedule

                      When the requester replies to closed/resolved requests with empty content or if there is no proper content except the content of the parent mail, then no content will be available for zia reopen prediction process and an exception will be ...