Caddy: Missing h2quic.RoundTripper in reverseproxy ; Caddy 0.11.0+ master branch

Created on 16 May 2018  路  5Comments  路  Source: caddyserver/caddy

vendor/github.com/mholt/caddy/caddyhttp/proxy/reverseproxy.go:249:19: undefined: h2quic.RoundTripper
vendor/github.com/mholt/caddy/caddyhttp/proxy/reverseproxy.go:301:44: undefined: h2quic.RoundTripper

_Build process_

  • go get github.com/mholt/caddy/caddy && go get github.com/caddyserver/builds
  • cd $GOPATH/src/github.com/mholt/caddy/caddy
  • Edit caddymain/run.go with plugins (optional)
  • dep init
  • Edit Gopkg.toml (optional)
  • dep ensure && go run build.go

All 5 comments

Go doesn't use dep yet for managing vendor libs. Rather, all required libs are part of the repo.

You need to omit the dep part of your step and you should not have issues.

@abiosoft Thanks for the tip. One of the reasons I started using dep; and have success with it before; is because otherwise I'd have to do a "go get" on ~20 other plugins for my build process. Please advise.

If you have docker installed, you can leverage my builder script for generating Caddy binaries.
It is unofficial, but it works for most people. The official way is to go through https://caddyserver.com/download.

I can modify the script to work without docker but everyone seems to be using docker.

@abiosoft I'll have to give that a try. Thanks!

@abiosoft that worked. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lorddaedra picture lorddaedra  路  3Comments

dafanasiev picture dafanasiev  路  3Comments

xfzka picture xfzka  路  3Comments

whs picture whs  路  3Comments

klaasel picture klaasel  路  3Comments