Hi,
I'm trying to build my pipelines around Dagger. The CI engine is BitBucket Pipelines. For some reason, I'm getting this weird error during build or one of our component builds:
26: [16.1s] Starting a Gradle Daemon (subsequent builds will be faster)
26: [97.3s] > Task :gradle-plugin:pluginDescriptors
26: [97.3s] > Task :gradle-plugin:processResources
unexpected EOF
panic: returned error 502 Bad Gateway: http do: Post "http://dagger/query": rpc error: code = Unavailable desc = error reading from server: command [docker exec -i dagger-engine-e2fe78671e5bc285 buildctl dial-stdio] has exited with exit status 255, please make sure the URL is valid, and Docker 18.09 or later is installed on the remote host: stderr=
goroutine 1 [running]:
main/task.BuildAndroid()
/opt/atlassian/pipelines/agent/build/tools/dagger-go/task/buildAndroid.go:40 +0xe14
main.init.func3()
/opt/atlassian/pipelines/agent/build/tools/dagger-go/ci.go:15 +0xf
main.main()
/opt/atlassian/pipelines/agent/build/tools/dagger-go/ci.go:39 +0x30d
exit status 2
26: ...
It's react-native build for android. For some reason I can't replicate it locally.
Where/why does dagger make requests to http://dagger/* ? Where does this hostname/domain name even come from? Any hints about the /query URL?
If I docker-exec into a dagger-engine contianer running locally I can't reolve 'dagger' either. Why would the CI even consider there's such a domain name?
And no, I have not specified 'dagger' as a hostname anywhere.