Git Product home page Git Product logo

Comments (8)

RussellLuo avatar RussellLuo commented on June 30, 2024 1

Hi @love4taylor, ratelimit/v0.3.0 has been released.

from caddy-ext.

derhuerst avatar derhuerst commented on June 30, 2024

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.

vesamet avatar vesamet commented on June 30, 2024

I'm also facing this issue, sadly :(

from caddy-ext.

RussellLuo avatar RussellLuo commented on June 30, 2024

Sorry for the late reply. I have submitted a PR #16, much appreciated if anyone can give it a try :)

from caddy-ext.

love4taylor avatar love4taylor commented on June 30, 2024

@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.

love4taylor avatar love4taylor commented on June 30, 2024

@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.

love4taylor avatar love4taylor commented on June 30, 2024

@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.

RussellLuo avatar RussellLuo commented on June 30, 2024

@love4taylor I just rescanned the package, could you please check if it's okay now?

from caddy-ext.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.