Issues with websocket connections from API Gateway using ssl .
The websocket connection to Api Gateway fails though and ssg log shows following error:
2024-09-13T11:30:10.105+0200 INFO 341063 com.l7tech.external.assertions.websocket.server.WebSocketOutboundHandler: Attempting to create WebSocket connection to: wss://examplewebsocketserver.com:443
2024-09-13T11:30:10.105+0200 WARNING 341063 com.l7tech.external.assertions.websocket.server.SSGInboundWebSocket: Failed to create connection to the server for websocket id=6a9f4b27434a4e63c981befed1592dbd:13:HTTP/1.1. Reason:java.lang.IllegalStateException: HttpClient has no SslContextFactory, wss:// URI's are not supported in this configuration
Why do we get the error - what does it mean "wss:// URI's are not supported in this configuration" ... ?
The Error indicate the connection expect ssl but it is not enabled in the connection details for the connection .
Do the following to enable ssl for the websocket connection: