-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
http://kz0q.com/daemon-releases unavailable, RPi Reporter crashes #114
Comments
That config setting is for OS updates (so a check on apt/ apt-get, it doesn't alter the script check. |
Really it should probably be checking
https://github.com/ironsheep/RPi-Reporter-MQTT2HA-Daemon/releases/tag/
and looking for a newer version number. Not sure if GitHub has an easy
function for that.
v1.8.5
http://kz0q.com isn't secure either and will be @ironsheep website, gone down for some reason. I assume he manual updates that list.
Feel free to amend everything and make it better.
…On Sun, 15 Oct 2023, 05:47 felix schwenzel, ***@***.***> wrote:
during the night my RPi Reporter installs stopped working. the log
indicated that they crashed when trying to check the url
http://kz0q.com/daemon-releases — which does not respond (an more?).
commenting out calls to getDaemonReleases() mitigated the problem, but i
think this should not hapen at all if the update check location happens to
be down. also i would suggest to add an option to disable ipdate checks:
# This script checks for pending os updates at a fixed internal in hours [2-24], [Default: 4]
#check_updates_in_hours = 4
why not enable an interval of 0 to disable update checking?
*Checklist:*
- [x ] I updated to the latest version available
- [ x] I checked that my MQTT broker is otherwise working
*Release with the issue:*
latest
—
Reply to this email directly, view it on GitHub
<#114>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYAXN7EV7NYKQ25LGVLW3LX7NTEJANCNFSM6AAAAAA6AXQNQ4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I do not feel comfortable with this function at all, especially when it makes call to a server where "attackers dropping large files". |
This could could be used to get latest version (just tested)
|
Well, I didn't mean to make light of this outage. I specifically chose a high-availability server for this purpose, which I run and pay for. The server is fully backed up, runs the latest security patches, and is updated every few days with newer security updates. It has had two short outages in the past 4 or 5 years. When something happens, I work with the service host to ensure we are preventing similar failures in the future. So, while I hear your concerns, I hope to assure you that I am working to make sure this does not cause further impact. @bsimmo thanks for your suggestion. (It seems I'm always thanking you. I really enjoy your support and activity.) I tried something like that initially, and I believe our current approach has a little bit less runtime impact. |
I've just had this same problem with the server not being available. Is there an option yet to turn off this checking? |
@dmshimself i checked the server, no issues. Were you by chance also experiencing any dns issues? |
No dns issues and the service worked for an hour or so before failing. I
guess my general comment is that I’d prefer not to have these hard coded
checks in or but to allow as an optional item or if they do fail, to allow
the app to continue
…On Thu, 14 Dec 2023 at 14:02, Stephen Moraco ***@***.***> wrote:
@dmshimself <https://github.com/dmshimself> i checked the server, no
issues. Were you by chance also experiencing any dns issues?
—
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUU52JFB3IR4RUKP5UQ7A3YJJF2NAVCNFSM6AAAAAA6AXQNQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHEZTENZUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I agree. This should work without such an external dependency. |
@dmshimself Oh, great suggestion. I'll get a non-impacting fail in my next update. |
Hello! I like this tool really very much. But the connection to http://kz0q.com for update-check seems not optimal, sorry. And the Problem still exist too, the deamon stopped working (stopps with the known error in log) I commented out the code ( For me the update-check ist not necessary anyway, i can look myself ;-). But if it should still be there for user-service-purposes:
|
@anderl78 yes, I'm working on repairing this mechanism. Update coming soon... maybe before Christmas? We'll see. |
Hello! Thank you very much! |
EDIT: looks like I was having an unrelated issue resolving dns, which was triggering the same kind of error in this thread. Is the expectation that this should currently be working but the method is going to be updated to be configurable/fail better? I currently have an issue starting the service with what looks like an error resolving the name. This used to work, but started failing several weeks ago (I'm unsure of the exact date).
|
Just go into the python file and comment out the line as shown above. It's not been fixed yet. |
during the night my RPi Reporter installs stopped working. the log indicated that they crashed when trying to check the url http://kz0q.com/daemon-releases — which does not respond (an more?). commenting out calls to
getDaemonReleases()
mitigated the problem, but i think this should not hapen at all if the update check location happens to be down. also i would suggest to add an option to disable ipdate checks:why not enable an interval of 0 to disable update checking?
Checklist:
Release with the issue:
latest
The text was updated successfully, but these errors were encountered: