FerryDocs

The proxy answers with an error

When the proxy cannot send a request to your app, it answers with its own page and an x-ferry-error header.

Edit on GitHub

What you see

Your app does not answer. The browser shows an error page with the status 404, 502 or 503. Read the headers of the answer:

Terminal
curl -sI http://shop.localhost:8080/ | grep -i x-ferry-error

The adds the to its own error pages. Thus you can tell them apart from the errors of your app.

Why it occurs

BrowserProxy404 not_foundInstance

404 not_found: no service has this hostname.

1 / 4

How to repair it

Status and x-ferry-errorRepair
404 not_foundGet the URL with ferry open NAME. For custom domains, run ferry domains NAME.
503 no_upstreamsRun ferry deploys NAME and ferry status NAME. Then read the log of the failed deploy.
503 suspendedferry resume NAME
502 bad_gatewayRead the : ferry logs NAME.

On this page