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

Environment aws://00000000000/eu-central-1 failed bootstrapping: UnknownEndpoint: Inaccessible host: localhost' at port 4566'. This service may not be available in the `eu-central-1' region. #78

Closed
merowinger92 opened this issue Jan 27, 2023 · 2 comments

Comments

@merowinger92
Copy link
Contributor

I get the above error message despite having credentials and localstack running. I can access it in the browser normally.

Doing some research hints from a similar issue with serverless-localstackexisted and is already solved: localstack/serverless-localstack#125

A workaround is setting LOCALSTACK_HOSTNAME=127.0.0.1before using cdklocal.

It was solved with following pull request: LOCALSTACK_HOSTNAME=127.0.0.1

My system is a M1 MacOS 13.1.

@whummer
Copy link
Member

whummer commented Jan 27, 2023

Fixed via #79 👍 Thanks!

@joe4dev
Copy link
Member

joe4dev commented Feb 16, 2023

FYI: We just (2023-02-15T12:22:38.576Z) released a new version of aws-cdk-local 2.17.0, which implements an IPv4 fallback to fix IPv6-related issues on macOS.
See: #80

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

No branches or pull requests

3 participants