a year ago
Description: ⛺️ Lightweight version of Vitesse Vue
Category: Other
9 Replies
a year ago
I'm very curious as to why you have a Revert "Updating Caddy"
commit, was there something wrong with caddy v2.8.4?
a year ago
Getting a kind of Open SSL error when trying to curl this version from its GitHub repo. Does not happens all the time, but from 5 tries it errored at 3, same SSL error.
So I decided to rollback and try to update again later and see if something changed on GitHub side that solves this.
a year ago
Ah interesting, I've seen users report that for a while even with the older version of caddy.
a year ago
First deploy I tried the same error happened, I just hit redeploy and didn't see that anymore. But on 2.8.4 its happening very often, so to avoid any kind of cofusion with new users I decided to rollback for stability.
a year ago
I wonder what the root cause here is, is there a better place to grab the binary from?
a year ago
I've made the decision to install caddy from nix, you can see my updated nixpacks.toml file here - https://github.com/brody192/vite-react-template/blob/main/nixpacks.toml
a year ago
I've made the decision to install caddy from nix, you can see my updated nixpacks.toml file here - https://github.com/brody192/vite-react-template/blob/main/nixpacks.toml
Dockerfile:19
Jun 12 12:02:13
-------------------
Jun 12 12:02:13
17 | # caddy phase
Jun 12 12:02:13
18 | COPY . /app/.
Jun 12 12:02:13
19 | >>> RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz"
Jun 12 12:02:13
20 | RUN tar -zxvf caddy.tar.gz caddy
Jun 12 12:02:13
21 | RUN chmod +x caddy
Jun 12 12:02:13
-------------------
Jun 12 12:02:13
ERROR: failed to solve: process "/bin/bash -ol pipefail -c curl -fsSLo caddy.tar.gz \"https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz\"" did not complete successfully: exit code: 56
Jun 12 12:02:13it got error, how to fix ?
a year ago
You are using an older version of the nixpacks.toml file, replace your nixpacks.toml file with the nixpacks.toml file I linked above.