NginxProxyManager / NginxProxyManager/nginx-proxy-manager

websupportsk plugin not working correctly, API update needed?

Open
#3,447 11 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

dns provider request stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

What provider would you like to see added to NPM?
Websupport.sk

Have you checked if a certbot plugin exists?
There is newer version of DNS Authenticator plugin for Certbot
https://pypi.org/project/certbot-dns-websupport/ (version certbot-dns-websupport 2.0.1).
Seems it is fork from version 0.1.6 used in NPM. I have tested this version 2.0.1 and it works fine from Docker.

This one seems to be faulty and it is quite outaded (2years). There are 404 errors when using this plugin.

websupportsk: {
		display_name:        'Websupport.sk',
		package_name:        'certbot-dns-websupportsk',
		version_requirement: '~=0.1.6',
		dependencies:        '',
		credentials:         `dns_websupportsk_api_key = <api_key>
dns_websupportsk_secret = <secret>
dns_websupportsk_domain = example.com`,
		full_plugin_name: 'dns-websupportsk',

This is error in logs from NPM when trying to use Websupport.sk plugin:

2024-01-10 22:04:19,330:DEBUG:acme.client:Storing nonce: xavOoKHvrBw7alE4Os1fNMF21tAV-IcbMRof84ecu6iECyKuT_8
2024-01-10 22:04:19,332:INFO:certbot._internal.auth_handler:Performing the following challenges:
2024-01-10 22:04:19,332:INFO:certbot._internal.auth_handler:dns-01 challenge for hass.kostrab.sk
2024-01-10 22:04:19,344:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): rest.websupport.sk:443
2024-01-10 22:04:19,686:DEBUG:urllib3.connectionpool:[https://rest.websupport.sk:443](https://rest.websupport.sk/) "GET /v1/user/self HTTP/1.1" 200 None
2024-01-10 22:04:19,805:DEBUG:urllib3.connectionpool:[https://rest.websupport.sk:443](https://rest.websupport.sk/) "POST /v1/user/self/zone/hass.kostrab.sk/record HTTP/1.1" 404 None
2024-01-10 22:04:19,816:DEBUG:certbot._internal.display.obj:Notifying user: Waiting 120 seconds for DNS changes to propagate

.
.
.
.
.
.
2024-01-10 22:06:24,424:DEBUG:certbot._internal.error_handler:Calling registered functions
2024-01-10 22:06:24,425:INFO:certbot._internal.auth_handler:Cleaning up challenges
2024-01-10 22:06:24,434:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): rest.websupport.sk:443
2024-01-10 22:06:24,625:DEBUG:urllib3.connectionpool:[https://rest.websupport.sk:443](https://rest.websupport.sk/) "GET /v1/user/self HTTP/1.1" 200 None
2024-01-10 22:06:24,775:DEBUG:urllib3.connectionpool:[https://rest.websupport.sk:443](https://rest.websupport.sk/) "GET /v1/user/self/zone/hass.kostrab.sk/record HTTP/1.1" 404 None
2024-01-10 22:06:24,780:ERROR:certbot._internal.error_handler:Encountered exception during recovery: KeyError: 'items'
2024-01-10 22:06:24,784:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):

Contributor guide

No contributing guide indexed for this repository

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 locating the websupportsk provider entry shown in the issue and compare its certbot-dns-websupportsk requirement with certbot-dns-websupport 2.0.1. Reproduce the logged 404 and KeyError behavior, then verify the provider can complete DNS-01 setup and cleanup without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.