Closed Lars9E closed 12 months ago
Hi! Did you change something on your backend side? Nightscout? Or Security? Could be an issue with your Security Token.
Hi,
Thanks a lot for coming back to me so quickly.
It actually stopped to work in the middle of the night while I was sleeping. I changed the URL afterwards so maybe I messed it up afterwards. The URL I use is now https://emileamsbeck.10be.de/token=XXXX with XXXX our password. Anything wrong with that?
And I also thought that maybe Nightscout changed something in the way they send data, but then other people would have the same problem I would expect.
Do you have other ideas?
From: dhermanns @.> Sent: Thursday, November 23, 2023 7:12 AM To: nightscout/nightguard @.> Cc: Lars9E @.>; Author @.> Subject: Re: [nightscout/nightguard] Bug: App doesn’t receive data from Nightscout anymore (Issue #263)
Hi! Did you change something on your backend side? Nightscout? Or Security? Could be an issue with your Security Token.
— Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/263#issuecomment-1823862354 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEGE7VAVZRBB5QZ5ES4I62LYF3SMHAVCNFSM6AAAAAA7XCZ7CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTHA3DEMZVGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BEGE7VAKGZUF7HPVGVKVK7TYF3SMHA5CNFSM6AAAAAA7XCZ7CSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTMWXXFE.gif Message ID: @. @.> >
If you entered your API Password as XXX, than this is the fault, yes. It should be your API Token that you generate in your nightscout admin section.
Ok, misunderstanding. Sure I put in the API Token as generated in Nightscout, I just didn`t want to send you our password.
I just wanted to send you the format in which I entered it. And I actually think it is correct because if I change it I get the error message that Nightgard doesn`t have access to Nightscout. If I enter it correctly I get the message that there is an unknown error extracting the data of the pebble watch API.
From: dhermanns @.> Sent: Thursday, November 23, 2023 2:51 PM To: nightscout/nightguard @.> Cc: Lars9E @.>; Author @.> Subject: Re: [nightscout/nightguard] Bug: App doesn’t receive data from Nightscout anymore (Issue #263)
If you entered your API Password as XXX, than this is the fault, yes. It should be your API Token that you generate in your nightscout admin section.
— Reply to this email directly, view it on GitHub https://github.com/nightscout/nightguard/issues/263#issuecomment-1824471994 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEGE7VAQYFBYBGMAUOOV77DYF5ICVAVCNFSM6AAAAAA7XCZ7CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUGQ3TCOJZGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BEGE7VDR2OTBMINAVUMCUQDYF5ICVA5CNFSM6AAAAAA7XCZ7CSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTMX453U.gif Message ID: @. @.> >
I understood that XXX is just a placeholder. But there is both a password and the notion of a token when setting up nightscout.
You can simply verify your URL by just calling it in your browser: https://emileamsbeck.10be.de/api/v1/entries.json?token=XXXX
If this returns a response like
{"status":401,"message":"Unauthorized","description":"Invalid/Missing"}
your provided token is wrong/broken. Simply generate a new one then with care portal access rights and you should be ready to go.
Since about 2 weeks I get the message „unknown error while extracting data from the Pepple Watch API“ (in German). And I strongly miss this app as it allows me much more sleep with our diabetes child and earlier intervention then setting regular alarms…