Comments (5)
cc: @amithm7
I'm not sure if all instructions to deploy to fly are up, but I'll let amith clarify.
Can you post logs?
from serverless-dns.
@ignoramous you can check it in my log github action i have forked this repo
2021-11-21T12:36:18.000 [info] at async ESMLoader.import (node:internal/modules/esm/loader:331:24)
2021-11-21T12:36:18.000 [info] at async loadESM (node:internal/process/esm_loader:88:5)
2021-11-21T12:36:18.000 [info] at async handleMainPromise (node:internal/modules/run_main:65:12)
2021-11-21T12:36:18.000 [info] Node.js v17.1.0
2021-11-21T12:36:19.000 [info] Main child exited normally with code: 1
2021-11-21T12:36:19.000 [info] Starting clean up.
2021-11-21T12:36:25.000 [info] Starting instance
2021-11-21T12:36:25.000 [info] Configuring virtual machine
2021-11-21T12:36:25.000 [info] Pulling container image
2021-11-21T12:36:26.000 [info] Unpacking image
2021-11-21T12:36:26.000 [info] Preparing kernel init
2021-11-21T12:36:26.000 [info] Configuring firecracker
2021-11-21T12:36:27.000 [info] Starting virtual machine
2021-11-21T12:36:27.000 [info] Starting init (commit: 7943db6)...
2021-11-21T12:36:27.000 [info] Preparing to run:docker-entrypoint.sh node server.js
as root
2021-11-21T12:36:27.000 [info] 2021/11/21 12:36:27 listening on [fdaa:0:3a42:a7b:f0f:5721:6419:2]:22 (DNS: [fdaa::3]:53)
2021-11-21T12:36:27.000 [info] file:///node-dir/helpers/node/util.js:8
2021-11-21T12:36:27.000 [info] if (TLS_CRT_KEY == undefined) throw new Error("TLS cert / key not found");
2021-11-21T12:36:27.000 [info] ^
2021-11-21T12:36:27.000 [info] Error: TLS cert / key not found
2021-11-21T12:36:27.000 [info] at getTLSfromEnv (file:///node-dir/helpers/node/util.js:8:39)
2021-11-21T12:36:27.000 [info] at file:///node-dir/helpers/node/config.js:28:7
2021-11-21T12:36:27.000 [info] at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
2021-11-21T12:36:27.000 [info] at async Promise.all (index 0)
2021-11-21T12:36:27.000 [info] at async ESMLoader.import (node:internal/modules/esm/loader:331:24)
2021-11-21T12:36:27.000 [info] at async loadESM (node:internal/process/esm_loader:88:5)
2021-11-21T12:36:27.000 [info] at async handleMainPromise (node:internal/modules/run_main:65:12)
2021-11-21T12:36:27.000 [info] Node.js v17.1.0
2021-11-21T12:36:28.000 [info] Main child exited normally with code: 1
2021-11-21T12:36:28.000 [info] Starting clean up.
from serverless-dns.
The log says you haven't setup TLS. Right now, the app terminates TLS on its own, and doesn't rely on Fly for it.
We haven't open sourced automatic generation of TLS certs (which would be useless anyway since it requires one to use Route53 which is expensive). There are two (not so straight-forward) options for you:
- Vend wildcard certs from ZeroSSL for the domain you own using acme.sh and deploy to your Fly app as a secret.
- Use Fly to vend wildcard certs (they charge $2 per month for it) and use their TLS termination instead (code changes required).
Terminating TLS within app is required for DoT, but not for DoH. We should support DoH-only deployments on Fly, but we don't yet.
Note that, we vend certs from ZeroSSL because LetsEncrypt certs don't work with Android's Private DNS anymore (due to a bug in Android's DoT implementation in how it evaluates cert chains).
from serverless-dns.
@poentodewo Hi, the nodeJS app requires a SSL / TLS certificate and key pair.
Once you decide how to generate them, how to specify them is written at README.md#node and .env.example
file
from serverless-dns.
okay I was generating from zerossl where shoud I put key and crt file ? il try it to adding from fly dashboard and just nothing happen
@amithm7 @ignoramous
from serverless-dns.
Related Issues (20)
- My domain
- I keep seeing Google as DNS resolver HOT 2
- Is/Will the configuration page open sourced? HOT 4
- Google as dns resolvers? HOT 1
- Auto-schedule deploys HOT 7
- Error: Could not find App "rdns-dev" with fly.io HOT 1
- Nothing works when using rethink app HOT 2
- ✘ [ERROR] Command failed with exit code 1: npm run build HOT 1
- Offset out of range ip.toString
- Cloudflare deploy Project had an error Error HOT 1
- Please change DENO_ENV to another env name HOT 2
- CF: All jobs have failed HOT 14
- Can this be configured to use an Asus Router? Can URLs be blocked? HOT 2
- basic-unbound HOT 1
- Please help HOT 1
- Certificate expired on https://max.rethinkdns.com/rec
- RethinkDNS DoH and configuration page doesn't work HOT 2
- DNS (CF wokers) not working HOT 6
- Fly.io blocklist not working HOT 1
- Error when deploy to cloudflare worker in `Wrangler publish` step HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-dns.