ronix
(Max K.)
January 13, 2025, 10:44am
1
Hello everyone,
I tried to register two new modules for Caddy and I receive an error. Here is the error id (ce35d9ef-4dcd-41ac-86b2-a7ccd72d37d1):
I am a bit unsure if I did everything right, but comparing with other modules, mine do look ok. Both compile with xcaddy. The modules are GitHub - mkalus/caddy_block_aws: Automatically block all calls from AWS servers in your Caddy server and GitHub - mkalus/caddy_nobots_v2: Caddy v2 Server plugin to protect your website against web crawlers and bots
Mohammed90
(Mohammed Al Sahaf)
January 13, 2025, 11:38am
2
You’re using the repository URL to register. Use the module name, i.e. github.com/mkalus/caddy_block_aws
ronix
(Max K.)
January 13, 2025, 11:44am
3
Ah, ok, I understand. Now there is another error:
Sorry, something went wrong:
unable to scan modules in package GitHub - mkalus/caddy_block_aws: Automatically block all calls from AWS servers in your Caddy server
Please include this error ID if reporting:
884a1da4-9935-4ad2-8671-4f43deac94e0
I also tried github.com/mkalus/caddy_block_aws@v1.0 or other variants with the same result.
Mohammed90
(Mohammed Al Sahaf)
January 13, 2025, 9:24pm
4
I’m investigating. I see the error in the logs, but I’m trying to find where it fails exactly. I’m not sure what’s tripping it.
Mohammed90
(Mohammed Al Sahaf)
January 13, 2025, 9:54pm
5
Found it! Try now. This change in go1.23 broke our analyzer:
By default, go/types now produces Alias
type nodes for type aliases. This behavior can be controlled by the GODEBUG
gotypesalias
flag. Its default has changed from 0 in Go 1.22 to 1 in Go 1.23.
ronix
(Max K.)
January 14, 2025, 6:52am
6
Perfect, works now. Many thanks and keep up the great work.
1 Like
system
(system)
Closed
February 12, 2025, 10:44am
7
This topic was automatically closed after 30 days. New replies are no longer allowed.