-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 and 401 errors #193
Comments
You need to use: |
Hmmm. This gives me a 401 error For reference, I followed these steps: https://navid200.github.io/xDrip/docs/Nightscout/GoogleCloud.html Previously I had tried railway.app but it gave me the same errors as mentioned above. |
You might need to use: It seems the default configuration via google is completely password protected which is set up that way due to the |
Hey! In your browser if you navigate to I know that there is an issue currently with some / all nightscout sites hosted on |
Hey, @Rytiggy, this Would you like me to send you the MYSITE and ACCESS_TOKEN to your gmail so you can try it out? Hey, @ddellspe this |
Sure but but please do not send me the access token you use. create a new one so you can kick me out after: https://nightscout.github.io/nightscout/security/#create-a-token My email is [email protected] |
is this problem solved now? im using 10be too |
I am not currently using nightscout, please report back if its working for you guys and if 10be has fixed the issue on their end. |
So, for those looking at this, the problem is in the settings. If nightscout is set to "private" and requires a token for access, it would normally do this with something like this: https://mysite/pebble?token=MYTOKEN This will not work here, because in the custom endpoint settings, it will add queryParams to the URL you provide it, and by default it adds "?count=47" which would create a URL like this: https://mysite/pebble?token=MYTOKEN?count=47 which is a malformed url, it should be: [https](https://mysite/pebble?token=MYTOKEN&count=47 emphasis on the ampersand there. The quick workaround is to make your nightscout site public, if your comfortable with that and not require a token in the URL. If I find some time I will try and build a pull request to fix this going forward. |
The Glance watch face has been working great for over a year! I have been connecting my Versa 2 through a Heroku app.
But when I swtiched to a non-Heroku app, Glance started giving me a 404 error. I switched to Custom Data Source and now I can't seem to get data to flow.
This gives me a 404 error
https://MYSITE
This gives me a 401 error
https://MYSITE/pebble
This gives me a 401 error
https://MYSITE/pebble?token=readable-TOKEN
This gives me no error but also doesn't display data
https://MYSITE/api/v2/properties/
The text was updated successfully, but these errors were encountered: