cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response '404 'address not found' when communicating with On-Premise System via RFC destination

sap_cdg
Explorer

Hello Members,

I have completed all the steps as described in the below link but i'm getting HTTP 404 error while deploying on the Cloud from Eclipse IDE.

https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/0a238b915b3a48adb950e580765...

I have created an active destination 'JCoDemoSystem' on sap hana portel .

also, I'm able to deploy 'hello world' program on hanatrail.ondemand server, only getting HTTP 404 error while deploying code with there is an RFC destination to access any Remote Function module.

here are some conenctor logs

-----------------------------

2019-05-14 18:09:47,742 +0530#DEBUG#org.apache.jasper.servlet.JspServlet#http-bio-8443-exec-8# #JspEngine --> /error_handler.jsp|

--------------------------

2019-05-14 18:11:24,143 +0530#DEBUG#org.apache.coyote.http11.Http11Processor#http-bio-8443-exec-7# #Error parsing HTTP request header

--------------------------------

2019-05-14 18:09:47,737 +0530#DEBUG#org.apache.tomcat.util.net.jsse.JSSESupport#http-bio-8443-exec-8# #Error trying to obtain a certificate from the client javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at org.apache.tomcat.util.net.jsse.JSSESupport.getX509Certificates(JSSESupport.java:99) at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:156) at org.apache.coyote.http11.Http11Processor.actionInternal(Http11Processor.java:262) at org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:968) at org.apache.coyote.Request.action(Request.java:347) at org.apache.catalina.connector.Request.getAttribute(Request.java:961) at com.sap.scc.tomcat.valve.SslWithFormFallback7.authenticate(SslWithFormFallback7.java:56) at org.apache.catalina.authenticator.AuthenticatorBase.authenticate(AuthenticatorBase.java:674) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:471) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

your help is highly appreciated.

Thanks,
Anuj

Accepted Solutions (0)

Answers (3)

Answers (3)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Anuj,

when exactly do you get the 404? Do you have stack trace? Is the destination JCoDemoSystem defined in your subaccount or on application Level? The Other Loggers trace entry org.apache.tomcat.util.net.jsse.JSSESupport is not needed it is not relevant at all. Other Loggers to be set to higher than Info is really rarely required. RFC itself is never showing a 404, as Ivan said this is an HTTP status code and is not used during RFC processing.

Best regards,
Markus

sap_cdg
Explorer
0 Kudos

Thanks Ivan.

Yes, I'm using RFC protocol at both ends and both are activated.

also, I'm getting the same error, irrespective of destination name given in below code.

JCoDestination destination=JCoDestinationManager.getDestination("JCoDemoSystem");

Thanks

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Anuj,

Are you sure you are using the RFC protocol at both ends (Cloud Connector & Destination)?

Error 404 is an HTTP error. Please check your configuration.

Best regards,

Ivan