HostnameUnverifiedException for ticker connection

sathyatej
Getting the below error when connecting to ticker via API

Details:
1/ Note that we are not behind any proxy
2/ The program is running on AWS vps
3/ The below issue is seen thrice on 3 different days. It is not seen everyday.
4/ Using com.zerodhatech.kiteconnect version 3.4.0


2024-01-25 08:53:08,824 +0530 [Ticker] ERROR (LogUtil.java:22) - Z ticker Error for ZVCxxx
com.neovisionaries.ws.client.HostnameUnverifiedException: The certificate of the peer does not match the expected hostname (ws.kite.trade)
at com.neovisionaries.ws.client.SocketConnector.verifyHostname(SocketConnector.java:171)
at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:126)
at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:83)
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2152)
at com.zerodhatech.ticker.KiteTicker.connect(KiteTicker.java:214)
at com.broker.zerodha.ZerodhaKite.startTicker(ZerodhaKite.java:503)
Tagged:
Sign In or Register to comment.