mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Bug: dyn bad request sent error
#236
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lylmiksistemas on GitHub (Dec 9, 2022).
TLDR: Describe your issue in a one liner here
update of ip with dyndns get bad request error
Running version latest built on 2022-12-07T10:12:54Z (commit 727f3ff)
Logs:
Configuration file (remove your credentials!):
Host OS: UnRaid Version: 6.11.4
Changed credentials with ****
@qdm12 commented on GitHub (Dec 14, 2022):
Are you using your client key? I re-checked dyndns documentation and the code seems to match.
However, it's "password" that is mentioned, whereas it should be the client key. I changed the documentation and code to accept the json key
"client_key"(retro-compatible with"password")@scrummie02 commented on GitHub (Dec 28, 2022):
Still getting the same error:
Config file:
Still getting bad request.
@stonytec commented on GitHub (Jan 11, 2023):
exactly the same here
@qdm12 commented on GitHub (Jun 12, 2023):
Can you figure out how to do it with a browser?
Just try https://yourusername:yourkey@members.dyndns.org/v3/update?hostname=cloud.dainbentley.com
Replacing
yourusernameandyourkey(and yourhostnamevalue).From their docs in their response body, there isn't much I can do to fix it 😢
@Sticklyman1936 commented on GitHub (Dec 10, 2023):
I've just tried this, and was getting the exact same error (
bad request sent).I have managed to get things working by setting
provider_ipto false (which updates the request with a&myip=1.2.3.4, which then works correctly). It there a chance that dyn doesn't support determining the IP address automatically? They themselves suggest using checkip.dyndns.org to determine the IP. Also, if I manually make the request in the browser and don't include themyipvariable, I get the samebad request sent. I think that the docs should likely be updated to setprovider_ipto false, and the option should likely be ignore or should at least log a warning.The other thing I had to update was the HTTP timeout because it was failing a lot of the time with the default 10 second timout - I guess the update service is a little slow - but that's a different issue and definitely not an issue with your tool! :)
Thanks so much for creating this tool! I'm happy to test things if required.
@qdm12 commented on GitHub (Jan 19, 2024):
@Sticklyman1936 thanks for the good find! Their documentation is wrong then, stating about the
myipparameter:c8ba7edcb7fixes this issue, by removing theprovider_ipsetting and always injecting themyipquery parameter.Their servers are awfully mega slow, even loading https://help.dyn.com/remote-access-api/perform-update/ takes forever, and it's a static page... I changed the delay to 20 seconds in
8096944623😉This should now be resolved, please open another issue if it still doesn't work 😉 Thanks!