Code Monkey home page Code Monkey logo

Comments (8)

Petbotson avatar Petbotson commented on August 19, 2024 2

hey,
i am encountering the same issue (or one like @danmed).

I have a few services listed, with a valid let's encrypt certificate, where everything is shown as fine.
But when it is a self signed certificate the check failes.

example one
Get "domain.com": tls: failed to verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead

example two
Get "domain2.com": tls: failed to veryfy certificate: x509: certificate is valid for localhost, not domain2.com

I think it would be great to have some kind of toggle to accept insecure certificates.

from glance.

danmed avatar danmed commented on August 19, 2024 1

ill go back and set up the monitor again.. i removed it because i realised i just wanted bookmarks.. uptime-kuma is already monitoring things for me..

Ill get back to you

from glance.

Rhys-Woolcott avatar Rhys-Woolcott commented on August 19, 2024 1

hey, i am encountering the same issue (or one like @danmed).

I have a few services listed, with a valid let's encrypt certificate, where everything is shown as fine. But when it is a self signed certificate the check failes.

example one Get "domain.com": tls: failed to verify certificate: x509: certificate relies on legacy Common Name field, use SANs instead

example two Get "domain2.com": tls: failed to veryfy certificate: x509: certificate is valid for localhost, not domain2.com

I think it would be great to have some kind of toggle to accept insecure certificates.

Yeah, hard agree. Especially in environments where you have your own root authority.

from glance.

svilenmarkov avatar svilenmarkov commented on August 19, 2024

Hey, thanks for providing feedback!

One issue with pinging is that it typically requires root privileges which is something I wouldn't want to involve for an application that simply aggregates data from a bunch of HTTP requests. This leaves me with having to call the OS native ping command and parse the result, however since I want to maintain cross OS compatibility I have to potentially parse 3 different outputs.

I'm not entirely sure what the best way to go about this is for the time being, I'll have to give it some thought.

from glance.

danmed avatar danmed commented on August 19, 2024

Appreciate the reply and your consideration... maybe a way to customise the response code that means it's all good? for example when i try and add my home assistant instance it fails (yet clicking the link actually shows it's all fine...)

from glance.

svilenmarkov avatar svilenmarkov commented on August 19, 2024

In what way does it fail? Can you check what the error is by hovering over the red "ERROR" text? There should also be an error in your logs.

from glance.

Bit0r avatar Bit0r commented on August 19, 2024

Backend services like MySQL cannot accept HTTP requests; their availability can only be confirmed through ping.

from glance.

Bit0r avatar Bit0r commented on August 19, 2024

The Go language has a pro-ping library, which can send ping using three different protocols: icmp, udp, and http.

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.