-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xcaddy failing to build with NTLM #3
Comments
Oh... yeah, that's because If you set |
Hi. Thank you for your reply. I added the variable but still get no love: `2022/07/26 11:08:06 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/ntlm-transport github.com/caddyserver/caddy/v2 root@DP1:~# echo $CADDY_VERSION What am I doing wrong? Thanks! |
You are using Go 1.18 right? Could also try |
Indeed, go version go1.18.1 linux/amd64 |
No cigar... 2022/07/26 12:25:38 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2@c2bbe42fc3553f6a5685cdb45453c0950fa614b2 github.com/caddyserver/caddy/v2 |
This is my cmd xcaddy build --with github.com/caddyserver/caddy/v2@c2bbe42fc3553f6a5685cdb45453c0950fa614b2 --with github.com/caddy-dns/cloudflare --with github.com/mholt/caddy-webdav --with github.com/greenpau/caddy-auth-portal --with github.com/greenpau/caddy-trace --with github.com/porech/caddy-maxmind-geolocation --with github.com/ueffel/caddy-brotli --with github.com/caddyserver/transform-encoder --with github.com/mholt/caddy-l4/layer4 --with github.com/caddyserver/ntlm-transport --output /usr/local/bin/caddy |
Ah, sorry, try this:
That worked for me. If it still fails then it's probably a conflict with another plugin. |
That last one did the trick, thank you! What happens when Caddy itself gets updated? How to get the version string? |
@ElPistoler0 Once a new version of Caddy is tagged (v2.5.3 probably), you won't need to use one. By default Go uses the last release, and since the fix hasn't been released yet, you need to use a commit that does have the fix until the release is tagged. At that point you can just remove the |
Thank you. |
Looks like when trying to build with NTLM via xcaddy its complaining about a version mismatch.
I saw via issue #2 that it was fixed. Was the version supposed to be bumped to Caddy 2.5.2 and not the non-existent version of 2.5.3?
The text was updated successfully, but these errors were encountered: