GithubHelp home page GithubHelp logo

Comments (12)

barto95100 avatar barto95100 commented on June 23, 2024 2

Maybe upgrade the official container zoraxy to have this change ? most simply for all user :)

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024 1

@tadikwa I guess you can. I am not experience with docker but in theory this should work.

  1. Cross compile Zoraxy on your computer for your server's CPU architecture & OS, e.g. GOOS=linux GOARCH=amd64 go build -o zoraxy-linux-amd64
  2. ssh into your container, stop zoraxy
  3. Transfer the new binary from your computer to the container and overwrite the old version of zoraxy binary executable
  4. Restart zoraxy service

from zoraxy.

tadikwa avatar tadikwa commented on June 23, 2024 1

ok, this is out of my scope.

I prefer to wait for a new build and update my docker image ;)

from zoraxy.

barto95100 avatar barto95100 commented on June 23, 2024 1

OK I understand

it's a shame since I opened the first ticket to indicate the wildcard problem with ovh and when the feature is available there is a bug (we are cursed lol)

we'll wait... (ovh users)

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024

This seems like a bug in the config parser. Let me check it in a moment.

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024

Ok, this seems to a bug inside the acmedns generation tool. For a quick fix, replace this line in providers.json in the acmedns module with the following json at key = "ovh" and build from source again.

"ovh": {
  "Name": "ovh",
  "ConfigableFields": [
   {
    "Title": "APIEndpoint",
    "Datatype": "string"
   },
   {
    "Title": "ApplicationKey",
    "Datatype": "string"
   },
   {
    "Title": "ApplicationSecret",
    "Datatype": "string"
   },
   {
    "Title": "ConsumerKey",
    "Datatype": "string"
   }
  ],
  "HiddenFields": [
   {
    "Title": "OAuth2Config",
    "Datatype": "*OAuth2Config"
   },
   {
    "Title": "PropagationTimeout",
    "Datatype": "time.Duration"
   },
   {
    "Title": "PollingInterval",
    "Datatype": "time.Duration"
   },
   {
    "Title": "HTTPClient",
    "Datatype": "*http.Client"
   }
  ]
 }

This shd get the problem fixed.
圖片

from zoraxy.

tadikwa avatar tadikwa commented on June 23, 2024

Ah yes ok I see.
However, I am running the version in Docker.
Can I also make the modification on the online container?

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024

@tadikwa As this is only a front-end issue, you can hack it by using the F12 developer console and enter this 🤔

$.ajax({
        url: "/api/acme/autoRenew/setDNS",
        method: "POST",
        data: {
          filename: your_domain_with_*_replaced_by_underscore,
          dnsProvider: "ovh",
          dnsCredentials: JSON.stringify({
               "ApplicationKey":"",
               "ApplicationSecret":"",
               "ConsumerKey":""
          }),
        }
});

and then get certificate with all fields blank.

from zoraxy.

PassiveLemon avatar PassiveLemon commented on June 23, 2024

You could clone the repo, change the line, and then rebuild the container

from zoraxy.

barto95100 avatar barto95100 commented on June 23, 2024

any news ?

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024

any news ?

FYI, the changes required for fixing this bug has already been pushed into the main branch.

Release build are not gonna be that fast though (still working on something related to other issues)

from zoraxy.

tobychui avatar tobychui commented on June 23, 2024

Fixed in v3.0.5.

from zoraxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.