-
Notifications
You must be signed in to change notification settings - Fork 140
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
No hosts or host table rows not found #84
Comments
Still doesn't work for me. I also tried "https://www.noip.com/redirect/mynoip?force=true&intended=dynamic-dns", again with no luck. |
In noip-renew.py line 77 change: |
Thanks, it works now. |
also worked for me, thanks a lot |
Can someone upload a working file? There has been so many small tweaks in the master that it is almost impossible to keep track of all these changes :( |
Here you go. Should still be working at the moment. |
@Liniya That seems to be the original file without any modifications, but i will give it a try, thanks! My own file seems to work when the ddns has expired, but it can't detect how many days there are left until the next update. When it was working to 100 percent it changed the cron job to run at the same day it expires. |
No, it is the updated file. You can check by doing a diff with the one in the repo. Perhaps you didn't run the install procedure again (or just replace yours in /usr/local/bin). |
When i run it i get a picture called Will it create a daily cron job for you too, @Liniya or will it create one the day it will be able to update? |
If you go to renew/view your hostnames manually are there no hosts listed like the screenshot? Maybe your hosts werent renewed and you've lost them.. :( With @neothematrix as-yet unmerged PR #89 its working for me. |
@peteakalad Of course all my hostnames are there :) You can see they are there in the above picture but i have double checked it manually by logging in to noip. Will the cron job run every day for you or only when it need to? |
But pic 2 had no hostnames listed? The url accessed on pic 2 is what the script uses to determine the hosts. Not sure about the cron it sets up itself I set mine up manually to run daily. Any way try pr #89 code. |
But then your script it not working either. It should add the date it need to run when it is creating the cron job. Running it everyday is not what it suppose to do. I did made the changes you suggested but i get the same exception.png When the hostnames need an update the script works but it is the cron job that doesn't work. |
Running it daily can get you banned. |
It works for my purposes. I've been running for some time daily - no ban. You have evidence that running daily can get you banned? I'd say running any automated script to renew could get you banned :) Sounds like somethings broken on the cron setup and its causing it to run daily anyway, you'd better turn it off of you'll get banned! :P If its the cron setup failing not the actual renewal then a new issue would be better. |
I'm not an expert in python/bash but it seems that the script should save a results.png when it is working and then count how many days there are left to set the cron job to run only when it is needed and not everyday.
To set the cron job it will send the arguments day, month, and "True" with the noip-renew-skd.sh and it should set the correct cron job time. For some reason it will not do that because something is failing and when it can't do that it will instead set the cron job to run everyday at 00:30. If it saves exception.png it will send False instead of True:
Here is a part of the bash file that will set the cron job to different cron jobs if it is True instead of False
Something need to be changed in this line or around it:
|
You took the words right out of my mouth. You are running a script on the exact same day and time. It is easy to detect it. That is why it should be avoided, so no-ip won't try to stop this script from working. I don't know if the text is still there but for many years ago i could read on there pages that if you don't included a user agent in your ddns update script they will/could ban you. If they ban you for a simple thing as a missing user agent they will for certain ban you if you use scripts like this one. There is probably a reason for @loblab to included this feature :) |
It’s also easy to detect the default of this script - it always sets up crons for 0030hrs, just not as frequent of course. |
I solved this error by altering the Python code in noip-renew.py by changing:
HOST_URL = "https://my.noip.com/#!/dynamic-dns"
to:
HOST_URL = "https://my.noip.com/dynamic-dns"
Then one must re-rerun the shell script setup.sh and choose option 1.
Hope this this helps others...
The text was updated successfully, but these errors were encountered: