-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Fail to send update if first attempt to transmit IP address fails, never recovers! #107
Comments
This looks serious! Could you tell me a bit more about where and how
I'd like to narrow down the exact cause for the failure to update so we can |
here the inadyn.conf we used: ssl Sry no further logs, inadyn tried only one time to report its own address to the DynDNS Server. Then inadyn checks cyclically every two minutes to see if the IP address of the WAN interface has changed. If this is not the case (and that is in most cases) no repetitions are performed and dyndns has no current IP address of the device |
Thanks for the update, will do a root-cause analysis and see what it could be.
|
When a HTTP transaction in `send_update()` fails we must schedule a forced address update in the next IP check cycle, otherwise the IP update will not take place until the next `forced_update`, which by default is 30 days. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This bug should now hopefully be fixed. Thanks for reporting it! 😃 👍 |
Not fixed. If function http_init (in function send_update) fails then the flag will not be set. Why function http_init failed:
|
OK, let's reopen then 👍 |
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Please audit 02945ed, when everyone's happy we can go ahead and make another release 😃 |
Looks good. P.S.
And see part of commit 7e94e41
I do not understand the purpose of this line in patch
And why the proposed patch does not fit? (in first comment #107 (comment)) |
@BulldozerBSG Thanks for the audit! I don't really understand your other question. The patch in question was not in the correct place. The |
It fixes a big bug about IP not getting updated. troglobit/inadyn#107
If the first attempt to transmit the own IP Address to DynDNS failes. There are no further tries until the IP Address changes again. DynDNS has at this time no current IP address of the device.
possible patch for this (for discussion)
The text was updated successfully, but these errors were encountered: