Uploaded image for project: 'mod-email'
  1. mod-email
  2. MODEMAIL-27

Consider to retry when there is a temporary connection timeout issue

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:
    • Development Team:
      Vega

      Description

      In our hosting environment, customer reported that some password reset emails were not received. After checking mod-email log and we found below entries. Note the tenant id and email server name/ip have been masked for privacy reason. Wondering if mod-email can be enhanced to retry when there is a temporary connection timeout issue?

      28 Oct 2019 15:04:19:915 ERROR AbstractEmail [2329894828eqId] Timed out after waiting 30000(ms) for a reply. address: 10412, repliedAddress: mail-service.queue
      io.vertx.core.eventbus.ReplyException: Timed out after waiting 30000(ms) for a reply. address: 10412, repliedAddress: mail-service.queue
      at io.vertx.core.eventbus.impl.HandlerRegistration.sendAsyncResultFailure(HandlerRegistration.java:127) ~[ms.jar:?]
      at io.vertx.core.eventbus.impl.HandlerRegistration.lambda$new$0(HandlerRegistration.java:78) ~[ms.jar:?]
      at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:885) ~[ms.jar:?]
      at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:844) ~[ms.jar:?]
      at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:339) ~[ms.jar:?]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [ms.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [ms.jar:?]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) [ms.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) [ms.jar:?]
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [ms.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
      28 Oct 2019 15:04:19:917 INFO LogUtil [2329894830eqId] org.folio.rest.RestVerticle start invoking postEmail
      28 Oct 2019 15:04:19:917 INFO LogUtil [2329894830eqId] 127.0.0.1:55636 POST /email null HTTP_1_1 500 21 30030 tid={tenant id} Internal Server Error
      28 Oct 2019 15:04:49:916 ERROR SMTPConnection [2329924829eqId] exception on connect
      io.netty.channel.ConnectTimeoutException: connection timed out: {tenant_email_server_name}/{tenant_email_server_ip}:25
      at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:267) [ms.jar:?]
      at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38) [ms.jar:?]
      at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125) [ms.jar:?]
      at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [ms.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) [ms.jar:?]
      at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) [ms.jar:?]
      at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) [ms.jar:?]
      at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [ms.jar:?]
      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kotlyarovV Vitalii Kotliarov
                Reporter:
                hji Hongwei Ji
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases