Skip to content

Can't connect to Nightscout if Nightscout URL has trailing slash #977

@seanknox

Description

@seanknox

Describe the bug
User gets Nighscoutuploadkit.Uploaderror error 0 when setting up Nightscout if the Nightscout URL has a trailing slash (e.g. https://myappname.herokuapp.com/ vs https://myappname.herokuapp.com)

Attach an Issue Report
Tap the Loop settings icon on the bottom of the screen, then tap Issue Report and attach it to this ticket.

To Reproduce
Steps to reproduce the behavior:

  1. Go to settings
  2. Tap to set Nightscout
  3. Enter NS URL with a trailing slash

Expected behavior
Loop accepts Nightscout URL or sanitizes it (removes the trailing slash).

Actual behavior
Loop returns Nighscoutuploadkit.Uploaderror error 0. I've tried multiple different (new) Nightscout sites and confirmed the API Key is correct.

Screenshots

image

Phone

  • Hardware: iPhone XR
  • OS Version: iOS 12.2

Loop Version

  • Version Number: v1.10.0dev (omnipod-testing)
  • Repo: LoopKit/Loop

CGM

  • Device: Dexcom G6
  • Manager app: Dexcom app

Pump

  • Manufacturer: Omnipod
  • Model: Eros
  • Firmware version:

Additional context
Add any other context about the problem here.

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