cert-manager-webhook-regru icon indicating copy to clipboard operation
cert-manager-webhook-regru copied to clipboard

ONLY_POST_ALLOWED

Open aeazarka opened this issue 1 year ago • 3 comments

Hello, everything worked fine, i did 2 successfull orders yesterday i noticed pending challenge have found error in pod logs

Create TXT success. Response body: {
   "charset" : "utf-8",
   "error_code" : "ONLY_POST_ALLOWED",
   "error_params" : {
      "command_name" : "zone/add_txt"
   },
   "error_text" : "Only HTTP method POST allowed",
   "messagestore" : null,
   "result" : "error"
}

i' ve tried curl with POST and simple browse http request from pod with no success i did some investigation and discovered that zone/add_txt method requies POST method, even so client.go createTXT function use http.GET

anyway after i delete and create my api allowed ip address, i was able to create txt record by simple copy\paste http string from pod to my chrome browser

aeazarka avatar Oct 26 '24 10:10 aeazarka

Same issue.

IutkinEgor avatar Nov 03 '24 18:11 IutkinEgor

There is pull request with a fix already exists https://github.com/flant/cert-manager-webhook-regru/pull/17 But you can use my image build ghcr.io/c0rnota/cluster-issuer-regru:1.1.6

c0rnoTa avatar Nov 27 '24 10:11 c0rnoTa

Hello, folks! Fixed in https://github.com/flant/cert-manager-webhook-regru/releases/tag/v1.2.0

unreturned avatar Dec 20 '24 18:12 unreturned