-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
dynv6 (IPv4) fails to update IP address and returns a "400 Bad Request" error #433
Comments
You've found a regression in v2.11.0, thanks! As you found out yourself, a space was lost between the token and HTTP/1.0 string. |
No problem, and sorry for the misclick (close/reopen). Do you think the failure is actually caused by the HTTP/1.0 being part of the URL string, or is this something else? |
It’s definitely that, no doubt.
…On Sat, 22 Jul 2023 at 12:00, Troels Just ***@***.***> wrote:
You've found a regression in v2.11.0, thanks! As you found out yourself, a
space was lost between the token and HTTP/1.0 string.
No problem, and sorry for the misclick (close/reopen). Do you think the
failure is actually caused by the HTTP/1.0 being part of the URL string, or
is this something else?
—
Reply to this email directly, view it on GitHub
<#433 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMZXJBOYQWMB52KBQL4YLXROQCXANCNFSM6AAAAAA2TNKHAE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Cool, at least then it is not any great mystery. :-) I will keep subscribed to this issue, so if you need help testing a patch at some point, I should be able to do so since FreeBSD makes it easy for me to roll my own package. :-) |
There, should work better now. Just tack on |
I tested the patch and I can confirm that it works fine now. :-) Hvis du engang er i Danmark, så skylder jeg vidst en øl. :-) |
I just installed inadyn 2.11 on FreeBSD via its package system and configured it as follows:
However when I attempt to start the service, the configtest passes, however it appears to never start, so I ran it in the foreground like so:
It discovers the external IP just fine but then fails at the end:
The first thing I noticed was this line:
Given the lack of a space character between the token and the "HTTP/1.0", I assumed it somehow added that to the URL by mistake, so I copied that URL and ran it manually in my Firefox browser which worked fine and updated the IP, like so:
I then tried running that command again via Firefox with the "HTTP/1.0" added and then then, somewhat obviously, get a the error code "invalid authentication token" and my Firefox developer console says the site returned a "HTTP/2 401 Unauthorized" error.
Personally, I have no idea what is causing this problem because, assuming the lack of a space between the token in the HTTP command and the "HTTP/1.0" is just cosmetic in the text output, the command works in Firefox but apparently not in inadyn.
The text was updated successfully, but these errors were encountered: