Comments (17)
good idea!
from dashy.
If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated
from dashy.
Hi
Will look into this as well and test for myself.
But I really really strongly suggest you to look into nginxproxymanager or any other similar reverse proxy, they can manage certificate renewal and automatically add them to all your services.
But here is the part in the docs that explains how to add a ssl cert:
https://dashy.to/docs/management/#auto-ssl
from dashy.
cert:
Let me clarify one thing:
I’d like to use dashy to check the other https services rather than accessing dashy via https.
Say, there’s one https service accessing via https://emby.nas (it will be redirected to http://192.168.0.2:xxxx)
I’ve generated a self-signed CA root and signed it.
What I’d like to know is how can I import the pub key into dashy to enable the status check of https://emby.nas. It seems the default setting cann’t enable dashy to check it. But when I fill in “http://192.168.0.2:xxxx” in the status check url, there’s no problem.
There’s no problem in my local dns and I’ve already checked it. There’re dozens of items like this, so I cann’t fill in all the IP one by one and I may also change the IP in the future.
I can also open “https://emby.nas” using the browser on my computer after importing the CA pub key into my computer. So the CA cert is also OK and I just need to know how to import it into dashy to enable it check the other https services on my local network.
Thanks a lot and expect to your response.
from dashy.
should I import the pub key to dashy? and how? I can’t find the solution in the doc.
You asked, so I provided you the guide.
Most likely what you are experiencing is a dns issue, I once had similar problems, in the docker container shell(so inside dashy) you can install nslookup to test if dns Resolution works or not.
This can be done with:
Host shell: 'sudo docker exec -it {container_name} /bin/sh'
Then you should get into the docker containers shell where you can do 'apk update' and 'apk add bind-tools' then you can normally test with 'nslookup emby.nas' to see if the correct adress gets resolved.
I know dns inside a container can be a bit tricky that's why I ask you to verify this.
from dashy.
If you can verify dns works then you can add this option:
statusCheckAllowInsecure: true
As described here:
https://dashy.to/docs/status-indicators/
from dashy.
If you can verify dns works then you can add this option: statusCheckAllowInsecure: true
As described here: https://dashy.to/docs/status-indicators/
It seems that the option is for http rather than https? The HTTPS which I wanna check is self-signed using my CA. And those HTTPS can be accessed via PC browser after importing self-signed CA pub key.
This is what I see in the doc you gave:
“If the URL you are checking has an unsigned certificate, or is not using HTTPS, then you may need to disable the rejection of insecure requests. This can be done by setting statusCheckAllowInsecure to true for a given item.”
from dashy.
good news. I've partially resolved it!
Just export NODE_EXTRA_CA_CERTS=/path/to/file/selfsigned-CA.pem
All the https services can be checked now, terrific!
But there's only one https service failed: jackett!
I've no idea what's the reason, and the service is OK and can be opened successfully by clicking. (local address: https://jackett.nas) So I think there's no problem with my local DNS or https service itself. But the status check is failing with this prompt like "ERR_FR_TOO_MANY_REDIRECTS"
What does it mean? How to resolve it?
from dashy.
What does it mean? How to resolve it?
That should be fairly straightforward, in the UI editor there is an option redirects, you can set it to a higher number like 10 and test again.
https://dashy.to/docs/configuring/#sectionitem
It means the site redirected a bit more than dashy allows to, but this can easily be set higher.
from dashy.
If you can verify dns works then you can add this option: statusCheckAllowInsecure: true
As described here: https://dashy.to/docs/status-indicators/
It seems that the option is for http rather than https? The HTTPS which I wanna check is self-signed using my CA. And those HTTPS can be accessed via PC browser after importing self-signed CA pub key.
This is what I see in the doc you gave:
“If the URL you are checking has an unsigned certificate, or is not using HTTPS, then you may need to disable the rejection of insecure requests. This can be done by setting statusCheckAllowInsecure to true for a given item.”
That is not correct,
A lot of services include self signed certs, for example pfsense, portainaer, those certs are not signed by anyone, so the browser shows a message when visiting the service-> unsecure connections or so, even if it is https and if you run on http you also can enable this function to allow dashy to check those.
from dashy.
What does it mean? How to resolve it?
That should be fairly straightforward, in the UI editor there is an option redirects, you can set it to a higher number like 10 and test again.
https://dashy.to/docs/configuring/#sectionitem
It means the site redirected a bit more than dashy allows to, but this can easily be set higher.
I cannot find how to modify it in the UI so I try to modify the config.yml instead.
do you mean modify it like this? But the validator shows error :"should not have additional property: statusCheckMaxRedirects"
{
"title": "jackett",
"icon": "hl-jackett",
"url": "https://jackett.nas",
"statusCheckMaxRedirects": 10,
"id": "2_851_jackett"
},
from dashy.
You first have to click enable status check in the UI, then the option should appear :).
from dashy.
You first have to click enable status check in the UI, then the option should appear :).
And in fact the appConfig already set status check to default, should I click "enable status check" again to enable the statusCheckMaxRedirects" option?
Then,
I clicked "enable status check"
save it to the file
rebuilt the project
open it again
there's "enable status check", but no "statusCheckMaxRedirects" option
from dashy.
Let me test this, will get to this in 2 hours when I'm home. There should actually be an option, have used it myself.
from dashy.
For me it looks like this:
To be honest, not fully sure why you are not seeing those options, are you running the latest dashy?
@Lissy93 Have you got any idea here?
from dashy.
It's very strange that although I wrote "latest" tag in the docker-compose file, I still pulled the wrong version which is not 3.0.0.
I changed the "latest" tag to 3.0.0 and the "status check - Max Redirects" appear now.
But the jackett problem still exists, even I changed the number to 10. I got "ERR_FR_TOO_MANY_REDIRECTS" prompt when I put cursor over the item. When I click the item, there's no problem to open jackett.
Or, is there any method that I got green light even I got "ERR_FR_TOO_MANY_REDIRECTS" error, just ignore this specific error.
from dashy.
Hmm good to see, that the option is now there.
Is there any specific subpath, you need to take when entering jackett?
Like jackett.nas/login if so the change the statuscheck URL.
Can you write inspecting what html code you get in your browser when you are not logged into jackett, e.g. what happens when a not logged in user visits jacket.nas ? Can you see a green 200 OK in developer tools->network tab->reload the page
from dashy.
Related Issues (20)
- [FEATURE_REQUEST] Proxmox usage HOT 5
- [QUESTION] theme for each user HOT 5
- [FEATURE_REQUEST] Generalized display control for user/group/roles
- [BUG] Cant start Dashy after changing to version 3.0.1 HOT 7
- [BUG] Startup on 3.1.0 consumes too much cpu HOT 21
- [BUG] Unauthorized user can access /conf.yml HOT 1
- [BUG] Updated the container and my customizations are missing HOT 8
- [BUG] Favicon not loading on page load HOT 5
- [Feature_Request] add new type of Window
- [BUG] widget gets placed in the wrong spot in the dashboard HOT 3
- [BUG] Glances Issue HOT 9
- Keycloak and user type HOT 1
- own config not loaded after upgrade to 3.1 <title> HOT 4
- [QUESTION] Issue running docker command HOT 3
- [FEATURE_REQUEST] <Widgets for Zabbix>
- [BUG] Minimal view as starting view not using correct theme HOT 6
- [BUG] yarn.lock update for heroku (on Netlify)
- [QUESTION] Cookies or Session states cleared/reset when link clicked? HOT 11
- [BUG] Glances Network Traffic Error HOT 2
- error 404 all of a sudden HOT 35
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 dashy.