I cannot deploy NEW nodejs app normally...

After i create an nodejs app,

npm init
npm install

After checking the initial nodejs app is working, then i use command “fly deploy” to deploy app,
but it shows error message about “502 Bad Gateway”. The detail infomation as below :
Can senior colleagues give me some hints?

PS C:\Users\User\Desktop\new_blog_v4\blogdev> fly deploy
==> Verifying app config
Validating C:\Users\User\Desktop\new_blog_v4\blogdev\fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
Remote builder fly-builder-billowing-sea-8272 ready
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 116.3s (3/3) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                 0.2s
 => => transferring dockerfile: 963B                                                                                                                                 0.2s 
 => [internal] load .dockerignore                                                                                                                                    0.1s 
 => => transferring context: 35B                                                                                                                                     0.1s 
 => ERROR resolve image config for docker.io/docker/dockerfile:1                                                                                                   116.1s
------
 > resolve image config for docker.io/docker/dockerfile:1:
------
Error: failed to fetch an image or build from source: error building: failed to solve: failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: unexpected status code [manifests 1]: 502 Bad Gateway

It’s not Node.js related, Fly is facing some Docker repository issues, and deployments are broken in general.

EDIT. Issue confirmed by the Fly team, you can subscribe for updates here - Fly.io Status - "fly deploy" experiencing issues with deploys potentially failing

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.