02-13-2023 09:53
02-13-2023 09:53
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 Answer02-17-2023 00:26
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-17-2023 00:26
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 Answer04-19-2023 03:00 - edited 04-19-2023 03:01
04-19-2023 03:00 - edited 04-19-2023 03:01
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