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

Simulator Crashes on launch (Windows 8.1 and 10) (read ECONNRESET)

Today I downloaded the simulator on two separate machines and I am getting the same error on each. The following is the output from running it from the command line in my most recent attempt. Any help would be appreciated.

 

Checking for update
[20:38:04.678] [info] appsim stdout: [I][20:38:04.196][] Starting breakpad client - reporting to \\.\pipe\Fitbit OS Simulator Crash Service
[D][20:38:04.227][] Scheduler starting dispatch time: 1533613084227
Fb_AlarmMgr_Clean is running[A][20:38:04.679][] Houston, this is Ionic!!
[A][20:38:04.679][] Press ? anytime for help
[A][20:38:04.679][] Version: 255.1.692 (Jul 16 2018 20:32:18): Fake for tests
[A][20:38:04.679][] GNU_BUILD_ID:

mfgtst $
Update for version 0.6.1 is not available (latest version: 0.6.1, downgrade is disallowed.
[20:38:07.659] [info] companionhost->companion: {"method":"devbridge.status","params":{"status":"disconnected"},"jsonrpc":"2.0"}
[20:38:07.663] [info] Shell Client connected
[20:38:07.664] [info] shell->app: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"}
[20:38:07.670] [info] shell->companion: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"}
[20:38:07.675] [info] Shell Client disconnected
[20:38:07.683] [warn] 10 retries left: Error: write ECONNABORTED
*********************************
* SentryElectron unhandledError *
*********************************
{ Error: read ECONNRESET
at exports._errnoException (util.js:1024:11)
at TCP.onread (net.js:610:25)
code: 'ECONNRESET',
errno: 'ECONNRESET',
syscall: 'read',
type: 'error',
target:
WebSocket {
domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
readyState: 3,
bytesReceived: 0,
extensions: null,
protocol: '',
_binaryType: 'nodebuffer',
_finalize: { [Function: bound finalize] __ultron: 1 },
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: '',
_closeTimer: null,
_finalized: true,
_closeCode: 1006,
_receiver: null,
_sender: null,
_socket: null,
_ultron: null,
protocolVersion: 13,
_maxPayload: 104857600,
_isServer: true } }
---------------------------------
[20:38:08.683] [info] companionhost->companion: {"method":"devbridge.status","params":{"status":"disconnected"},"jsonrpc":"2.0"}
[20:38:08.684] [info] Shell Client connected
[20:38:08.685] [info] shell->companion: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"}
[20:38:08.686] [info] Shell Client disconnected
[20:38:08.687] [warn] 9 retries left: Error: Companion simulator connection was closed
[20:38:10.691] [info] companionhost->companion: {"method":"devbridge.status","params":{"status":"disconnected"},"jsonrpc":"2.0"}
[20:38:10.692] [info] Shell Client connected
[20:38:10.693] [info] shell->companion: {"id":0,"method":"initialize","params":{"capabilities":{"protocol":{"maxMessageSize":536870912}}},"jsonrpc":"2.0"}
[20:38:10.694] [info] Shell Client disconnected
raven@2.4.2 alert: uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown
Error: read ECONNRESET
at exports._errnoException (util.js:1024:11)
at TCP.onread (net.js:610:25)
[20:38:10.731] [warn] 8 retries left: Error: Companion simulator connection was closed

Best Answer
0 Votes
3 REPLIES 3

I have no idea if the installer requires admin rights but you may try this:
Are you running the installation from an Administrator account?
Have you tried to run the installer (Fitbit OS Simulator-latest-0.6.1.exe) as Administrator?

Best Answer
0 Votes

The installer does not require admin permission, this seems to be networking related.

 

Please make sure that nothing is bound to TCP ports 63981 and 63982 on your machines and that your firewall isn't interfering.

 

 

Best Answer
0 Votes

Testing at home my firewall is completely disabled, Just in case I added this executable to the list of programs allowed through.

  1. I checked netstat -an and see nothing on the ports you specified.
  2. I start the simulator. 
  3. Once I see the GUI come up I run netstat -an, and I see both ports show listening. 
  4. Wait a few seconds, and the app crashes showing what I previously posted. 

Just in case, before testing this I did uninstall then re-install with admin privileges. 

Best Answer
0 Votes