tobychui / zoraxy

A general purpose HTTP reverse proxy and forwarding tool. Now written in Go!
https://zoraxy.aroz.org
GNU Affero General Public License v3.0
2.89k stars 172 forks source link

[BUG] Json: cannot unmarshal string into Go struct field Config.MaxRetries of type int #331

Open postinstall opened 2 days ago

postinstall commented 2 days ago

Describe the bug Hi,

I tried to add a certificate via ACME Tool and DNS-Challenge for "Amazon Route 53" and get the following error:

ACME] [system:error] Unable to resolve DNS challenge provider: json: cannot unmarshal string into Go struct field Config.MaxRetries of type int

To Reproduce Steps to reproduce the behavior:

  1. Go to ACME Tool
  2. Enable DNS-Challenge
  3. Select "Amazon Route 53"
  4. Enter you credentials
  5. see error

Expected behavior Generate a new certificate for the selected domain

Screenshots n/a

Browser (if it is a bug appears on the UI section of the system):

Host Environment (please complete the following information):

Additional context n/a

kromonos commented 1 day ago

I have a similar issue with PowerDNS: Json: cannot unmarshal string into Go struct field Config.APIVersion of type int

Zoraxy v.3.1.1 binary as well as Docker image with PowerDNS 4.8.4 on amd64. Tested with Firefox stable, Firefox Dev, Zen latest and Chrome latest

kj187 commented 1 day ago

I got the same issue with Amazon Route 53