CA API Gateway: Websocket connection fails with variables in the outbound URL

Document ID : KB000095732
Last Modified Date : 14/05/2018
Show Technical Document Details
Issue:
When trying to use context variables in the Websocket outbound URL you will see errors similar to the below in the ssg log and the connections will fail.

WARNING 156 com.l7tech.external.assertions.websocket.server.InboundSocketCreator: Exception caught creating inbound WebSocket:java.net.URISyntaxException: Cannot resolve outbound URL.: Not all context variables have been resolved:wss://ServerName:${port}${path}
 
Resolution:
The versions of the Websocket assertion that ships with the base version of the 9.x gateway does not support this feature. There is a newer tactical assertion that must be requested from CA Support to enable this.