|
|
|
@ -21,6 +21,7 @@ import org.java_websocket.client.WebSocketClient; |
|
|
|
import org.java_websocket.handshake.ServerHandshake; |
|
|
|
import org.thingsboard.server.msa.mapper.WsTelemetryResponse; |
|
|
|
|
|
|
|
import javax.net.ssl.SSLParameters; |
|
|
|
import java.io.IOException; |
|
|
|
import java.net.URI; |
|
|
|
import java.util.concurrent.CountDownLatch; |
|
|
|
@ -89,4 +90,9 @@ public class WsClient extends WebSocketClient { |
|
|
|
throw new RuntimeException(e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected void onSetSSLParameters(SSLParameters sslParameters) { |
|
|
|
sslParameters.setEndpointIdentificationAlgorithm(null); |
|
|
|
} |
|
|
|
} |
|
|
|
|