You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have used marklogic based authentication for our koop-provider application and have begun load testing of about 100 concurrent users. With every request the time taken to fetch the token gradually increases. Some of them taking nearly more than 70secs to complete token generation request. This causes request timeout error after about 24 concurrent requests through the koop provider. We have also added the diagnostic data for better understanding.
The REST endpoint we tried to access: https://myhost/marklogic/token
And the time taken to complete each response is shown as graph in the attached image
And this the error log we get on server multiple times for concurrent request
{"address":"","code":"ETIMEDOUT","errno":"ETIMEDOUT","level":"error","port":,"syscall":"connect"}
{"level":"debug","message":"resolving connection error connectionInfo:"}
{"level":"debug","message":{"error":true,"errorMsg":"connect ETIMEDOUT :"}}
{"level":"debug","message":"response from connectClient: "}
{"level":"debug","message":{"error":true,"errorMsg":"connect ETIMEDOUT :"}}
{"level":"debug","message":"MarkLogic error"}
Error: connect ETIMEDOUT :
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '',
port:
}
Error: connect ETIMEDOUT :
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '',
port:
}
{"level":"debug","message":"error occurred:"}
The text was updated successfully, but these errors were encountered:
MayuriSivanesan
changed the title
Token generation request timeout for Marklogic based authentication
Token generation request - Performance issue for Marklogic based authentication with concurrent users
Nov 10, 2021
We have used marklogic based authentication for our koop-provider application and have begun load testing of about 100 concurrent users. With every request the time taken to fetch the token gradually increases. Some of them taking nearly more than 70secs to complete token generation request. This causes request timeout error after about 24 concurrent requests through the koop provider. We have also added the diagnostic data for better understanding.
The REST endpoint we tried to access: https://myhost/marklogic/token
And the time taken to complete each response is shown as graph in the attached image
And this the error log we get on server multiple times for concurrent request
{"address":"","code":"ETIMEDOUT","errno":"ETIMEDOUT","level":"error","port":,"syscall":"connect"}
{"level":"debug","message":"resolving connection error connectionInfo:"}
{"level":"debug","message":{"error":true,"errorMsg":"connect ETIMEDOUT :"}}
{"level":"debug","message":"response from connectClient: "}
{"level":"debug","message":{"error":true,"errorMsg":"connect ETIMEDOUT :"}}
{"level":"debug","message":"MarkLogic error"}
Error: connect ETIMEDOUT :
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '',
port:
}
Error: connect ETIMEDOUT :
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '',
port:
}
{"level":"debug","message":"error occurred:"}
The text was updated successfully, but these errors were encountered: