Porkbun registrar support using wrong API url (?)

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.1.23
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

I attempted to use the experimental registrar support for Porkbun, but despite being 100% certain I entered the correct auth key and secret key, it did not work. I understand that the support is experimental and this feature isn’t necessary for me, but it would be super convenient, and I thought I would report the issue here. If there’s a better place to file this issue (i.e. one of the yunohost github repos), please let me know. Basically, just glancing at the v3 json documentation for Porkbun here (porkbun.com | Porkbun API V3), it says that the api hostname should be api.porkbun.com and not just porkbun.com. As you can see in the error message provided below, Yunohost is attempting to ping porkbun.com. Seems like a pretty simple fix, but I’m hesitant to try to tweak my yunohost install any more than necessary for various reasons.

Share relevant logs or error messages

Failed to authenticate on registrar's API. Most probably the credentials are incorrect? (Error: 403 Client Error: Forbidden for url: https://porkbun.com/api/json/v3/ping)

The library we use for this feature is outdated. It’s planned to be updated in a not too long time but we cannot provide ETA.
See Update to v3.21.1 by Thovi98 · Pull Request #3 · YunoHost/lexicon · GitHub

1 Like

Cool, thanks for the info!