Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETIMEDOUT errors #1

Open
SummittDweller opened this issue Jun 8, 2023 · 1 comment
Open

ETIMEDOUT errors #1

SummittDweller opened this issue Jun 8, 2023 · 1 comment

Comments

@SummittDweller
Copy link

I have a couple of 11ty sites derived from this project (THANK YOU!) and am recently unable to build any of them, locally or in production. They all return the ETIMEDOUT error noted below. So, this morning I made a raw/unmodified clone of this project and tried running it locally. The output is as you see below, same ETIMEDOUT error as my other instances.

I haven't a clue why this is or what to do about it. The 54.243.162.8 reference appears to be an Amazon component?

$ npm start

> smol-11ty-starter@1.0.0 start
> eleventy --serve

(node:92199) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Users/mark/GitHub/smol-11ty-starter/node_modules/emitter-mixin/package.json' of 'y'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
> connect ETIMEDOUT 54.243.162.8:443

`Error` was thrown:
    Error: connect ETIMEDOUT 54.243.162.8:443
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1571:16)
@edm00se
Copy link

edm00se commented Feb 16, 2024

That appears due to the cat pic being loaded from aws.random.cat/meow, which appears to be failing for me.

const result = await axios.get("https://aws.random.cat/meow");

The example link in the comment at the bottom of the src/_data/catpic.js file would be a good replacement, as would using placekitten. Viewing the demo on a desktop, my view of the image looks to be 1024px square, so a placekitten alternative would be https://placekitten.com/1024/1024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants