03-02-2022 16:16
03-02-2022 16:16
Dear community,
I have downloaded Version 0.9.2 on Windows 11, and noticed the simulator OS cannot connect to developer bridge at all.
After looking at the logs, it seems that simulator fails to connect and reconnect to websocket server because of trust issues
[2022/03/03 00:02:10:7535] ERR: SSL error: unable to get local issuer certificate (preverify_ok=0;err=20;depth=2)
[2022/03/03 00:02:25:7573] NOTICE: lws_client_connect_2: 0d26d8d0: address 027-v3-api-soa.fitbit.com
[2022/03/03 00:02:25:7710] NOTICE: lws_client_connect_2: 0d26d8d0: address 027-v3-api-soa.fitbit.com
[2022/03/03 00:02:25:7710] NOTICE: lws_client_connect_2: 0d26d8d0: address 027-v3-api-soa.fitbit.com
[2022/03/03 00:02:25:7710] NOTICE: lws_client_connect_2: 0d26d8d0: address 027-
00:02:25.785 > app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} ... 00:02:25.978 > app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"reconnectBackoff"}}
It keeps happening and never ending.
Interestingly openssl s_client -connect 027-v3-api-soa.fitbit.com:443 -showcerts says certificate is valid.
Any idea how to overcome this?
Answered! Go to the Best Answer.
03-02-2022 16:19
03-02-2022 16:19
03-02-2022 16:29
03-02-2022 16:29
https://community.fitbit.com/t5/SDK-Development/Simulator-SSL-Problem/m-p/5003032/highlight/true fixes it. You should highlight this issue in your documentation.
03-02-2022 16:30