Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-14760

HTTP request connection limit reached error is not descriptive

    Details

    • Severity:
      S3
    • Story Points:
      2
    • Sprint:
      Mule 2018-03-28 C3PO

      Description

      When the maxConnections attribute is set and the number of requests exceed it, the following HTTP:CONNECTIVITY error is seen:

      Root Exception stack trace:
      com.ning.http.client.filter.FilterException: No slot available for processing Request http://10.15.2.149:80/RulesService/api/workers/1823884/longevityScores?companyId=15&geocode=020000000    GET    headers:    X-Correlation-ID:0-dc1849b3-27a0-11e8-9adf-02b6df4edb32    Content-Type:application/json    Content-Length:0 with AsyncHandler org.mule.service.http.impl.service.client.async.ResponseAsyncHandler@2ef6ce14
          at org.mule.service.http.impl.service.client.CustomTimeoutThrottleRequestFilter.filter(CustomTimeoutThrottleRequestFilter.java:48)
          at com.ning.http.client.AsyncHttpClient.preProcessRequest(AsyncHttpClient.java:538)
          at com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:510)
          at org.mule.service.http.impl.service.client.GrizzlyHttpClient.sendAsync(GrizzlyHttpClient.java:338)
          at com.mulesoft.service.http.impl.service.client.EEGrizzlyHttpClient.sendAsync(EEGrizzlyHttpClient.java:119)
          at org.mule.extension.http.internal.request.HttpRequesterConnectionManager$ShareableHttpClient.sendAsync(HttpRequesterConnectionManager.java:116)
          at org.mule.extension.http.internal.request.client.HttpExtensionClient.send(HttpExtensionClient.java:71)
          at org.mule.extension.http.internal.request.HttpRequester.doRequestWithRetry(HttpRequester.java:104)
          at org.mule.extension.http.internal.request.HttpRequester.lambda$doRequestWithRetry$3(HttpRequester.java:130)
      

      The "No slot available" message has been copied from AHC code and does not match the semantics we are given to the feature. It should be something like: Maximum connection limit reached, request cannot be processed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                afelisatti Ana Felisatti
                Reporter:
                afelisatti Ana Felisatti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: