[RemotePayOrderService#payOrder] Content-Length: 497 [RemotePayOrderService#payOrder] Content-Type: application/json [RemotePayOrderService#payOrder] from-source: xxx [RemotePayOrderService#payOrder] ReqChannel: xxx [RemotePayOrderService#payOrder] ReqChannelName: xxxx [RemotePayOrderService#payOrder] ReqChannelType: xxx [RemotePayOrderService#payOrder] ReqFrom: xxx [RemotePayOrderService#payOrder] TraceId: efc3d32ab7bf40ae9c140d8b826375da [RemotePayOrderService#payOrder] user_id: xxxx [RemotePayOrderService#payOrder] username: xxxxxx [RemotePayOrderService#payOrder] X-Forwarded-For: 192.168.6.48 [RemotePayOrderService#payOrder] [RemotePayOrderService#payOrder] {"channelId":1,"sourceKey":"ed146475586c4a448589xxxx2b81ad0","type":"6","amount":5000,"subject":"xxxx","body":"xxxx","userName":"xxx","certNo":"350xxxx3220036","cardType":"xxx","cardNo":"xxxxx","feeType":"1","expire":"xxxx",,"operatorId":"xxxxx","operatorName":"xxxx"} [RemotePayOrderService#payOrder] ---> END HTTP (497-byte body) [RemotePayOrderService#payOrder] <--- HTTP/1.1 200 (83ms) [RemotePayOrderService#payOrder] connection: keep-alive [RemotePayOrderService#payOrder] date: Thu, 03 Jul 2025 00:04:44 GMT [RemotePayOrderService#payOrder] keep-alive: timeout=60 [RemotePayOrderService#payOrder] transfer-encoding: chunked [RemotePayOrderService#payOrder] [RemotePayOrderService#payOrder] {"code":200,"traceId":"efc3d32ab7bf40ae9c140d8b826375da","data":{"orderNo":"965c2b90b4204c368c1b58ad5exxxx44","payType":"xxx","status":"2","payInfo":{"qrCode":"http://xxx.xxx.xx/qrCode?ct=aHR0cHM6LyMTM2dDJsZWd4NnenN5MDBhYg==&w=400&h=400"},"successTime":"xxxxx"},"success":true} [RemotePayOrderService#payOrder] <--- END HTTP (348-byte body) Using @ExceptionHandler GlobalExceptionHandler#handleRuntimeException(RuntimeException, HttpServletRequest) Using 'application/json', given [application/json, text/plain, /] and supported [application/json, application/+json, application/json, application/+json, application/xml;charset=UTF-8, text/xml;charset=UTF-8, application/+xml;charset=UTF-8, application/xml;charset=UTF-8, text/xml;charset=UTF-8, application/+xml;charset=UTF-8] response: {"msg":"Could not extract response: no suitable HttpMessageConverter found for response type [Result] and content type [application/octet-stream]","traceId":"efc3d32ab7bf40ae9c140d8b826375da","code":500} Writing [{msg=Could not extract response: no suitable HttpMessageConverter found for response type [com.xhd.c (truncated)...] Resolved [feign.codec.DecodeException: Could not extract response: no suitable HttpMessageConverter found for response type [Result] and content type [application/octet-stream]]

The log shows that the correct result has been returned: json { "code": 200, "traceId": "efc3d32ab7bf40ae9c140d8b826375da", "data": { "orderNo": "965c2b90b4204c368c1b58ad5exxxx44", "payType": "xxx", "status": "2", "payInfo": { "qrCode": "http://xxx.xxx.xx/qrCode?ct=aHR0cHM6LyMTM2dDJsZWd4NnenN5MDBhYg==&w=400&h=400" }, "successTime": "xxxxx" }, "success": true }

However, the following error occurred: plaintext feign.codec.DecodeException: Could not extract response: no suitable HttpMessageConverter found for response type [Result] and content type [application/octet-stream]

This indicates a mismatch between the expected JSON response and the actual content type reported as application/octet-stream.

May I ask what could be causing this issue to occur intermittently, and how can it be resolved?