03-02-2022 16:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
03-02-2022 16:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Best AnswerAccepted Solutions
03-02-2022 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-02-2022 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
03-02-2022 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
03-02-2022 16:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Could be this.
Gondwana Software
03-02-2022 16:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
03-02-2022 16:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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 Answer03-02-2022 16:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
03-02-2022 16:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
this solves it