Nightscout URL issue
Closed this issue · 5 comments
Hi, I'm trying to setup NS share server and I've got an issue with Nightscout URL. I've tried typing addresses with http, https, without it, ending with "/" and without it. I've also tried entering URL's for different versions of NS sites. Each time when I hit "Load glucose" button site responds with "Could not retrieve glucose data, please verify your nightscout url: error, Internal Server Error".
Show me your nightscoutshareserver site? PM me on gitter if you don't want to paste it here.
Also, if you're using iphone and loop, you should probably consider spike, which can fetch glucose from nightscout and feed it directly into loop.
My site: https://hubidexcom.azurewebsites.net/
My log_secret: Thisisatestpass
Are you using a special build of cgm-in-the-cloud?
Your site is having problems decoding glucose entries. It expects glucose datestring from nightscout to be in the format "2018-06-28T12:17:15.426+0200", but yours is in another format: "Thu Jun 28 12:13:32 CEST 2018."
I've created a workaround, just update your build; 8e06f9c
Thank's a lot! Works like a charm 👍
I wasn't using any special build. I've tested many more NS urls from Polish users and none of them returned proper BG. Could it be Azure location (set to North Europe) or Polish time zone in NS profile settings?