10-20-2017 03:48 - edited 10-20-2017 03:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 03:48 - edited 10-20-2017 03:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
My watchface program was working fine. Tonight I just decided to change the look on a couple of icons. Before changing anything, I Built my watchface again and kept getting this error:
- [21:46:06]App Started[HOST]
- [21:46:07]Unhandled Error
- [21:46:07]Failed to create Comms session
- [21:46:07] at ./app/index.js:9:5
I've installed new, official watchfaces and deleted the companion app from the Fitbit app a half dozen times and still get this error.
I've installed an official watchface and changed this type to an App and installed that. It still comes up with the same error over and over.
I also unpaired and repaired my Ionic from the Fitbit app.
Any suggestions, please?
Answered! Go to the Best Answer.
Accepted Solutions
10-20-2017 04:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 04:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That fixed it!
Sad to have to do a Factory Reset.
I did notice the Companion App always said "Status: Inactive" when this error occurs.
So... Factory Reset (half an hour to reinstall firmware at least) and all good again.

10-20-2017 04:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 04:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I also got the same error suddenly on my app. My app worked fine until I changed some code on the SVG. Even when I undo the edits, it still throws the error. Any ideas what happens?

10-20-2017 04:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 04:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Dunno. I'm reinstalling the firmware after Factory Reset. Wish me luck!

10-20-2017 04:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 04:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That fixed it!
Sad to have to do a Factory Reset.
I did notice the Companion App always said "Status: Inactive" when this error occurs.
So... Factory Reset (half an hour to reinstall firmware at least) and all good again.

10-20-2017 07:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-20-2017 07:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
For me it seems that there is a problem with the Messaging part:
import document from "document"; import * as messaging from "messaging"; console.log("App Started"); var response = document.getElementById("demotext"); response.innerText = "Loading";
//Until here the code works messaging.peerSocket.onopen = function() { callWebservice(); }
When it gets to the peerSocket.onopen function it will throw the error for me. Is there not another way to fix this instead of doing a factory reset?

01-15-2018 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

01-15-2018 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I got this error and no matter what I changed in my app nothing worked! Didn't want to do a firmware update so tried the following to try and see what was causing the issue; it worked without a firmware update!
- I created a new blank app that did nothing but console.log('started') & console.log('stopped'); uploaded it and ran it.
- Then I copied my app code from the app that errors into the new app, excluding the companion code! Ran the new app and found no errors.
- Then finally created a companion folder and copied the original code into the new app and ran it. No Error!!
- Finally re-run the original app and no more error!!!
No idea how or why it worked but it's all sorted now. Re-ran the original app several times and no more errors! Hope this helps some else from doing a firmware update.
