openwrt / openwrt/packages

acme dns_loopia

Open
#18,539 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

release/21.02 stale
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @\tohojo
Environment: OpenWrt 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-22.119.37126-a993714

Description:
Everything worked fine until Loopia updated their PAI service, but they said it sohuld not affect present functionality.
But apparently something broke and i have been retrying, testing and goooogling alot for the issue, but i can not find a solution :/

This is my --debug 2

Log was too long, so posted it here.
https://paste-bin.xyz/57836

The red marked parts are these from the debug 2

[Sat May 14 21:43:01 CEST 2022] Error
[Sat May 14 21:43:01 CEST 2022] Error add txt for domain:_acme-challenge.SOMEDOMAIN.EU
[Sat May 14 21:43:01 CEST 2022] _on_issue_err
[Sat May 14 21:43:01 CEST 2022] Please add '--debug' or '--log' to check more details.
[Sat May 14 21:43:01 CEST 2022] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

This is my config

config acme
        option state_dir '/etc/acme'
        option account_email 'SOMEGMAILUSERNAME@gmail.com'
        option debug '1'

config cert 'qdomains'
        option keylength '2048'
        option update_uhttpd '1'
        option update_nginx '1'
        option enabled '1'
        list domains 'SOMEDOMAIN.EU'
        list domains '*.SOMEDOMAIN.EU'
        list domains '*.home.SOMEDOMAIN.EU'
        list domains 'SOMEOTHERDOMAIN.EU'
        list domains '*.SOMEOTHERDOMAIN.EU'
        list domains '*.home.SOMEOTHERDOMAIN.EU'
        option validation_method 'dns'
        option dns 'dns_loopia'
        option days '85'
        option use_staging '1'
        list credentials 'LOOPIA_Api="https://api.loopia.se/RPCSERV"'
        list credentials 'LOOPIA_User="SOMEUSERNAME@loopiaapi"'
        list credentials 'LOOPIA_Password="PASSWORD_WITH_UPPERCASE_LOWERCASE_NO_WIERD_CHARACTERS"'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the dns_loopia configuration and the linked debug log, then compare the reported TXT-record failure with the Loopia API details in the issue. Done means identifying whether the Loopia update caused the failure and restoring successful DNS validation for the shown ACME configuration.

Written by the indexing model from the issue text.

Assessment

Domain
networking, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.