Skip to content

ogygia warning

image_remote_refused

the image endpoint answered ‹status› for a file of the remote image ‹url›: ‹reason›.

A remoteImage(url, { width, height }) is made by the image endpoint from the URL's bytes, fetched when a file is first asked for, under image({ remote: { hosts, maxBytes, timeout } }). It answers 404 when the URL's host is not in hosts (the URL was signed, but the list changed since, or remote is not set), when a redirect leads to a host that is not, or when a host listed only by a *. entry resolves to a private address (list that host itself to allow it); 413 when the image is past maxBytes; 504 when it took longer than timeout; 502 when the host answered an error status, could not be reached, or sent something that is not a JPEG, PNG, WebP, AVIF, GIF or TIFF image. None of these answers is kept by a browser or a CDN, so the next ask tries again.

Every error and warning