403 forbidden reading golang.org

Hello, I am trying to install caddy through xcaddy on my linode, but the install fails. I get errors of the sort:

caddy imports
github.com/caddyserver/caddy/v2/modules/standard imports
github.com/caddyserver/caddy/v2/modules/caddyhttp/standard imports
github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/zstd imports
github.com/klauspost/compress/zstd: github.com/klauspost/compress@v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.6.zip: 403 Forbidden
2021/12/26 15:28:38 [INFO] Cleaning up temporary folder: /tmp/buildenv_2021-12-26-1528.2261819235
2021/12/26 15:28:38 [FATAL] exit status 1

I've deleted the server and created a new one to get a different IP address but I've had the same problem. Does anyone know what I can do?

1 Reply

I haven't tried using xcaddy to install Caddy on a Linode, though I have installed it using the instructions in our documentation:

Install and Configure the Caddy Web Server on Ubuntu 18.04

I worked through these steps on multiple Linodes, in multiple locations, including our Dallas data center and our Frankfurt data center.

Based on this, I think this is related to how the plugin is installing Caddy. I'm not ruling out that it is an underlying issue on our end, as I'm not sure why you're unable to use the plugin. I would recommend following the steps in our guide, rather than using the plugin, if that's possible for you.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct