Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIM server returning timeout error when calling the non-existing context continuously #2203

Closed
LayaniMal opened this issue Oct 6, 2023 · 0 comments

Comments

@LayaniMal
Copy link

LayaniMal commented Oct 6, 2023

Description

The APIM server returns a timeout error when calling the non-existing context recursively during the tracing or telemetry enabled.

Steps to Reproduce

  • Downloaded an APIM-4.2.0 pack
  • Configure and enable the Jaeger Tracing(only need to enable tracing or telemetry) by adding the below configuration.
[apim.open_tracer]
remote_tracer.enable = true
remote_tracer.name = "jaeger"
remote_tracer.properties.hostname = "localhost"
remote_tracer.properties.port = "6831"
  • Tried to call the just “/” or invalid API context.

When there is network latency the issue is reproducing and the below logs are getting printed.

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

No response

Relevant Log Output

WARN {org.apache.synapse.transport.passthru.SourceHandler} - STATE_DESCRIPTION = Socket Timeout occurred after accepting the request headers and the request body, INTERNAL_STATE = REQUEST_DONE, DIRECTION = REQUEST, CAUSE_OF_ERROR = Connection between the client and the WSO2 server timeouts, HTTP_URL = /, HTTP_METHOD = GET, SOCKET_TIMEOUT = 180000, CLIENT_ADDRESS = /********:**, CORRELATION_ID = *********, CONNECTION = http-incoming-1876, Could not get a  PassThroughMessageProcessor thread to process the request message. The primary worker pool is exhausted.
INFO {org.apache.synapse.transport.passthru.SourceHandler} - Writer null when calling informWriterError
WARN {org.apache.synapse.transport.passthru.SourceHandler} - STATE_DESCRIPTION = Socket Timeout occurred after accepting the request headers and the request body, INTERNAL_STATE = REQUEST_DONE, DIRECTION = REQUEST, CAUSE_OF_ERROR = Connection between the client and the WSO2 server timeouts, HTTP_URL = /test/1.0.0/new?responsave=****, HTTP_METHOD = GET, SOCKET_TIMEOUT = 180000, CLIENT_ADDRESS = /******:***, CORRELATION_ID = **********, CONNECTION = http-incoming-1877, Could not get a  PassThroughMessageProcessor thread to process the request message. The primary worker pool is exhausted.
INFO {org.apache.synapse.transport.passthru.SourceHandler} - Writer null when calling informWriterError

Related Issues

No response

Suggested Labels

APIM 4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants