Sorry, a system error occurred.
heyo's or fireme's fault, not the agent's or the app's.
https://example-time-api-bd2b.us5.heyo.work never answered (error sending request for url (https://example-time-api-bd2b.us5.heyo.work/)) and its VM could not be reached
Rewritten by the agent. Download
FROM golang:1.23 AS build WORKDIR /src COPY go.mod ./ COPY *.go ./ RUN CGO_ENABLED=0 go build -o /out/time-api . FROM alpine:3.20 RUN apk add --no-cache socat COPY --from=build /out/time-api /time-api ENV PORT=8080 EXPOSE 8080
- Port
- 8080
- Start
cd /app && PORT=8080 setsid nohup /time-api </dev/null &
Build accepted. The VM runs the Go `example-time-api` service, built in a `golang:1.23` stage and shipped as a static binary into a small `alpine:3.20` final stage (with `socat` and `/bin/sh`, per heyo rules). The app binds `0.0.0.0:8080` and serves `GET /` returning the current UTC time as JSON plus `GET /healthz` returning `ok`, both reachable through app-lb's HTTPS proxy.
- Kept the original multi-stage golang build stage unchanged
- Replaced the distroless final stage (no /bin/sh, no socat) with alpine:3.20 and installed socat
- Set the port to 8080, matching the README default and the app's fallback
- The app binds :$PORT, i.e. 0.0.0.0:8080, so it is reachable behind app-lb
https://remote.heyo.work/fireup/example-time-api.git at 8890d3fc70b5
Build accepted. The VM runs the Go `example-time-api` service, built in a `golang:1.23` stage and shipped as a static binary into a small `alpine:3.20` final stage (with `socat` and `/bin/sh`, per heyo rules). The app binds `0.0.0.0:8080` and serves `GET /` returning the current UTC time as JSON plus `GET /healthz` returning `ok`, both reachable through app-lb's HTTPS proxy.
FROM golang:1.23 AS build WORKDIR /src COPY go.mod ./ COPY *.go ./ RUN CGO_ENABLED=0 go build -o /out/time-api . FROM alpine:3.20 RUN apk add --no-cache socat COPY --from=build /out/time-api /time-api ENV PORT=8080 EXPOSE 8080
fireme ▸ new running app on heyo job from https://remote.heyo.work/fireup/example-time-api.git git ▸ fetching the tree of https://remote.heyo.work/fireup/example-time-api.git git ▸ 4 files at 8890d3fc70b5 git ▸ the repository is the build context (0 KB) agent ▸ mercury-3 on Inception, then z-ai/glm-5.3-flash on OpenRouter reading the repository… agent ▸ read_repo_file Dockerfile agent ▸ read_repo_file README.md agent ▸ read_repo_file go.mod agent ▸ read_repo_file main.go agent ▸ heyo_rules agent ▸ submit_build accepted agent ▸ planned example-time-api-bd2b store ▸ fireup/example-time-api-bd2b-recipe:bd2b7a49 → 0725b2647cbe app-lb ▸ deployment example-time-api-bd2b registered (build 1 of at most 3) app-lb ▸ build job-e9b4d096f9a8 started build ▸ fireup/example-time-api-bd2b-recipe:bd2b7a49 resolves to 0725b2647cbef7be3eba5eceab01ef0df479d67a88bc2e45afe88d156aeae618 at https://admin.us5.heyo.work/namespaces/fireup/artifacts (Dockerfile 50cea8aafcac, 228 B) build ▸ fetching 228 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/50cea8aafcacb60e8ec9ece7db2727831d11e833d27bcd896df52ab2e72cdf61 build ▸ fetching 963 B from https://admin.us5.heyo.work/namespaces/fireup/artifacts/blobs/9840a4273ac32f98778c59783c1fdf9cda2926b5aead793b64781d06a697e238 build ▸ unpacked 4 files (1.1 KiB) of build context build ▸ the Dockerfile never mentions /init.sh, so app-lb adds its standard guest init (it starts nothing; the deployment's start_command starts the app) build ▸ $ heyvm mvm build -f /var/lib/app-lb/builds/example-time-api-bd2b/.recipe/Dockerfile.app-lb -c /var/lib/app-lb/builds/example-time-api-bd2b/.recipe/context -n example-time-api-bd2b-0725b2647cbe --local-only build ▸ Checking prerequisites... build ▸ Docker: OK build ▸ mke2fs: OK build ▸ Running as root, fakeroot not needed build ▸ Building Docker image from /var/lib/app-lb/builds/example-time-api-bd2b/.recipe/Dockerfile.app-lb... build ▸ Docker build complete: heyvm-rootfs-example-time-api-bd2b-0725b2647cbe:latest build ▸ Exporting container filesystem... build ▸ Exported 16.3 MB tar archive build ▸ Creating ext4 rootfs image (128 MB)... build ▸ Created rootfs.ext4 (128.0 MB) build ▸ Cleanup: removing Docker container and image... build ▸ Build complete: /tmp/.tmp0xzUkM/rootfs.ext4 (128.0 MB) build ▸ Saved local image at /var/lib/heyvm/images/firecracker/images/firecracker/example-time-api-bd2b-0725b2647cbe.ext4 build ▸ Create a sandbox with: heyvm create --backend firecracker --image example-time-api-bd2b-0725b2647cbe build ▸ uploading /var/lib/heyvm/images/firecracker/images/firecracker/example-time-api-bd2b-0725b2647cbe.ext4 (134217728 bytes) to the daemon build ▸ installed as /var/lib/heyvm/images/firecracker/example-time-api-bd2b-0725b2647cbe.ext4 on the daemon build ▸ vm.image (daemon default) -> example-time-api-bd2b-0725b2647cbe; pool recycling app-lb ▸ built image example-time-api-bd2b-0725b2647cbe heyo ▸ waiting for https://example-time-api-bd2b.us5.heyo.work to answer error ▸ System: https://example-time-api-bd2b.us5.heyo.work never answered (error sending request for url (https://example-time-api-bd2b.us5.heyo.work/)) and its VM could not be reached