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

[Windows 11][fitbit OS Simulator] device bridge is disconnected

ANSWERED

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?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Could be this.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
3 REPLIES 3

Could be this.

Peter McLennan
Gondwana Software
Best Answer

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.

Best Answer
0 Votes

this solves it

Best Answer