AnsweredAssumed Answered

websocket outbound with dynamic url ?

Question asked by Michael Mueller Employee on Aug 9, 2018
Latest reply on Aug 16, 2018 by milst08

Hi Team.

I'm trying to implement a websocket defintion with a dynamic outbound/bakend URL


and of course I defined a connection policy, which sets different websocket_backend_ip values based on the incoming url.

Unfortunately it doesn't work as expected. It seems that no connection is opened to the backend system specified in the connection policy.

Instead I find the following message in the ssg_0_0.log:


2018-08-09T15:32:24.161+0200 WARNING 241922 com.l7tech.external.assertions.websocket.server.InboundSocketCreator: Exception caught creating inbound WebSocket:java.lang.StringIndexOutOfBoundsException: String index out of range: 44


Anyone has any idea , what I am doing wrong ?