Machines API constantly failing

Hi.

For the past 3 days, the Machine API has been crashing constantly.
We are receiving a lot of responses like this:

“error”: “cURL error 35: error:0A000126:SSL routines::unexpected eof while reading (see libcurl - Error Codes) for https://api.machines.dev/v1/apps/[MY-APP-NAME]/machines

Anyone else having this issue?

The request is made by a Laravel application running inside a fly machine.

Since the request is coming from a Machine, you can try using http://_api.internal:4280/ as the API endpoint. It’s a bit unclear what endpoint your app is calling when getting the EOF. Are you listing machines? Or creating machines?

I´m listing machines.

Now I´m getting:
HTTP request returned status code 503:
{“error”:“Field ‘name’ doesn’t exist on type ‘BuildMachinePayload’”}

I changed to http://_api.internal:4280/ as @JP_Phillips sugested and now I´m getting this error.

Just to be clear, when I use https://api.machines.dev I still get the error:

“error”: “cURL error 35: error:0A000126:SSL routines::unexpected eof while reading

When I use http://_api.internal:4280 I get the error:

“error”:“Field ‘name’ doesn’t exist on type ‘BuildMachinePayload’”

My application is full of problems for this reason, I’m thinking about giving up on Fly.io

We were able to resolve that error and it should no longer be happening. A host had been offline for a couple months came back online and our system components were outdated.

I can’t provide much help here as the error is really not much for us to go on but it does look like your app has a lot of machines (>5k) which can be an issue when trying to constantly list machines as appears to be happening from out telemetry (screenshot below).

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