Closed seanknox closed 9 months ago
This seems like Loop can't authenticate to Nightscout. I've confirmed the API is correct by logging into the Nightscout web UI.
I had this issue and I had recently changed my API key. I found that I had to restart my NS instance for the new API key to take. I see though you’re using Heroku, whereas I am running NS on my own Linux VPS.
Make sure your URL doesn’t have a trailing slash in Loop settings too
It was the trailing slash in the URL! Great find.
Well, to be fair to the docs...it is in there. ;) https://loopkit.github.io/loopdocs/operation/loop-settings/services/#nightscout
True, though a user really shouldn't have to ensure that text input like this is sanitized; the app should do that. I'm going to see if I can make that happen.
I wish you could edit what you have entered. It took me three tries of typing the URL in several variations and the lengthy API Secret. As you have to Delete and start over.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
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/
vshttps://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:
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
Phone
Loop Version
CGM
Pump
Additional context Add any other context about the problem here.