I am trying to perform basic connection using Kite Connect Library: Note I generated request token by going to Chrome browser with the URL generated "kiteSdk.getLoginUrl()";
Not sure what wrong I am doing. Because exception seems not logical atall. I have perfect internet connection.
Sample Code:
KiteConnect kiteSdk = new KiteConnect(apiKey);
// Set userId. kiteSdk.setUserId(userId);
String url = kiteSdk.getLoginUrl();
// Get accessToken as follows, UserModel userModel; try {
// Set request token and public token which are obtained from login process. kiteSdk.setAccessToken(userModel.accessToken); kiteSdk.setPublicToken(userModel.publicToken);
Can you print e.message and check?