cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco content service is throwing ETIMEDOUT and ESOCKETTIMEDOUT

loharms
Champ in-the-making
Champ in-the-making

We are trying to send 2000 requests to Alfresco content service(On-premise setup) with 20 users in 100 seconds as per our project use case. We are getting below errors:

ETIMEDOUT: 410 , ESOCKETTIMEDOUT: 61

Is it the expected behavior? Is there any rate limit on the service?

2 REPLIES 2

jljwoznica
Star Collaborator
Star Collaborator

How are you making the requests? 

loharms
Champ in-the-making
Champ in-the-making

We are using request module from node js in our project. There we got the multiple timeouts while sending the multiple requests to Alfresco service. So we tried stand-alone program with 'Artillery' utility just to check if it is really a Alfresco issue. Atillery utility requires endpoint url and authentication information in yaml file just like below:

 
config:
  target: 'http://<host:port>'
  phases:
    - duration: 100
      arrivalRate: 20
  defaults:
    headers:
      Authorization: 'Basic <authentication_token>'
scenarios:
  - flow:
    - get:
        url: "/browser"
 

Getting reply as below:

Summary report @ 10:30:54(+0530) 2020-01-17
  Scenarios launched:  2000
  Scenarios completed: 1544
  Requests completed:  1544
  RPS sent: 16.6
  Request latency:
    min: 66.1
    max: 22129
    median: 107.4
    p95: 15087.9
    p99: 16574.7
  Scenario counts:
    0: 2000 (100%)
  Codes:
    200: 1544
  Errors:
    ETIMEDOUT: 456

Here, can see ETIMEDOUT is thrown from 456 requests among 2000.

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.