Skip to content
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

Graphs are not displayed after changing domain name of nightscout website. #205

Closed
AgushkaNightscout opened this issue Oct 14, 2022 · 7 comments

Comments

@AgushkaNightscout
Copy link

Hello,
Thank you for your great app!

I moved my nightscout website from heroku.com to another hosting, changed the domain name and put the new URL in the app settings. After that bg values, level change, time values, iob, cob, basal and battery are displayed (and changed), but graphs are not displayed, cage, sage, pump battery, tb, tt are not displayed or changed. Iphone 13 pro max, iOS 15.5, Nightguard 3.7.2. Correspondingly, same on the watch. Can you please tell me what the problem could be?

75bb8a64-6f2b-4d2e-8840-2f104a9dc9b7

64d808e4-d92d-4f95-a089-6307468e2fbe

Thank you!

@dhermanns
Copy link
Collaborator

Hi! Looks like your new backend is not working as expected. Nightguard uses some v1 and some newer v2 nightscout apis and some of them seem to return something unexpected.

You could send me your nightscout URI with read permissions and I will have a look.

@dhermanns
Copy link
Collaborator

What is your new nightscout backend version you probably switched to?

@AgushkaNightscout
Copy link
Author

AgushkaNightscout commented Oct 15, 2022

@dhermanns Please look [link]

NS version is 14.2.6, dev branch. Direct link to current commit #7043. On heroku.com was the same version, I didn't change it.

@dhermanns
Copy link
Collaborator

dhermanns commented Oct 15, 2022 via email

@dhermanns
Copy link
Collaborator

I just tried your URI containing the read token. Works fine and that should have been your problem:

If you secure your web-page even for reading, you will have to provide the token with read permissions in your nightscout-URI. Otherwise nightguard won't be able to read all the nightscout endpoints.

@AgushkaNightscout
Copy link
Author

You are absolutely right, now all works fine! Thank you very much!

@dhermanns
Copy link
Collaborator

Great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@dhermanns @AgushkaNightscout and others