Docker deployments failing - failed to solve: rpc error

Hi,

When redeploying docker projects to remote servers, I started getting this error.

ERROR [web internal] load build context
failed to solve: Unavilable: rpc error: code = Unavailable desc = error reading from server: EOF

It seems the error is related to network connection dropping out before the new build is completed and deployed. Is there a setting in the dockerfile that can be modified to resolve this issue? Any help is greatly appreciated.

Hi @guptast,
I think you may need to update your Docker version locally and server side. What versions are you running respectfully?

You could also try switching to Compose V1 in your settings and see if that helps prior to updating (but highly recommend you do update). Remember to restart Wappler after any such changes. And after a version upgrade remember to reboot your local machine and remote machine.

Hi @Cheese,

Sorry for the delay in my response to your post.

After many hours spent over a few days on troubleshooting this issue, it turned out to be an issue with the internet service.

I had changed the internet service last week from landline to the mobile broadband. The mobile broadband service worked as a normal internet service for everything except when deploying docker containers to the remote target. There seemed to be an issue either with the technology being used in the broadband service and / or with the broadband modem.

I tried to get support from the service provider. But after waiting for a few days to speak to their network engineers, I cancelled the new service and re-established the previous landline internet. The deployments have now started working properly again.

It was really odd that a certain type of internet technology could cause issue with the outbound / inbound flow of network data.

2 Likes

Either CGNAT or some firewall they had

1 Like

You're right @Apple. I believe it was CGNAT that caused the issue. They mention the use of CGNAT technology to provide the mobile broadband internet service.

I'm now getting the landline internet service upgraded, instead of trying a different technology :slightly_smiling_face:

1 Like

What price or specs made you move?

Currently I'm paying AUD70/month for 50/20 mbps plan with Vodafone, which is running on FTTC (Fibre-to-the-curb) connection. Internet providers have recently started offering free FTTP (Fibre-to-the-premises) upgrades as part of their 100/20 mbps plans.

I've upgraded to 100/20 mbps plan for AUD90/month (increase of $20/month), which includes an upgrade to FTTC technology, giving me a speed boost to 240/20 mbps. The technicians are coming to our place this week to lay the fibre at home from the nearest box on the street to upgrade :crossed_fingers:t5:

Here in Portugal FTTH (FTTP) has been standard in the last few years with half of the providers. Very recently, a new ISP appeared on the market, I'm now paying 15€/month (AUD25/month) for 1 Gbps symmetrical :slight_smile: (no TV, early bird special)

Before I was with Vodafone (also FTTH, TV included) for 40€/month (AUD66/month) for 500/100 Mbps.

It looks like Australia is like Germany, developed countries with not-so-developed Internet :thinking: Which is somewhat understandable given the large area to cover, but you being from Melbourne... I think that's a big city, no?

Don't get me started on the state of internet in Australia. This topic rattles my fibres :triumph:.
One of our past PMs declared before the election at that time, that Australians wouldn't need more than 25mbps download speed. And it was made sure after they won that the fibre infrastructure, which was being built at the time, was using outdated or disproven technologies, so that they could say that they built it quicker and cheaper.

But the country ended up wasting estimated 30-50 billion dollars, and the infrastructure had to be re-built any way to provide a modern, faster technology.

The cost of internet services in Australia are higher and speeds are much slower when compared to other similar economies.

1 Like