Pega OOTB Asynchronous Connect-REST execution in Queue Mode is not creating broken queue item for HTTP code 500
OOTB asynchronous Connect-REST execution in Queue Mode is not creating broken queue item for HTTP code 500.
When checked in Pega Log files the external service response is as below which confirms that it failed with "HTTP Status code: 500 Internal Server Error" but there is no broken queue item in System-Queue-ExecutionRequest-Connect-Default for the failed item and the API call is getting lost in system.
OOTB asynchronous Connect-REST execution in Queue Mode is not creating broken queue item for HTTP code 500.
When checked in Pega Log files the external service response is as below which confirms that it failed with "HTTP Status code: 500 Internal Server Error" but there is no broken queue item in System-Queue-ExecutionRequest-Connect-Default for the failed item and the API call is getting lost in system.
2021-07-29 14:41:25,844 [ WebContainer : 8] [TABTHREAD5] [ ] [ CDMS:01.04.01] ( connect.rest.RESTConnector) INFO - HTTP Status code: 500 Internal Server Error 2021-07-29 14:41:25,844 [ WebContainer : 8] [TABTHREAD5] [ ] [ CDMS:01.04.01] ( connect.rest.RESTConnector) DEBUG - ------------------HTTP RESPONSE CONTENTS------------------ Response Headers: Connection: close Content-Length: 536 Content-Type: text/html; charset=iso-8859-1 Date: Thu, 29 Jul 2021 19:41:25 GMT Response Message Data: 536 bytes received <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> </body></html>
With Synchronus execution tracer shown HTTP 500 error
pyStatusVal |
Fail: Unexpected HTTP 500 Response code |
responseCharset |
iso-8859-1 |
skipBody |
false |
pyHTTPResponseCode |
500 |
mapTo |
Clipboard |
MethodName |
POST |
pyUseFastJSONProcessing |
false |
Response |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> </body></html> |
pyRequestHeaders |
{Content-Type=application/json} |
pyStatusMsg |
the HTTP response code of 500 indicated a server error. The response data may contain a reason. |