Wasp app deployment fails due to docker error

We have a wasp lang based full stack application which we had deployed on fly a month ago but since an entire month we haven’t been able to deploy the application due to a docker error.

We are using the remote docker option to build the image and deploy it.

Error: failed to fetch an image or build from source: error building: failed to solve: failed to solve with frontend dockerfile.v0: failed to read dockerfile: context canceled

What we have tried so far:

  • Replaced the builder with a new instance.
  • Replaced all the instances with new ones.
  • Tried reseting wireguard using fly wireguard reset.

I have seen quite a few people have been getting this issue. If anyone has any quick solution, their help will be much appreciated.