Skip to content
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

build error with xCaddy. #175

Closed
bertvannuffelen opened this issue Feb 28, 2024 · 1 comment
Closed

build error with xCaddy. #175

bertvannuffelen opened this issue Feb 28, 2024 · 1 comment
Labels
invalid This doesn't seem right

Comments

@bertvannuffelen
Copy link

bertvannuffelen commented Feb 28, 2024

I have an existing xCaddy build which used to work but now it fails:

# syntax=docker/dockerfile:1
FROM caddy:builder-alpine AS builder

ADD --keep-git-dir=false  https://github.com/luludotdev/caddy-requestid.git /requestid


RUN xcaddy build \
    --with github.com/lolPants/caddy-requestid=/requestid \
    --with github.com/caddyserver/transform-encoder 


FROM caddy:alpine

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

with the following error:

39.09 go: downloading google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb
968.6 go: module google.golang.org/genproto/googleapis/api/expr/v1alpha1: Get "https://proxy.golang.org/google.golang.org/genproto/googleapis/api/expr/v1alpha1/@v/list": dial tcp 64.233.166.141:443: connect: no route to host
968.6 go: module google.golang.org/genproto/googleapis/rpc/status: Get "https://proxy.golang.org/google.golang.org/genproto/googleapis/rpc/status/@v/list": dial tcp 64.233.166.141:443: connect: no route to host
968.6 2024/02/28 21:26:23 [FATAL] exit status 1
------

how do I fix this error? I traced a comment to googleapis/go-genproto#1015 but I am unsure how to resolve this dependency issue?

@mohammed90
Copy link
Member

This has nothing to do with xcaddy. This is a network issue in your infrastructure. Basically, this says the go compiler doesn't know how to go to the listed IP addresses from your network.

@mohammed90 mohammed90 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2024
@mohammed90 mohammed90 added the invalid This doesn't seem right label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants