coinbase / coinbase-commerce-node

Coinbase Commerce Node
MIT License
144 stars 54 forks source link

Unable to trigger AWS lambda with webhook #24

Closed ioitiki closed 4 years ago

ioitiki commented 4 years ago

We are having an issue triggering our AWS lambda using the Coinbase commerce webhook.

What we tried: Set up Coinbase webhook to trigger AWS lambda function with API Gateway.

What happened: Lambda not triggered. And we received this error message:

Hostname xxxxxx.execute-api.us-east-1.amazonaws.com resolved to a private, loopback, or otherwise reserved IP

What should happen: Our lambda function should execute when webhook is fired.

oa-coinbase commented 4 years ago

@ioitiki I am not familiar with triggering lambda, have you tried messing with cors/ privacy settings?

oa-coinbase commented 4 years ago

I’m closing this issue because it has been inactive for a few months (granted, maintainers for this repo were in flux for a while). Please feel free to reopen it if you still encounter this issue with the latest stable version, thanks!

neutrorebrands commented 2 years ago

We are having an issue triggering our AWS lambda using the Coinbase commerce webhook.

What we tried: Set up Coinbase webhook to trigger AWS lambda function with API Gateway.

What happened: Lambda not triggered. And we received this error message:

Hostname xxxxxx.execute-api.us-east-1.amazonaws.com resolved to a private, loopback, or otherwise reserved IP

What should happen: Our lambda function should execute when webhook is fired.

We are also facing the same issue now. Did you find any way to resolve it or still it is unresolved?

olfal commented 2 years ago

Same problem here 👀

olfal commented 2 years ago

Solved it by using a custom domain for my Lambda in AWS API Gateway.

Pranav2509 commented 2 years ago

Hey! we are also facing the same issue. How did you solve it? I added a custom domain to my API Gateway, but still coinbase gives the same error.

Hostname xxxxxx.execute-api.us-east-1.amazonaws.com resolved to a private, loopback, or otherwise reserved IP

Thank you for your help.