-
Notifications
You must be signed in to change notification settings - Fork 333
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
Discord webhook posting when the IP hasn't changed. #44
Comments
I'm currently away, in the mean time @agingorange will you be able to help take a look? |
Same problem here! Any update on this issue? |
Heya! This bug is really hard to track down, but I highly suspect that maybe the issue arises when the script failed to get a valid response at the Am I sure about that? Hell no! At most cases, the credentials used in the script should hardly change, unless someone rotated their passwords or else. However, there are instances where Cloudflare API servers are having a hard time both in June & July, which will cause API request to be dropped, or failed. But at that time frame, they said only Russia users are affected sooo....... yeah, weird. Sorry for the essay like comment, but anyways! Try editing the script's code from line 49, original code looks like
Change it to this
Since I have no idea when Cloudflare server suffers outages, will it still manage to return a JSON response so we can match it with I'm not making a PR for now, because I still don't know if the problem is exactly it or not. Thank you for reading the news-alike comment. |
Thanks for the fast response! I hope this can help a lot of people thanks a lot! 你太棒了! |
So far this fix is looking good @Sailboat265 but its only been running for 3 days, time will tell if it has the same issue. Regardless good fix and hopefully gets pulled into the next release. 👍 |
@Nevah5 Have you applied this fix? It has worked for mine. |
Whoops, I thought I did it, but I might have forgotten to save it. Still weird behaviour though, because it seems like it didn't log anything since a few days ago. |
@Sailboat265 |
@harukodi |
Uhhh damn... It's not the problem of dns_records then...? @rossiscool123 Can you copy and paste your running script here? (Rmb to remove the sensitive credentials info). |
DDNS.txt |
Hi, sorry for the late response, uni stuff's catching up a bit... nahhh, your exiting is alright. |
The issue that's happening is I'm being pinged about my IP changing when it has in fact not changed at all, I can only assume others are experiencing this and just haven't reported it. |
@rossiscool123 Thanks for re-explaining it again! I think I need some sleep lmao, been very forgetful about things.
Hmmm strange, I've not got any notice of this potential bug even though the script has been running on my raspi for months ady |
@rossiscool123 Uhhh sorry, can you go try Then, make sure to find the line, that matches exactly the date, and time where the duplicate ping was triggered. Maybe that could shred some light on what's actually going on... |
@rossiscool123 Thanks so much for the screenshot. Can you send a screenshot of discord message as well? Between Dec 18 00:39 to 00:51. Ohhh and pls mark the duplicated message again like you did, since only you can see the full IP. |
Fix for now. |
Got multiple webhook notifications saying its detected a new IP but the IP is exactly the same, its not consistent but random instead. The script is being ran every minute with CRON. Here's a screenshot for reference.
The text was updated successfully, but these errors were encountered: