Giter Club home page Giter Club logo

Comments (14)

suricloud avatar suricloud commented on May 28, 2024 1

i just redployed again,and seems to ok now.

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024 1

You'd need to change wrangler.toml to values relevant to your DNS zone. bravedns.com and rethinkdns.com are zones that we own and maintain, to which, of course you'd not be able to dpeloy.

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

📥 Installing Wrangler
🚀 Running Wrangler Commands
Error: npx wrangler deploy --env prod returned non-zero exit code.
Error: 🚨 Action failed

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024

The latest auto scheduled job succeeded: https://github.com/serverless-dns/serverless-dns/actions/runs/6390243767

ERROR] Could not find zone for sky.rethinkdns.com

sky.rethinkdns.com is a zone I own. Unlikely your account has the privilege to deploy to it.

auto scheduled deploys won't work out of the box. Probably needs tweaking the wrangler.toml file and the workflow file itself.

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024

It fixed on its own? Strange. Closing... (please feel free to reopen if you see this happen again).

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

auto schedule update for cloudflare failed again ?

Run cloudflare/wrangler-action@v3
📥 Installing Wrangler
🚀 Running Wrangler Commands
Error: npx wrangler deploy --env prod returned non-zero exit code.
Error: 🚨 Action failed

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024

--env prod

You probably don't have a prod env in wrangler.toml.

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

How to get this prod env in wrangler.toml ?

Isn't it automaticaly created when i fork to cloudflare and sync?
Or should i delete all and do it all again fresh.

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024

Yeah, this was always going to be a problem... You can create a prod env by adding a prod section in wrangler.toml (ref) until I can think of something better that works for forks.

from serverless-dns.

lamminh2012 avatar lamminh2012 commented on May 28, 2024

Hi @ignoramous
Could you please tell me how to fix these errors as shown in log?

Your worker has access to the following bindings:

  • Vars:
    • LOG_LEVEL: "info"
    • WORKER_ENV: "production"
    • CLOUD_PLATFORM: "cloudflare"
      Total Upload: 261.96 KiB / gzip: 74.08 KiB
      Uploaded basic-unbound (0.98 sec)

✘ ERROR A request to the Cloudflare API (/accounts/***/workers/scripts/basic-unbound/routes) failed.

workers.api.error.zone_not_specified - Can't infer zone from route, please specify zone for "sky.rethinkdns.com/" [code: 10082]
workers.api.error.zone_not_specified - Can't infer zone from route, please specify zone for "sky.bravedns.com/
" [code: 10082]
workers.api.error.zone_not_specified - Can't infer zone from route, please specify zone for "basic.rethinkdns.com/" [code: 10082]
workers.api.error.zone_not_specified - Can't infer zone from route, please specify zone for "basic.bravedns.com/
" [code: 10082]
workers.api.error.zone_not_specified - Can't infer zone from route, please specify zone for "free.bravedns.com/*" [code: 10082]
If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
Z
##[endgroup]
##[error]npx wrangler deploy --env prod returned non-zero exit code.
##[error]🚨 Action failed

Thanks for your help.

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

again auto schedule update on cloudflare fails ?

Run cloudflare/wrangler-action@v3
📥 Installing Wrangler
🚀 Running Wrangler Commands
Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: 🚨 Action failed

from serverless-dns.

ignoramous avatar ignoramous commented on May 28, 2024

Sounds like that's a failure to either build or bundle serverless-dns. Is your repo open source?

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

yes it is

from serverless-dns.

suricloud avatar suricloud commented on May 28, 2024

I do get this error now on auto schedule

Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: 🚨 Action failed

from serverless-dns.

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.