[GH-ISSUE #1113] Error with DNS challenge for OVH #916

Closed
opened 2026-02-26 06:34:57 +03:00 by kerem · 1 comment
Owner

Originally created by @TheFlatline on GitHub (May 21, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1113

Describe the bug
While trying to add SSL certificates using DNS and OVH it fails with message:
ERROR:certbot._internal.log:TypeError: create_record() got an unexpected keyword argument 'type'

A quick fix (saw in https://stackoverflow.com/questions/67536198/got-an-error-while-trying-to-create-ssl-certificate-on-ovh-vps-server) was to change "type" to "rtype" in the lines
self.provider.create_record(type='TXT', name=record_name, content=record_content)
and
self.provider.delete_record(type='TXT', name=record_name, content=record_content)

inside the file:

/opt/certbot/lib64/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py

inside the container.

Originally created by @TheFlatline on GitHub (May 21, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1113 **Describe the bug** While trying to add SSL certificates using DNS and OVH it fails with message: `ERROR:certbot._internal.log:TypeError: create_record() got an unexpected keyword argument 'type'` A quick fix (saw in https://stackoverflow.com/questions/67536198/got-an-error-while-trying-to-create-ssl-certificate-on-ovh-vps-server) was to change "type" to "rtype" in the lines `self.provider.create_record(type='TXT', name=record_name, content=record_content)` and `self.provider.delete_record(type='TXT', name=record_name, content=record_content)` inside the file: `/opt/certbot/lib64/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py` inside the container.
kerem 2026-02-26 06:34:57 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chaptergy commented on GitHub (May 21, 2021):

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/1092. we'll have to wait for a new version of certbot. Then you'll have to either recreate the docker container or connect into it and manually update certbot.

<!-- gh-comment-id:845960672 --> @chaptergy commented on GitHub (May 21, 2021): Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/1092. we'll have to wait for a new version of certbot. Then you'll have to either recreate the docker container or connect into it and manually update certbot.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#916
No description provided.