Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fitbit Authorize URL giving SSLException

We have a user with an active subscription to Fitbit. When we try to get login for that user we are getting the below error
"I/O error on POST request for \"https://www.fitbit.com/oauth2/authorize\": Connection reset; nested exception is javax.net.ssl.SSLEx...

Best Answer
0 Votes
2 REPLIES 2

Hi @PranInfo,

 

Thanks for reporting this. I don't quite understand what you mean by getting the login for the user. Can you provide me with reproduction steps so I can get a better understanding of how this error is occurring?

Best Answer
0 Votes

Hi @JohnFitbit

We are trying to access several APIs of Fitbit, but sometimes we encounter an SSL Exception. This type of exception is an error that indicates a problem with the secure channel used to access the API. 

This SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket.
Some of the Fitbit APIs are mentioned below:
POST API=>
https://api.fitbit.com/oauth2/authorize?client_id=23BHSH&response_type=code&scope=activity nutrition
POST API=>
https://www.fitbit.com/oauth2/token?client_id=23BHSH&code=[]&grant_type=authorization_code
POST API=>
https://www.fitbit.com/1.1/oauth2/introspect

Best Answer
0 Votes