Hi,
I have a Web API (Method GET) that sporadically fails and responds with http status 500. When I test it manually, with the same request, it works perfectly.
Checking web api logs (web_api_req_resp_activity.log) I see: "body" : "500 - Internal Server Error"
Checking tomcat-stdOut.log I see:[Appian AppianServerThreadPoolProvider 1680924] ERROR com.appiancorp.connectedsystems.http.execution.AppianHttpRequestExecutor - ConnectorRuntimeException [title=Connection timed out, The integration execution time exceeded the configured timeout]
Checking design_errors.csv I see:All_Digital_Channels,AWS_GetPage (getpage),Web API,API Web Services,APNX-1-4198-000,Expression evaluation error [evaluation ID = a6e0f:1d079] in rule 'aws_aaabbb': Invalid index: Cannot index property 'body' of type Text into type Text,a6e0f454abd9e91cd6945ab8487579a8:1d079c3d00638e7f,aeccefc3-09ab-4951-9e47-80ff276293b2,,,,,,,,
This error doesn't seem to make sense to me because when I test manually it doesn't happen.
Is there any other log that can be analyzed in this situation?
Does anyone know where the problem could be?
Thank you in advance for your collaboration.
Discussion posts and replies are publicly visible
Sporadic issues with integrations that include the work "timeout" clearly point towards a, well ... sporadic timeout on that API.
There is not much you can do about it. Did you try to increase the timeout setting in the integration?
Thanks for the quick response Stefan!
We were actually already thinking about asking to increase the timeout since we have responses with a duration close to the defined timeout.
Thanks!
My rule of thumb is to configure the timeout to be 2-3 times the normal maximum response times I observe. There is really no point in a very short period.