cancel
Showing results for 
Search instead for 
Did you mean: 

Can't reach Cloud Connector through IDoc Adapter

rene_kramp1
Participant
0 Kudos

Hello Experts,

I'm trying to send an IDoc to my ECC. I'm using a Cloud Connector.

The Cloud Connector is connected to the Cloud Platform. I'm able to ping the Cloud Connector with the Connectivity Test within the CPI Tenant. Anyway when I'm trying to get a connection through an iFlow I'm getting errors.

What I've tried:

Proxy Type Internet, On-Premise and https/http in Address.

I'm always getting an UnknownHostException or HTTP 400. Any Idea?

Best Regards

René

Accepted Solutions (0)

Answers (3)

Answers (3)

Hi rene_kramp1,

You should use Proxy Type as On-premise, mention the location ID of cloud connector and then remove https instead use http.

Hope this helps !

thanks and regards,

Praveen T

rene_kramp1
Participant
0 Kudos

Hello Praveen,

I've tried I'm getting this Error:

An internal server error occured:

HTTP response '400: Bad Request' when communicating with http://XXXXXXX:8000/sap/bc/srt/idoc?sap-client=800

LogFile see below

sunny_kapoor
Advisor
Advisor

HI rene_kramp1 ,

You should always use On premise and http in address for on premise connection via cloud connector.

I hope you are using virtual host and port in CPI that you have defined in cloud connector. Also you have allowed the paths which you want to access in ECC.

Kindly check your Cloud Connector logs for more details and if possible share your cloud connector configuration screen as well.

Regards,

Sunny

rene_kramp1
Participant
0 Kudos

Hello Sunny,

I've tried I'm getting this Error: An internal server error occured:

HTTP response '400: Bad Request' when communicating with http://XXXXXXX:8000/sap/bc/srt/idoc?sap-client=800

LogFile in Cloud Connector:

at java.lang.Thread.run(Thread.java:836)|
2020-08-18 13:45:59,962 +0200#ERROR#com.sap.scc.rt#http-bio-8443-exec-3# #Tunnel account:///XXXXXXXXXXXX connect failed
com.sap.core.connectivity.tunnel.core.handshake.TunnelHandshakeException: Invalid status of handshake response: 401 Unauthorized
at com.sap.core.connectivity.tunnel.client.handshake.ClientProtocolHandshaker.finishHandshake(ClientProtocolHandshaker.java:129)
at com.sap.core.connectivity.tunnel.client.handshake.AbstractClientHandshaker.handleTunnelHandshakeResponse(AbstractClientHandshaker.java:241)
at com.sap.core.connectivity.tunnel.client.NotificationClientHandshaker.handleTunnelHandshakeResponse(NotificationClientHandshaker.java:100)
at com.sap.core.connectivity.tunnel.client.handshake.AbstractClientHandshaker.handleHandshakeResponse(AbstractClientHandshaker.java:219)
at com.sap.core.connectivity.tunnel.client.handshake.AbstractClientHandshaker.handleHttpResponse(AbstractClientHandshaker.java:147)
at com.sap.core.connectivity.tunnel.client.handshake.AbstractClientHandshaker.handleHttpObject(AbstractClientHandshaker.java:134)
at com.sap.core.connectivity.tunnel.client.handshake.AbstractClientHandshaker.channelRead(AbstractClientHandshaker.java:115)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:321)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:295)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1486)
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1235)
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1282)
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:498)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:437)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:836)|
0 Kudos

Hi Rene,

I'm also facing same error. We're you able to fix this issue?