Coder Social home page Coder Social logo

Custom endpoint not working about glance HOT 12 CLOSED

rytiggy avatar rytiggy commented on May 13, 2024
Custom endpoint not working

from glance.

Comments (12)

jaylagorio avatar jaylagorio commented on May 13, 2024 1

Gotcha. I'll see if I can shoehorn a certificate into my reverse proxy for that host. Thank you!

from glance.

jaylagorio avatar jaylagorio commented on May 13, 2024 1

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!

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

Try using the custom data source option and entering this instead http://nightscout.lagor.io/pebble

from glance.

jaylagorio avatar jaylagorio commented on May 13, 2024

I tried this:

  1. Update the URL
  2. Force close the Fitbit app
  3. Reopen and hit the Sync button
  4. Reset/reload the watch face, tap the time to update

Unfortunately it still says E404.

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

it looks like it's because your Nightscout site doesn't support HTTPS:
Settings: Blocked insecure request to URL: http://nightscout.lagor.io/pebble?count=47

Do you know if you can fix that and make it support https

from glance.

jaylagorio avatar jaylagorio commented on May 13, 2024

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?

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

Who are you using for your host?

from glance.

jaylagorio avatar jaylagorio commented on May 13, 2024

It's privately hosted: https://github.com/jaylagorio/Nightscout-on-Windows-Server

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

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

from glance.

jaylagorio avatar jaylagorio commented on May 13, 2024

That sounds good to me! So I know for the future, how did you get to the "blocked insecure request" message?

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

haha I plugged it into my dev console

from glance.

Rytiggy avatar Rytiggy commented on May 13, 2024

Thanks for this info I'll be looking in to it!

from glance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.