We are getting below exception while connecting to Websocket API.
Can you please check..
Connecting to WebSocket wss://amer-1.pricing.streaming.edp.thomsonreuters.com:443/WebSocket ...
com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (amer-1.pricing.streaming.edp.thomsonreuters.com)
at com.neovisionaries.ws.client.SocketConnector.verifyHostname(SocketConnector.java:281)
at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:246)
at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:190)
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2323)
at reuters.MarketPriceEdpGwAuthentication.connect(MarketPriceEdpGwAuthentication.java:165)
at reuters.MarketPriceEdpGwAuthentication.main(MarketPriceEdpGwAuthentication.java:98)