aws-samples / amazon-guardduty-to-slack

Demonstrates integrating Amazon GuardDuty with your Slack Channel
MIT No Attribution
132 stars 66 forks source link

Connection refused errors on lambda invocation #24

Closed joecon1 closed 2 years ago

joecon1 commented 2 years ago

Deployed this as a cloudformation template with the necessary variables. However, when firing test GuardDuty alerts I get the following:

2021-12-08T22:57:06.856Z    3eb11653-unique-identifier-string-123   ERROR   Uncaught Exception  {
    "errorType": "Error",
    "errorMessage": "connect ECONNREFUSED 127.0.0.1:443",
    "code": "ECONNREFUSED",
    "errno": "ECONNREFUSED",
    "syscall": "connect",
    "address": "127.0.0.1",
    "port": 443,
    "stack": [
        "Error: connect ECONNREFUSED 127.0.0.1:443",
        "    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)"
    ]
}
joecon1 commented 2 years ago

Typo'ed the webhook URL, working now!