UnhandledPromiseRejectionWarning: (400 urn:ietf:params:acme:error:malformed Error unmarshaling finalize order request) on certificate provisioning
13.0.2 provisioned certificates flawlessly on small-tech.org and laurakalbag.com but I just ran into the following error on ar.al:
Jun 19 16:30:00 ar.al site[8977]: 💃 ❨auto-encrypt❩ Finalising order…
Jun 19 16:30:00 ar.al site[8977]: 👤 ❨auto-encrypt❩ Creating identity (/home/aral/.small-tech.org/site.js/tls/global/production/ar.al--www.ar.al--and--3--others--4098a2eb160eac0574f93eabfa5941f0222343d64a2a9445ac257021a05cbbae/certificate-identity.pem)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) UnhandledPromiseRejectionWarning: Error: AcmeRequest.requestError: (400 urn:ietf:params:acme:error:malformed Error unmarshaling finalize order request)
Jun 19 16:30:01 ar.al site[8977]: at Order.init (/usr/local/bin/node_modules/@small-tech/auto-encrypt/lib/Order.js:176:15)
Jun 19 16:30:01 ar.al site[8977]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The only difference I can think of is that while laurakalbag.com and small-tech.org only have one alias (www), ar.al has five.
Full log output from ar.al:
Jun 19 16:29:46 ar.al site[8977]: 🌱 Site.js
Jun 19 16:29:46 ar.al site[8977]: Created June 19th, 2020 at 16:37:33
Jun 19 16:29:46 ar.al site[8977]: Version 20200619163733-13.0.1-d344283-linux/x64
Jun 19 16:29:46 ar.al site[8977]: Node.js 12.16.2
Jun 19 16:29:46 ar.al site[8977]: Hugo 0.64.1
Jun 19 16:29:46 ar.al site[8977]: Base https://sitejs.org/nexe/linux-x64-12.16.2
Jun 19 16:29:46 ar.al site[8977]: Source https://source.small-tech.org/site.js/app/-/tree/d344283
Jun 19 16:29:46 ar.al site[8977]: ╔═══════════════════════════════════════════╗
Jun 19 16:29:46 ar.al site[8977]: ║ Like this? Fund us! ║
Jun 19 16:29:46 ar.al site[8977]: ║ ║
Jun 19 16:29:46 ar.al site[8977]: ║ We’re a tiny, independent not-for-profit. ║
Jun 19 16:29:46 ar.al site[8977]: ║ https://small-tech.org/fund-us ║
Jun 19 16:29:46 ar.al site[8977]: ╚═══════════════════════════════════════════╝
Jun 19 16:29:46 ar.al site[8977]: 😇 ❨site.js❩ Linux: about to disable privileged ports so we can bind to ports < 1024.
Jun 19 16:29:46 ar.al site[8977]: ❨site.js❩ For details, see: https://source.small-tech.org/site.js/app/-/issues/169
Jun 19 16:29:46 ar.al site[8977]: 🌍 ❨site.js❩ Using globally-trusted certificates.
Jun 19 16:29:46 ar.al site[8977]: 👉 ❨site.js❩ Aliases: also responding for www.ar.al, 2018.ar.al, aralbalkan.com, www.aralbalkan.com.
Jun 19 16:29:46 ar.al site[8977]: 🔒 ❨https❩ Creating server with globally-trusted Let’s Encrypt certificates.
Jun 19 16:29:46 ar.al site[8977]: ⚙️ ❨auto-encrypt❩ Configuration initialised.
Jun 19 16:29:46 ar.al site[8977]: 📃 ❨auto-encrypt❩ Certificate does not exist; will be provisioned on first hit of the server.
Jun 19 16:29:46 ar.al site[8977]: 🔒 ❨https❩ Created HTTPS server.
Jun 19 16:29:46 ar.al site[8977]: 🧚♀️ ❨site.js❩ Ensuring domains are reachable before starting global server.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Pre-flight domain reachability check server started.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Attempting to reach domain ar.al…
Jun 19 16:29:46 ar.al site[8977]: 💖 ❨site.js❩ ar.al is reachable.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Attempting to reach domain www.ar.al…
Jun 19 16:29:46 ar.al site[8977]: 💖 ❨site.js❩ www.ar.al is reachable.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Attempting to reach domain 2018.ar.al…
Jun 19 16:29:46 ar.al site[8977]: 💖 ❨site.js❩ 2018.ar.al is reachable.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Attempting to reach domain aralbalkan.com…
Jun 19 16:29:46 ar.al site[8977]: 💖 ❨site.js❩ aralbalkan.com is reachable.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Attempting to reach domain www.aralbalkan.com…
Jun 19 16:29:46 ar.al site[8977]: 💖 ❨site.js❩ www.aralbalkan.com is reachable.
Jun 19 16:29:46 ar.al site[8977]: ✨ ❨site.js❩ Pre-flight domain reachability check server stopped.
Jun 19 16:29:46 ar.al site[8977]: 🐁 ❨site.js❩ Found .https/.wss folders. Will load dynamic routes from there.
Jun 19 16:29:46 ar.al site[8977]: 🌱 ❨site.js❩ Evergreen web: serving archive #1
Jun 19 16:29:46 ar.al site[8977]: 🐁 ❨site.js❩ Adding WebSocket (WSS) route: /chat-final-version
Jun 19 16:29:46 ar.al site[8977]: 🐁 ❨site.js❩ Adding WebSocket (WSS) route: /chat
Jun 19 16:29:46 ar.al site[8977]: 🎉 ❨site.js❩ Serving /home/aral/dist/site on https://ar.al
Jun 19 16:29:46 ar.al site[8977]: 📊 ❨site.js❩ For statistics, see https://ar.al/db9c790447b9e3766ac5a6f71ea94fbc
Jun 19 16:29:46 ar.al site[8977]: ⏰ ❨site.js❩ Setting up auto-update check interval.
Jun 19 16:29:46 ar.al site[8977]: 📕 ❨auto-encrypt❩ Directory is using endpoint https://acme-v02.api.letsencrypt.org/directory
Jun 19 16:29:47 ar.al site[8977]: 👤 ❨auto-encrypt❩ Creating identity (/home/aral/.small-tech.org/site.js/tls/global/production/account-identity.pem)
Jun 19 16:29:49 ar.al site[8977]: 🤖 ❨auto-encrypt❩ Provisioning Let’s Encrypt certificates for ar.al,www.ar.al,2018.ar.al,aralbalkan.com,www.aralbalkan.com.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: 🛰 ❨site.js❩ Running auto update check…
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: 📈 ❨auto-encrypt❩ Number of authorisations to validate: 5
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:49 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:50 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:29:50 ar.al site[8977]: 🔒 ❨auto-encrypt❩ HTTP server is listening for challenges
Jun 19 16:29:51 ar.al site[8977]: 🧙 ❨site.js❩ Root privileges required.
Jun 19 16:29:51 ar.al site[8977]: ✨ ❨site.js❩ Starting privileged process…
Jun 19 16:29:51 ar.al site[8977]: 🧐 ❨site.js❩ Checking for release updates…
Jun 19 16:29:51 ar.al site[8977]: 👍 ❨site.js❩ You’re running the latest version of Site.js!
Jun 19 16:29:51 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for 2018.ar.al
Jun 19 16:29:51 ar.al site[8977]: 🧐 ❨auto-encrypt❩ Starting to poll for authorisation state for domain 2018.ar.al…
Jun 19 16:29:51 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain 2018.ar.al…
Jun 19 16:29:51 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for 2018.ar.al
Jun 19 16:29:51 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for 2018.ar.al
Jun 19 16:29:51 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for 2018.ar.al
Jun 19 16:29:51 ar.al site[8977]: 🎉 ❨auto-encrypt❩ Authorisation validated for domain 2018.ar.al
Jun 19 16:29:51 ar.al site[8977]: 📝 ❨auto-encrypt❩ An authorisation was validated for the order! (1/5)
Jun 19 16:29:52 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for ar.al
Jun 19 16:29:52 ar.al site[8977]: 🧐 ❨auto-encrypt❩ Starting to poll for authorisation state for domain ar.al…
Jun 19 16:29:52 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain ar.al…
Jun 19 16:29:53 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for ar.al
Jun 19 16:29:53 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for ar.al
Jun 19 16:29:53 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for ar.al
Jun 19 16:29:53 ar.al site[8977]: ⌚ ❨auto-encrypt❩ Authorisation not valid yet for domain ar.al. Waiting to check again in 1 second…
Jun 19 16:29:54 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain ar.al…
Jun 19 16:29:54 ar.al site[8977]: 🎉 ❨auto-encrypt❩ Authorisation validated for domain ar.al
Jun 19 16:29:54 ar.al site[8977]: 📝 ❨auto-encrypt❩ An authorisation was validated for the order! (2/5)
Jun 19 16:29:56 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for aralbalkan.com
Jun 19 16:29:56 ar.al site[8977]: 🧐 ❨auto-encrypt❩ Starting to poll for authorisation state for domain aralbalkan.com…
Jun 19 16:29:56 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain aralbalkan.com…
Jun 19 16:29:56 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for aralbalkan.com
Jun 19 16:29:56 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for aralbalkan.com
Jun 19 16:29:56 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for aralbalkan.com
Jun 19 16:29:56 ar.al site[8977]: 🎉 ❨auto-encrypt❩ Authorisation validated for domain aralbalkan.com
Jun 19 16:29:56 ar.al site[8977]: 📝 ❨auto-encrypt❩ An authorisation was validated for the order! (3/5)
Jun 19 16:29:57 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.ar.al
Jun 19 16:29:57 ar.al site[8977]: 🧐 ❨auto-encrypt❩ Starting to poll for authorisation state for domain www.ar.al…
Jun 19 16:29:57 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain www.ar.al…
Jun 19 16:29:57 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.ar.al
Jun 19 16:29:57 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.ar.al
Jun 19 16:29:57 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.ar.al
Jun 19 16:29:58 ar.al site[8977]: 🎉 ❨auto-encrypt❩ Authorisation validated for domain www.ar.al
Jun 19 16:29:58 ar.al site[8977]: 📝 ❨auto-encrypt❩ An authorisation was validated for the order! (4/5)
Jun 19 16:29:59 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.aralbalkan.com
Jun 19 16:29:59 ar.al site[8977]: 🧐 ❨auto-encrypt❩ Starting to poll for authorisation state for domain www.aralbalkan.com…
Jun 19 16:29:59 ar.al site[8977]: 👋 ❨auto-encrypt❩ Polling for authorisation state for domain www.aralbalkan.com…
Jun 19 16:29:59 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.aralbalkan.com
Jun 19 16:29:59 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.aralbalkan.com
Jun 19 16:29:59 ar.al site[8977]: 👍 ❨auto-encrypt❩ Responding to ACME authorisation request for www.aralbalkan.com
Jun 19 16:30:00 ar.al site[8977]: 🎉 ❨auto-encrypt❩ Authorisation validated for domain www.aralbalkan.com
Jun 19 16:30:00 ar.al site[8977]: 📝 ❨auto-encrypt❩ An authorisation was validated for the order! (5/5)
Jun 19 16:30:00 ar.al site[8977]: 🎊 ❨auto-encrypt❩ All authorisations validated.
Jun 19 16:30:00 ar.al site[8977]: 🚮 ❨auto-encrypt❩ Destroying Challenge Server…
Jun 19 16:30:00 ar.al site[8977]: 🚮 ❨auto-encrypt❩ Challenge Server is destroyed.
Jun 19 16:30:00 ar.al site[8977]: 💃 ❨auto-encrypt❩ Finalising order…
Jun 19 16:30:00 ar.al site[8977]: 👤 ❨auto-encrypt❩ Creating identity (/home/aral/.small-tech.org/site.js/tls/global/production/ar.al--www.ar.al--and--3--others--4098a2eb160eac0574f93eabfa5941f0222343d64a2a9445ac257021a05cbbae/certificate-identity.pem)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) UnhandledPromiseRejectionWarning: Error: AcmeRequest.requestError: (400 urn:ietf:params:acme:error:malformed Error unmarshaling finalize order request)
Jun 19 16:30:01 ar.al site[8977]: at Order.init (/usr/local/bin/node_modules/@small-tech/auto-encrypt/lib/Order.js:176:15)
Jun 19 16:30:01 ar.al site[8977]: at processTicksAndRejections (internal/process/task_queues.js:97:5)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Jun 19 16:30:01 ar.al site[8977]: (node:8977) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Jun 19 16:30:02 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.
Jun 19 16:30:04 ar.al site[8977]: ⏳ ❨auto-encrypt❩ We’re busy provisioning TLS certificates and rejecting all other calls at the moment.