Email This Issue
📈 Marketplace❓ Support❤️ Feedback🏠 META-INF Apps
Email This Issue - for Jira Cloud
Email This Issue - for Jira Cloud
  • ⬇️Overview
  • Email This Issue - for Jira Cloud
  • Features
  • How Email This Issue Works
  • Secure the email channel with Email This Issue
  • Comparing Email This Issue and Jira Cloud
  • 📤Outgoing Emails
    • Outgoing emails overview
    • Manual emails
      • Configuring manual emails
      • Sending manual emails
    • Email notification schemes and email notifications
    • Workflow post functions
    • Advanced email configuration
    • Customizing email templates
    • Canned Responses (default messages)
    • Scope evaluation
  • 📥Incoming Emails (Mail Handlers)
    • Incoming emails overview
  • Mail handlers - adding / editing
    • General handler settings
    • Filtering
    • Finding issues
    • Setting up rules and actions in the actions editor
      • Adding/editing actions
      • Adding recipients to Request Participants
      • Creating an issue
      • Updating an issue
      • Setting field values
      • Adding comments
      • Sending auto-reply emails
      • Executing workflow transitions
      • Creating a customer
      • Using split regexp
      • Conditions
      • Approve request
      • Decline request
    • Maintaining email chains
    • Mail Handler New UI
  • Global Sender Address Filters
  • Attachment Filters
    • Regular Attachment Handling Deprecation
  • 🤓Administration
    • Outgoing Mail Connections
    • Alerting via Webhooks
      • Webhooks
        • Configuring Slack to receive alerts via webhooks
        • Configuring OpsGenie to Receive alerts via webhooks
        • Configuring Microsoft Teams to receive alerts via webhooks
      • Webhook execution logs
    • Mail Queue
    • Email Audit Log
    • Permissions
    • Recipient Restrictions
    • Incoming Mail Connections
    • Email Security
    • Incoming Mail Queue
    • Incoming Mail Log
    • OAuth2 Credentials
      • Enabling OAuth2 Authorization in your Google Account
      • Enabling OAuth2 Authorization in your Microsoft 365 Account
      • Troubleshooting guides for Microsoft OAuth2 Connections
        • How to fix "BAD User is authenticated but not connected" error​
        • How to fix "401 Unauthorized" error
        • How to fix "key expires_in " error
        • How to fix "Need admin approval" error
  • ☁️Server to Cloud Migration
    • 🛫Server to Cloud - Automatic Migration tool
      • Preparing for the migration
      • Doing the migration
      • Finalizing the migration in Cloud
      • Migration with unsupported Jira versions causes errors
    • Server to Cloud - Manual migration guide for Email This Issue
  • ❓FAQ
    • No recipients error in outgoing emails
    • How-to add custom macro to email Template?
    • Why cannot I select custom event types in notification?
    • How to configure the Email This Issue addon user in Jira Cloud?
    • I get an error: Could not create request on behalf of the sender
    • Why is the Incoming Mail Queue size limited?
    • Outgoing mail not sent - Read timeout error
    • Access restriction icon is not appearing when adding internal attachments via Email this Issue
  • 🌪️General
    • Release Notes
    • API
      • API for Velocity Context Objects - 1.7
      • API for Velocity Context Objects
    • Addon Pages
      • Integrity Check
      • Feedback and Support
    • Security Advisories
      • Email This Issue Security Advisory September 28, 2020
    • Appendix
      • Supported Time Zones
    • Integration of Glass Documentation
Powered by GitBook
On this page
  • Explanation of the error
  • Solution for the problem

Was this helpful?

  1. FAQ

Outgoing mail not sent - Read timeout error

PreviousWhy is the Incoming Mail Queue size limited?NextAccess restriction icon is not appearing when adding internal attachments via Email this Issue

Last updated 2 years ago

Was this helpful?

If you're experiencing that some of your emails have not been sent and you see the following error in the Outgoing mail queue - Error queue, check our solution below:

java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.metainf.connect.jira.jeti.service.outgoing.OutgoingMailQueue$MailQueueExecutor.afterExecute(OutgoingMailQueue.java:222) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.RuntimeException: com.metainf.jeti.core.api.mailserver.outgoing.MailSendingException: com.metainf.jeti.core.api.exception.JetiException: javax.mail.AuthenticationFailedException: ; nested exception is: javax.mail.MessagingException: Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out

Explanation of the error

This type of error is present when we're trying to connect to an incoming or -in this case- outgoing mail server but the server is taking longer than the timeout value to respond and send information. This could be due to a slow internet connection, for example, or if he host is offline.

We attempt to connect to the server for a given period (10000 msec by default) after which we disconnect (timeout) if the attempt is unsuccessful. This results in the Read timed out error quoted above.

Solution for the problem

A read timeout error can always be solved by simply increasing the timeout value configured for the corresponding mail connection.

Navigate to Email This Issue Administration - Outgoing Mail Connections and change the Timeout value to the maximum 60000 ms:

After this change, monitor your outgoing mails and reach out to your system administrator for help if this change in your settings does not help.

Should you need further help, feel free to open a support request with us.

❓
Outgoing Mail Connection Timeout setting