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

FitBit OS Simulator: Device and Companion bridge disconnected

I started up the FitBit OS Simulator today and it's showing that the Device and Companion bridges are disconnected. I've used the simulator and developer studio together successfully (building and running a watch face) before a couple months ago. I tried uninstalling and reinstalling the simulator, deleting the 'Application Support' folder, logging out and back in (both the simulator and the studio web app), and any of those in various orders. I'm not sure what is wrong and/or how to fix it. I wish the simulator was like the Pebble one where it was built into the developer studio.

 

Mac OS Catalina 10.15.4

FitBit OS Simulator Version 0.8.2

Chrome Version 80.0.3987.163

 

Log output:

 

 

 

[2020-04-12 14:26:10.546] [info] appsim stdout: Congratulations! Your Higgs has been selected to take part in an exciting new opportunity called _Appmgr_RemoveAllApps(). This may take a few minutes. Thank you for your patience. Completion Percentage: 1% Completion Percentage: 2% Completion Percentage: 3% Completion Percentage: 4% Completion Percentage: 5% Completion Percentage: 6% Completion Percentage: 7% Completion Percentage: 8% Completion Percentage: 9% Completion Percentage: 10% Completion Percentage: 11% Completion Percentage: 12% Completion Percentage: 13% Completion Percentage: 14% Completion Percentage: 15% Completion Percentage: 16% Completion Percentage: 17% Completion Percentage: 18% Completion Percentage: 19% Completion Percentage: 20% Completion Percentage: 21% Completion Percentage: 22% Completion Percentage: 23% Completion Percentage: 24% Completion Percentage: 25% Completion Percentage: 26% Completion Percentage: 27% Completion Percentage: 28% Completion Percentage: 29% Completion Percentage: 30% Completion Percentage: 31% Completion Percentage: 32% Completion Percentage: 33% Completion Percentage: 34% Completion Percentage: 35% Completion Percentage: 36% Completion Percentage: 37% Completion Percentage: 38% Completion Percentage: 39% Completion Percentage: 40% Completion Percentage: 41% Completion Percentage: 42% Completion Percentage: 43% Completion Percentage: 44% Completion Percentage: 45% Completion Percentage: 46% Completion Percentage: 47% Completion Percentage: 48% Completion Percentage: 49% Completion Percentage: 50% Completion Percentage: 51% Completion Percentage: 52% Completion Percentage: 53% Completion Percentage: 54% Completion Percentage: 55% Completion Percentage: 56% Completion Percentage: 57% Completion Percentage: 58% Completion Percentage: 59% Completion Percentage: 60% Completion Percentage: 61% Completion Percentage: 62% Completion Percentage: 63% Completion Percentage: 64% Completion Percentage: 65% Completion Percentage: 66% Completion Percentage: 67% Completion Percentage: 68% Completion Percentage: 69% Completion Percentage: 70% Completion Percentage: 71% Completion Percentage: 72% Completion Percentage: 73% Completion Percentage: 74% Completion Percentage: 75% Completion Percentage: 76% Completion Percentage: 77% Completion Percentage: 78% Completion Percentage: 79% Completion Percentage: 80% Completion Percentage: 81% Completion Percentage: 82% Completion Percentage: 83% Completion Percentage: 84% Completion Percentage: 85% Completion Percentage: 86% Completion Percentage: 87% Completion Percentage: 88% Completion Percentage: 89% Completion Percentage: 90% Completion Percentage: 91% Completion Percentage: 92% Completion Percentage: 93% Completion Percentage: 94% Completion Percentage: 95% Completion Percentage: 96% Completion Percentage: 97% Completion Percentage: 98% Completion Percentage: 99% Completion Percentage: 100% Completion Percentage: 101% (Higgs always gives 111%) Completion Percentage: 102% (Higgs always gives 111%) Completion Percentage: 103% (Higgs always gives 111%) Completion Percentage: 104% (Higgs always gives 111%) Completion Percentage: 105% (Higgs always gives 111%) Completion Percentage: 106% (Higgs always gives 111%) Completion Percentage: 107% (Higgs always gives 111%) Completion Percentage: 108% (Higgs always gives 111%) Completion Percentage: 109% (Higgs always gives 111%) Completion Percentage: 110% (Higgs always gives 111%) Completion Percentage: 111% (Higgs always gives 111%) _Appmgr_RemoveAllApps() is complete. [E][14:26:10.344][] Fb_UserAlarms_Read: KV entry for alarm info not found! [E][14:26:10.344][] Fb_UserAlarms_Read: Any Alarms have been purged. [D][14:26:10.345][] Scheduler starting dispatch time: 1586719570345 [I][14:26:10.545][] Restarting alarms [I][14:26:10.545][] No upcoming alarms. Disabling alarm [A][14:26:10.546][] Houston, this is Versa 2!! [A][14:26:10.546][] Press ? anytime for help [A][14:26:10.546][] Version: 255.1.1207 (Jan 20 2020 03:55:12): d2b0f0bc9f [A][14:26:10.546][] GNU_BUILD_ID: [I][14:26:10.546][] Simulator control server starting on 127.0.0.1:63981 mfgtst $ [2020-04-12 14:26:10.547] [error] appsim stderr: [2020/04/12 14:26:10:5469] NOTICE: libuv support not compiled in  [2020-04-12 14:26:10.550] [error] appsim stderr: [2020/04/12 14:26:10:5508] NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 off  [2020-04-12 14:26:10.552] [error] appsim stderr: [2020/04/12 14:26:10:5520] NOTICE: created client ssl context for default [2020/04/12 14:26:10:5520] NOTICE: Creating Vhost 'default' port 63981, 1 protocols, IPv6 off  [2020-04-12 14:26:10.610] [error] appsim stderr: 2020-04-12 14:26:10.610 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false 2020-04-12 14:26:10.610 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false [2020-04-12 14:26:10.611] [error] appsim stderr: 2020-04-12 14:26:10.610 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false 2020-04-12 14:26:10.610 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false [2020-04-12 14:26:10.614] [error] appsim stderr: 2020-04-12 14:26:10.614 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0ea80a00 lr: 0x00000000, file: ../../products/common/src/fb_apps/switcher/switcher_grid_order.c, line: 53, func: Switcher_GridOrder_Load, expr: false [2020-04-12 14:26:10.616] [error] appsim stderr: 2020-04-12 14:26:10.616 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false 2020-04-12 14:26:10.616 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false [2020-04-12 14:26:10.617] [error] appsim stderr: 2020-04-12 14:26:10.616 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false 2020-04-12 14:26:10.617 app[59866:1493274] ASSERT_Log: Type: 2 func_addr: 0x0e9c40a0 lr: 0x00000000, file: ../../external_libs/koru/source/i18n/uifwk_i18n.c, line: 57, func: prv_get_locale_table_entry, expr: false [2020-04-12 14:26:12.790] [warn] 10 retries left: MethodCallTimeout: No response received for RPC call to 'initialize' [2020-04-12 14:26:13.796] [info] shell->app: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"} [2020-04-12 14:26:13.798] [info] app->shell: {"jsonrpc":"2.0","result":{"displayDimensions":{"w":300,"h":300},"capabilities":{"protocol":{"maxMessageSize":524288},"display":{"imageFormat":"ARGB8888","variableBrightness":true,"onOff":true},"gps":true,"barometer":true,"accelerometer":true,"gyroscope":true,"orientation":true,"hrm":true,"bodypresence":true}},"id":0} [2020-04-12 14:26:13.799] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"disconnected"}} [2020-04-12 14:26:13.799] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.808] [info] shell->app: {"id":1,"method":"devbridge.connect","params":{"authorization":"","uri":"wss://027-v3-api-soa.fitbit.com:443/dbridge/"},"jsonrpc":"2.0"} [2020-04-12 14:26:13.808] [info] Connecting to developer relay [2020-04-12 14:26:13.810] [info] shell->app: {"id":2,"method":"apps.status","jsonrpc":"2.0"} [2020-04-12 14:26:13.810] [info] shell->app: {"id":3,"method":"power.update","params":{"chargeLevel":1,"chargerState":"disconnected"},"jsonrpc":"2.0"} [2020-04-12 14:26:13.811] [info] shell->app: {"id":4,"method":"usersettings.update","params":{"units":{"distance":"metric","speed":"metric","volume":"metric","temperature":"C","height":"metric","bodyWeight":"metric","weight":"metric"},"locale":{"language":"en-US"},"device":{"airplaneModeEnabled":false,"vibrationEnabled":true},"exercise":{"poolLength":25},"preferences":{"clockDisplay":"24h","firstDayOfWeek":1}},"jsonrpc":"2.0"} [2020-04-12 14:26:13.811] [info] shell->app: {"id":5,"method":"primarygoal.update","params":{"primaryGoal":"steps"},"jsonrpc":"2.0"} [2020-04-12 14:26:13.812] [error] appsim stderr: [2020/04/12 14:26:13:8086] NOTICE: lws_client_connect_2: 0x7fcc73b0a8a0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:26:13.812] [info] app->shell: {"jsonrpc":"2.0","result":null,"id":1} [2020-04-12 14:26:13.812] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:13.813] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:13.813] [info] app->shell: {"jsonrpc":"2.0","result":{"apps":[],"foreground":{"uuid":"000013ff-0000-4000-8000-000000f17b17","buildID":"0000000000000000","name":"RunJS"}},"id":2} [2020-04-12 14:26:13.813] [info] app->shell: {"jsonrpc":"2.0","result":null,"id":3} [2020-04-12 14:26:13.814] [warn] No bundles for UUID:000013ff-0000-4000-8000-000000f17b17 BuildID:0000000000000000 [2020-04-12 14:26:13.818] [info] app->shell: {"jsonrpc":"2.0","result":null,"id":4} [2020-04-12 14:26:13.818] [info] app->shell: {"jsonrpc":"2.0","result":null,"id":5} [2020-04-12 14:26:13.818] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.819] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.820] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.820] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.821] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.821] [info] app->shell: {"jsonrpc":"2.0","method":"display.status","params":{"on":true,"aodActive":false,"stayOn":false,"brightness":0.4}} [2020-04-12 14:26:13.848] [error] appsim stderr: [2020/04/12 14:26:13:8484] NOTICE: lws_client_connect_2: 0x7fcc73b0a8a0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:26:34.000] [error] appsim stderr: [2020/04/12 14:26:34:0007] NOTICE: lws_client_connect_2: 0x7fcc72c7b8f0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:26:34.005] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"reconnectBackoff"}} [2020-04-12 14:26:34.008] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:34.008] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:34.042] [error] appsim stderr: [2020/04/12 14:26:34:0427] NOTICE: lws_client_connect_2: 0x7fcc72c7b8f0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:26:43.933] [error] Error: Unexpected server response: 502 at WebSocket.handleWsUnexpectedResponse (/Applications/Fitbit OS Simulator.app/Contents/Resources/app.asar/main.js:1:167224) at WebSocket.emit (events.js:182:13) at WebSocket.EventEmitter.emit (domain.js:442:20) at ClientRequest._req.on (/Applications/Fitbit OS Simulator.app/Contents/Resources/app.asar/node_modules/ws/lib/websocket.js:639:15) at ClientRequest.emit (events.js:182:13) at ClientRequest.EventEmitter.emit (domain.js:442:20) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:546:21) at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) at TLSSocket.socketOnData (_http_client.js:432:20) at TLSSocket.emit (events.js:182:13) at TLSSocket.EventEmitter.emit (domain.js:442:20) at addChunk (_stream_readable.js:279:12) at readableAddChunk (_stream_readable.js:264:11) at TLSSocket.Readable.push (_stream_readable.js:219:10) at TLSWrap.onread (net.js:636:20) [2020-04-12 14:26:43.939] [error] Relay: WebSocket was closed before the connection was established [2020-04-12 14:26:55.008] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"reconnectBackoff"}} [2020-04-12 14:26:56.008] [error] appsim stderr: [2020/04/12 14:26:56:0081] NOTICE: lws_client_connect_2: 0x7fcc73892a30: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:26:56.420] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:56.421] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:26:56.599] [error] appsim stderr: [2020/04/12 14:26:56:5993] NOTICE: lws_client_connect_2: 0x7fcc73892a30: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:27:18.001] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"reconnectBackoff"}} [2020-04-12 14:27:20.003] [error] appsim stderr: [2020/04/12 14:27:20:0030] NOTICE: lws_client_connect_2: 0x7fcc73909bd0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:27:20.041] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:27:20.041] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"connecting"}} [2020-04-12 14:27:20.044] [error] appsim stderr: [2020/04/12 14:27:20:0422] NOTICE: lws_client_connect_2: 0x7fcc73909bd0: address 027-v3-api-soa.fitbit.com  [2020-04-12 14:27:41.038] [info] app->shell: {"jsonrpc":"2.0","method":"devbridge.status","params":{"status":"reconnectBackoff"}}

 

 

 

 

Best Answer
0 Votes
4 REPLIES 4

Are you definitely logged into to Studio with the same account? In the settings tab of the simulator it displays your email address. Check that matches the account you see at the bottom of the screen when you view a project in Fitbit Studio.

Best Answer
0 Votes

I'm having the same problem and I've logged out and re-signed in on both the simulator and it isn't appearing as a device in the list

Best Answer
0 Votes

Could it be this?

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Post was on ‎14-04-2020 22:37 

I know there was something with a folder you should delete.

I'm using it all the time. No problems.

Using Windows computer for simulator 

Using Chromebook for Fitbit Studio.

Community Council MemberMario Dings | Rotterdam NL
Fitbit: Versa, Versa2, Sense. (Versa light) - Phone: Android. - Developer clockfaces.(Nederlands)
Best Answer