Comments (8)
Hi @love4taylor, ratelimit/v0.3.0 has been released.
from caddy-ext.
I have this problem, too.
Unfortunately, I don't know the Go tooling at all, so I'll ping in here and hope that someone will look at this. 🙂
from caddy-ext.
I'm also facing this issue, sadly :(
from caddy-ext.
Sorry for the late reply. I have submitted a PR #16, much appreciated if anyone can give it a try :)
from caddy-ext.
@RussellLuo I added the module using the caddy add-package
, but it looks like the problem persists?
love4taylor@au-tokyo-n1:~$ caddy version
v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=
love4taylor@au-tokyo-n1:~$ sudo caddy add-package github.com/RussellLuo/caddy-ext/ratelimit
2023/05/01 10:15:58.989 INFO this executable will be replaced {"path": "/usr/bin/caddy"}
2023/05/01 10:15:58.989 INFO requesting build {"os": "linux", "arch": "amd64", "packages": ["github.com/RussellLuo/caddy-ext/ratelimit", "github.com/caddy-dns/cloudflare", "github.com/caddy-dns/dnspod", "github.com/mholt/caddy-webdav", "github.com/WeidiDeng/caddy-cloudflare-ip"]}
2023/05/01 10:15:59.384 INFO build acquired; backing up current executable {"current_path": "/usr/bin/caddy", "backup_path": "/usr/bin/caddy.tmp"}
2023/05/01 10:15:59.384 INFO downloading binary {"destination": "/usr/bin/caddy"}
2023/05/01 10:16:01.105 INFO download successful; displaying new binary details {"location": "/usr/bin/caddy"}
Module versions:
panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.20 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 set. Notably, if go1.20 adds a moving garbage collector, this program is unsafe to use.
goroutine 1 [running]:
go4.org/unsafe/assume-no-moving-gc.init.0()
go4.org/unsafe/[email protected]/untested.go:25 +0x1ba
Error: download succeeded, but unable to execute 'caddy list-modules': exit status 2
love4taylor@au-tokyo-n1:~$
from caddy-ext.
@RussellLuo Maybe you should create a new tag? Even if I compile with xcaddy + go 1.20, if I don't add @master
at the end and it defaults to the v0.2.0 tag, the error will still be there.
from caddy-ext.
@RussellLuo It's strange. Now xcaddy
is fine, but caddy add-package
still doesn't work with the same error. I found a "Rescan" button on caddyserver.com dashbord, maybe because of caching?
from caddy-ext.
@love4taylor I just rescanned the package, could you please check if it's okay now?
from caddy-ext.
Related Issues (18)
- Just FYI regarding requestbodyvar HOT 1
- Add to Caddy download page HOT 4
- Release new version of Ratelimit module HOT 2
- Error during parsing rate_limit HOT 1
- {path.<var>} not work HOT 1
- Question about setting up HOT 2
- ratelimit: how to use ip_prefix with both IPv4 & IPv6? HOT 1
- Specify host for layer4 HOT 2
- Getting CORS error when I use route /v1/graphql HOT 7
- Can't Build Caddy with Module Flagr
- rate_limit does not trigger
- Custom error response HOT 5
- Rate limiting by IPv6 block HOT 19
- Handler support for l4 plugin HOT 1
- ratelimit: optionally respond with IETF draft Ratelimit-* headers HOT 3
- ratelimit plugin don't work on go 1.19 HOT 1
- layer4: does this support ssh matchers? HOT 2
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 caddy-ext.