Comments (8)
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.
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.
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.
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.
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.
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.
Backend services like MySQL cannot accept HTTP requests; their availability can only be confirmed through ping.
from glance.
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)
- Loving your work on glance. Do you accept donations by any chance? New to GitHub so don't know where to put this so putting it here. HOT 1
- FEATURE: Add auth HOT 4
- [FEATURE REQUEST] Adding option to only show error sites in Monitor widget HOT 1
- [FEATURE] Youtube channels exclude shorts from showing HOT 10
- [Feature Request] Ability to append domain for RSS items HOT 4
- [Feature Request] Clock widget HOT 1
- [Feature Request] Change weather provider HOT 2
- [Feature Request] GameServer Info Widget HOT 2
- Weather widget stops app initialization HOT 1
- [Request] Custom iFrame Title HOT 2
- [Feature Request] List of configurable links HOT 2
- FEATURE - Add docker images new releases widget HOT 2
- Feature - Add Trending Github Repositories HOT 2
- [FEATURE] Serving behind reverse proxy HOT 1
- [Bug] Piped feed don't show thumbnails HOT 3
- [Request] Swipe function on the smartphone HOT 1
- Alternate lobsters HOT 5
- [REQUEST] bilibili channel HOT 3
- Can't start in Win HOT 3
- [REQUEST] proxy server configurability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glance.