Skip to content
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

"Unable to perform this operation" error #42

Closed
jasonlakez opened this issue Jul 11, 2024 · 6 comments
Closed

"Unable to perform this operation" error #42

jasonlakez opened this issue Jul 11, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@jasonlakez
Copy link

Seems it's the problem in the NAS configuration. Issue started after a IP change. Was working perfectly until yesterday.

Untitled

@priitliivak
Copy link

priitliivak commented Jul 23, 2024

Root cause seems to be: :"PATCH method not allowed for the api_token authentication scheme"
I initially thought this is due to incorrect auth token scope but I was wrong.

The script tried to update AAAA records although I had A records with ipv4 configured. Input parameter for the script was also ipv4 address. When I updated all my DNS records in Cloudflare to ipv6 the script worked but I would really prefer to use ipv4

@gozzilli
Copy link

Found the same issue on a new install -- first time I use the tool.

@mrikirill
Copy link
Owner

The script doesn't use IPv4 that Synology provides as arguments. Instead of, it requests https://api64.ipify.org?format=json which returns an external IPv4 or IPv6 and than based on the logic it tries to update the A record for IPv4 OR the AAAA record for IPv6.
Technically this can cause an issue if a zone has an A record but ipify returns an IPv6 address.
Looks like it needs to be a param probably by default use IPv4 with param select IPv6
Do you agree ?

@mrikirill
Copy link
Owner

Hey guys,

The script didn't cover case with both records A and AAAA
Made the update -> #45

@priitliivak
Copy link

Works great. Thanks for the update.

@gozzilli
Copy link

gozzilli commented Aug 3, 2024

Same. Thank you!

@mrikirill mrikirill added the enhancement New feature or request label Aug 5, 2024
@mrikirill mrikirill self-assigned this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants