Details
-
Clarification
-
Resolution: Not a Bug
-
Critical
-
None
-
fuse-7.10-GA
-
None
-
False
-
None
-
False
-
%
-
Todo
Description
The customer is facing the below issue for some time while connecting with ESB Backend URLs using the Restlet component.
ISSUE:
======
- Some time while connecting with ESB Backend URLs using Restlet components. They have exposed their services using Restlet components. As soon as the Camel Restlet component receives a request, some extra header gets automatically created. below are the headers getting created automatically
- CamelRestletResponse=HTTP/1.1 - Internal Server Error (500) - The server encountered an unexpected condition that prevented it from fulfilling the request
- CamelRestletResponse=HTTP/1.1 - Request Timeout (408) - The client did not produce a request within the time that the server was prepared to wait
- Whenever they are getting these headers they are not able to connect with BackendAdapter. Their Backend service is also exposed using the Restlet component.
- They are getting the below error:
- org.apache.camel.component.restlet.RestletOperationException: Restlet operation failed invoking http://jocatabackendadapter.prod.svc.cluster.local:9902/rest/jocata/v1.0/fetchOfferDetails with statusCode: 1001 /n responseBody:HTTP/1.1 - Communication Error (1001) - The connector failed to complete the communication with the server at org.apache.camel.component.restlet.RestletProducer.populateRestletProducerException(RestletProducer.java:305)
- As per the customer, when this header is set to any value other than 200, calling the backend adapter fails with either of the following errors:
i) Communication Error (1001) - Need to check under what scenario this error is generated
ii) Socket timeout error: This is because of the network issue the communication with the backend system got timed out
ii) Connect to 172.16.32.68:8081 [/172.16.32.68] failed: Connection refused (Connection refused) - Either the backend server is not running or the backend server is not able to accept the connection. Asked them to check if the host is reachable using telnet.
----------------------------------------------------------------------------------------------------------------
Environment:
============
- Fuse 7.2.0
- OpenShift
Additional Information:
=======================
- Fuse on spring boot application is deployed on OCP.