hds_overlay icon indicating copy to clipboard operation
hds_overlay copied to clipboard

Frequent prompts for disconnected

Open cnZary opened this issue 2 years ago • 9 comments

Did you try these troubleshooting steps? Yes/No (If you say no please provide an explanation) No,This fault is not related to the list Hardware/Software

  • iPhone: iPhone SE 2020
  • iOS: 15.4(19E241)
  • Apple Watch: Series 7 45mm
  • watchOS: 8.5(19T242)
  • Windows: Windows 10 21H2 19044.1586
  • App: 11.6(1)
  • Server: 11.0.0+8

To Reproduce Steps to reproduce the behavior:

  1. Upgrade watchOS to 8.5
  2. open HDS,click start
  3. hds_overlay hds_overlay Prompt to disconnected and connected now

Expected behavior Keep the link and do not report an error

Screenshots If applicable, add screenshots to help explain your problem. Snipaste_2022-03-31_21-39-58 Additional context Add any other context about the problem here.

cnZary avatar Mar 31 '22 13:03 cnZary

I can reproduce this with desktop app version 11 and latest watch app on watchOS 8.5. Really weird. Although it doesn't look like functionality is affected so it might be a low priority issue. Maybe it's a new power saving thing on the watch?

Unfortunately, the desktop app isn't really in a state to be updated right now so I can't promise if/when it will be fixed.

Rexios80 avatar Mar 31 '22 14:03 Rexios80

Also if you only need heart rate you could go through the cloud for free and avoid the issue entirely

Rexios80 avatar Mar 31 '22 14:03 Rexios80

Indeed he did not affect the normal use ok,thanks~

cnZary avatar Mar 31 '22 14:03 cnZary

I'm running into this same issue. Cloud is affected as well; watchOS 8.5.1 didn't seem to fix anything either. Accuracy is definitely affected by this issue. Although it's rare that the heart rate in the display will fallback to a dash ("—"), it does happen occasionally.

Basically, the currently displayed heart rate will just kind of "hang" on the last seen BPM until the connection reestablishes and receives and updated value.

mattbisme avatar Apr 02 '22 02:04 mattbisme

Can't reproduce the issue with the cloud. Even if the watch is disconnecting, the overlay can't tell through the cloud. But receiving data doesn't seem to be affected.

Screen Shot 2022-04-04 at 3 40 53 PM

Rexios80 avatar Apr 04 '22 19:04 Rexios80

I figured it out. It looks like Apple broke websocket pinging with URLSessionWebSocketTask which was causing the watch to force reconnect every 15 seconds... So now I'm working on migrating to another websocket client solution which should hopefully fix this issue.

This would also explain why my server was getting hammered by auth events 🙃

Rexios80 avatar Jul 24 '22 19:07 Rexios80

This should be fixed in 12.0+4

This build is currently on TestFlight if you want to get it early: https://testflight.apple.com/join/hG4FkmZ4

Rexios80 avatar Jul 25 '22 13:07 Rexios80

Incidentally, this solution is still not available on iOS16+watchOS9 Although they are not released :) Unfortunately I can't test in watchOS 8.5 right now

cnZary avatar Jul 25 '22 13:07 cnZary

I'm going to sit on the watchOS 9 issue until it's closer to release. Hopefully apple fixes it by then.

Rexios80 avatar Jul 25 '22 13:07 Rexios80

The watchOS 9 issue is resolved with the RTD Fallback feature in the watch app version currently on TestFlight

Rexios80 avatar Sep 11 '22 17:09 Rexios80