-
Notifications
You must be signed in to change notification settings - Fork 67
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
Custom endpoint not working #77
Comments
Try using the custom data source option and entering this instead |
I tried this:
Unfortunately it still says E404. |
it looks like it's because your Nightscout site doesn't support HTTPS: Do you know if you can fix that and make it support https |
That's interesting - and possibly, but not easily. Can a setting, off be default so you have to really know you want it, be added to allow HTTP? |
Who are you using for your host? |
It's privately hosted: https://github.com/jaylagorio/Nightscout-on-Windows-Server |
I will look into the possibility of it being able to support HTTP but I'm unsure if that's possible due to server limitations. if you could do the same for HTTPS |
That sounds good to me! So I know for the future, how did you get to the "blocked insecure request" message? |
haha I plugged it into my dev console |
Gotcha. I'll see if I can shoehorn a certificate into my reverse proxy for that host. Thank you! |
So the good news is I was able to reroute traffic, implement Let's Encrypt (which has kind of been on my list of things to do for a while), and now everything works. I still think a non-default HTTP Is OK option would be helpful in the future. Thanks for helping me figure this out! |
Thanks for this info I'll be looking in to it! |
This is largely a continuation of #5 but with several changes. The end result is that on Nightscout, not hosted on Heroku or Azure, I still can't get this working on my iPhone (a change from #5) and my fully updated Versa without using Spike. This is important to me since Apple has made it so Spike isn't a reliable option anymore.
Reading through the code (
Glance/modules/companion/settings.js
Line 34 in f25773d
http://nightscout.lagor.io/api/v2/properties
This returns the expected JSON in a browser on the desktop and on the iPhone. However, Glance shows E404 on the screen. What else can I try?
The text was updated successfully, but these errors were encountered: