Skip to content

Issues polling glucose from Share #13

Closed

Description

@loudnate

@channemann and @eyim are having intermittent issues with glucose updating from Share.

Asking them to debug invocations of private func backfillGlucoseFromShareIfNeeded(). If the issue isn't immediately reproducible, additional remote logging calls can be added.

Activity

  1. loudnate commented on Jun 1, 2016

    @loudnate
    CollaboratorAuthor

    Looks like @channmann is seeing DataError. We need to augment ShareClient to find out what the core issue is.

    mddub/dexcom-share-client-swift#3

  2. channemann commented on Jun 4, 2016

    @channemann
    Collaborator

    Situation:

    • Was playing softball, left phone, receiver, and RL on sideline, drifted in and out of range starting around 11 am
    • Receiver (and share app) show periodic glucose readings received between 11 am and 12:35 pm, at which point I was back in range and getting consistent readings
    • Loop app has reservoir data until 11:05 am, then picks back up at 12:30 (and has reservoir data every 5 minutes after that)
    • Loop app stops showing glucose data after11:04 am
    • Error from mLab:
    {
        "_id": {
            "$oid": "57532eb2c2ef1612e2a11d6e"
        },
        "source": "ShareClient",
        "message": "DataError(\"Failed to decode SGVs as array: {\\\"Code\\\":\\\"SessionNotValid\\\",\\\"Message\\\":\\\"Error in the application.\\\",\\\"SubCode\\\":\\\"<OnlineException DateThrownLocal=\\\\\\\"2016-06-04 12:40:33.7290426-07:00\\\\\\\" DateThrown=\\\\\\\"2016-06-04 19:40:33.7290426+00:00\\\\\\\" ErrorCode=\\\\\\\"\\\\\\\" Type=\\\\\\\"6\\\\\\\" Category=\\\\\\\"5\\\\\\\" Severity=\\\\\\\"1\\\\\\\" TypeString=\\\\\\\"SessionNotValid\\\\\\\" CategoryString=\\\\\\\"Logical\\\\\\\" SeverityString=\\\\\\\"Minor\\\\\\\" HostName=\\\\\\\"\\\\\\\" HostIP=\\\\\\\"\\\\\\\" Id=\\\\\\\"{C6EFDB18-A1D8-46D7-97F4-39D82F1B3E41}\\\\\\\" Message=\\\\\\\"Error in the application.\\\\\\\" FullText=\\\\\\\"Dexcom.Common.OnlineException: Error in the application.\\\\\\\" \\\\/>\\\",\\\"TypeName\\\":\\\"FaultException\\\"}\")",
        "reportedAt": "2016-06-04T12:40:33-0700"
    }
    

    That's one of several, from 12:30 am every five minutes. There are also associated errors with PredictGlucose, such as:

    {
        "_id": {
            "$oid": "57532ec1bd966f1469bd90b0"
        },
        "source": "PredictGlucose",
        "message": "StaleDataError(\"Glucose Date: 2016-06-04 18:04:04 +0000 or Pump status date: 2016-06-04 19:40:00 +0000 older than 15.0 min\")",
        "reportedAt": "2016-06-04T12:40:49-0700"
    }
    

    Subsequently killed and restarted app at 12:53 pm. Loop ran successfully at 12:55 pm, and everything returned to normal.

    cc @mddub

  3. loudnate commented on Jun 4, 2016

    @loudnate
    CollaboratorAuthor

    Can you open a new ticket here: https://github.com/mddub/dexcom-share-client-swift/issues? It looks like we need to detect and renew session expiry.

  4. mddub commented on Jun 4, 2016

    @mddub
    Contributor

    Give v0.1.2 of https://github.com/mddub/dexcom-share-client-swift a try, let's see if that fixes it.

  5. added a commit that references this issue on Jun 4, 2016
    c4dab35
  6. added a commit that references this issue on Jun 5, 2016
    6d0d56c
  7. added a commit that references this issue on Feb 10, 2019
  8. added a commit that references this issue on Apr 20, 2019
  9. added a commit that references this issue on May 9, 2019
  10. added a commit that references this issue on Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions