I keep receiving this notification on my dashboard. What is this and what can I do to solve it?
Update: We rolled back the release that included the background worker.
You should be able to refresh the page in your browser to pull in the rolled back version. If you continue to see either message, you may need to clear the cache/data in your browser to force it to pull in the rolled back version.
More details are available in my post further down in the thread .
Can you share more details about when youâre seeing that message? What type of device and browser is it on? Iâve had one other report of this on iOS when the âAdd to Homescreenâ feature is used.
â
TLDR: The message wonât functionally impact anything as itâs just a background feature right now.
We are in the process of some pretty significant architecture enhancements for the platform. Weâre changing how the realtime updates work and the first step of that is piloting a realtime connection in a âbackground workerâ. We had been running this in beta for the past several weeks without issue, so we released it to production on Monday.
This will ultimately be used to push the realtime updates to your dashboards though, so Iâd love to track down whatâs going on.
Thereâs two basic error messages that could show up. The âBackground worker disconnectedâ message shouldnât show up as it relies on a pretty fundamental feature of the browser, but as noted above, another user mentioned they are seeing it on iOS with âAdd to Homescreenâ, so I suspect thereâs a weird quirk with that combination. Weâre looking into that.
Background worker disconnected [RELOAD]
The second message that could show up is âSocket disconnectedâ and you would expect to see this message if you didnât have a solid network connection or perhaps if you were transitioning between networks (eg. Wi-Fi to cellular). That message would automatically clear once the network connection was reestablished and the socket was able to reconnect.
Socket disconnected
Iâm also getting this (Background worker disconnected) on an iPad any time the iPad screen locks, and the iPad subsequently is unlocked. Happens whether I am using the âadd to homeâ method or just vanilla Safari. I do have several media tiles that are pointed to HTTPS mjpg streams that are visibly timed out and not refreshing, along with this (despite having the option set to refresh them).
Edit: pressing the reload button that shows up next to it refreshes everything, if this pop-up notification simply just automatically refreshed everything without presenting the pop up to the user, that would seem to avoid the problem entirely?
Can you share more details?
I just tried on iPadOS 17.2 on a 9th generation iPad. If I open SharpTools in Safari, hit the power button, then hit the power again and unlock, I donât see the message.
That would be great if thereâs a consistent way to reproduce this. Is there a step I missed? Or is some amount of waiting before powering back on required?
â
I noticed the message come up once while I was collecting the OS details for my reply above. The screen autolocked after a timeout while I was on the iPad settings screen, then when I unlocked and switched back to Safari, I briefly saw the âBackground worker disconnectedâ message, then it resolved itself after a 2-3 seconds.
If you wait a few seconds, does the message go away?
If I wait - the message does go away, but the MJPG media tiles never refresh on their own after that. If I press the refresh button before the pop-up disappears, the media tiles all refresh.
I just got the iPad, itâs also a 9th gen. I havenât updated it yet, itâs still on 16.6. Initially, I was a little bit hesitant about upgrading it to iOS 17 with the somewhat low RAM in this model, but I think maybe I am being overly cautious.
There is an update available to 16.7.2 and also 17.1.1 (not sure if 17.2 would then be an option once upgraded to 17.1.1).
Iâm thinking about maybe first upgrading to 16.7.2, seeing if the issue is still there - if so, then upgrading to 17.1.1.
You think that is a good plan?
Also, when I say the MJPG streams are not refreshing - this is specifically what Iâm talking about:
And yes, it does seem to mostly happen after the iPad locks as a result of the idle auto-lock feature. Manually locking and unlocking does not cause the error.
I suspect that the underlying reason is probably the same with both of them â I suspect itâs something iOS / Safari is doing to stop the processing when Safari is âbackgroundedâ.
I donât think updating your OS version will solve it. Letâs move the MJPEG discussion to its own thread as while the underlying iOS / Safari action that is triggering it is likely the same as the âBackground worker disconnectedâ message, itâs a different issue.
Can you share some more details? What make/model device is it? What browser are you running?
It looks like thatâs running in âAdd to Homescreenâ right? Does it also occur directly in a normal browser?
Samsung S22+
Samsung Internet Browser
Not sure what that is⌠Is that the shortcut for the dashboard? If so Yes.
My Dashboard is always on on a Windows PC that sleeps on a regular basis. Iâve not seen it there.
UPDATE:
My wife has the same phone. She saw the same message as well as the socket message this morning. She was leaving through the garage. She could not get the garage doors (either of them) to open with her phone dashboard. She had to use the wall switch. I suspect she pressed many times. About 5 minutes after she left, the garage doors went crazy. Opening partially, closing partially, opening fully, etc. This happened for about 2 minutes. Is it storing her presses and triggering after those messages go away?
She most likely would be transitioning from WIFI to cellular in the driveway.
No. It doesnât store the commands. It sends the request and it either succeeds, fails, or times out. It should have timed out well before the 5 minutes though, so that timing is a bit odd.
If it happens again and you want me to look into it, send a note to support@sharptools.io with the relevant device ID and approximate time and time zone.
Just an update that we rolled back the front end change that includes the background worker and socket connection.
If any of you are part of the beta program or would like to join, I would love your help in figuring out how to reproduce this consistently.
Iâm in the Beta. Iâll keep an eye out and activly try to reproduce.
I didât think so, but I can see her in my minds eye pushing like a mad womanâŚ
The 5 minutes might be key as we have a poor cell signal from the driveway to about 5 minutes away. I was thinking that maybe when she actually drove into better coverage it started triggering her madness!!! LOL
Iâm also getting these messages many times per day on my Fire tablets. They hang there for sometimes and hour and they obscure content. I use Fully Kiosk browser.
Sorry, Iâve been away most of the day. This is occurring on a Fire tablet running fully kiosk. I noticed this morning and it has reoccurred 3 more times.
Which messages? If you were getting only the socket disconnect message, that points to potential instability with the network connection. If youâre seeing the âBackground worker disconnectedâ message, that would be interesting as Iâm not seeing that on any of the Fire Tablets with Fully Kiosk Iâve tested with. It would be helpful to get some additional hardware/version details. (Fully Kiosk â Settings â Other Settings â Device Info)
Same question on details. Iâm also curious what kind of settings you have in place for Fully Kiosk. Is it set to lock the screen or some other idle / screensaver type of approach?
Just to reiterate that we rolled this change back earlier today, so you should be able to refresh the page in your browser to pull in the rolledback version. (Try âGo to Start URLâ in Fully Kiosk or clear the cache in Fully if itâs holding onto the new version and you donât have the navigation bar or pull-to-refresh enabled)
Iâm seeing both messages.
Iâm also having problems with the fully kiosk wake on camera and wake on microphone that started about the same time. Have not been able to prove a connection.
Additionally I donât think I have network issues. My network is stable and there is strong wifi at both devices.