Unable to deploy rails application

Good day, I followed the example rails guide in the docs but I’m unable to deploy my application.

In “fly launch” I selected the following option:
Hong Kong for Region
Y for Postgresql database
Development Plan
N for Redis database

When I ran the command “fly deploy” I received the following error in the terminal

------
 > [internal] load remote build context:
------
Error failed to fetch an image or build from source: error building: error during connect: Post "http://[fdaa:0:eaba:a7b:23c5:d079:ebec:2]:2375/v1.41/build?buildargs=null&buildid=upload-request%3A0b10658985e62b3c9de708c954a6cdf7499b47d287ef86177aa917632e421342&cachefrom=null&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=&labels=null&memory=0&memswap=0&networkmode=&rm=0&shmsize=0&target=&ulimits=null&version=2": EOF

Hi @luhluh , are you still having this problem? Did you try again?

Hi @guillaume,
Just tried again with a newly created rails project.
I still got the same error

--> docker host: 20.10.12 linux x86_64
Sending build context to Docker daemon  119.3kB
[+] Building 1252.2s (1/1) FINISHED
 => ERROR [internal] load remote build context                                                                  1252.2s
------
 > [internal] load remote build context:
------
Error failed to fetch an image or build from source: error building: error during connect: Post "http://[fdaa:0:eaba:a7b:99:e274:8c56:2]:2375/v1.41/build?buildargs=null&buildid=upload-request%3Ae51a3342bc1082a4251c2db6b8df9723d68fd04822c5ba76d36256b461f477de&cachefrom=null&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=&labels=null&memory=0&memswap=0&networkmode=&rm=0&shmsize=0&target=&ulimits=null&version=2": EOF

I just followed our Rails Getting Started guide and did this :arrow_up: (all this from a brand new ruby docker container). And it works.

Are you sure you’re running the latest version of flyctl?

Do you have a healthy builder machine like this :arrow_down: in your apps dashboard?

1 Like