-
Notifications
You must be signed in to change notification settings - Fork 111
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
Not showing Commit message in CWLogs or Slack #71
Comments
Probably not, but haven't seen that one before. |
I upped it, and got to about 50s/10s, but still the same. However, on line 67:
I see the following warning:
is that normal? |
Any other ideas on this one? |
The please fix or add global isn't a problem. Strictly speaking, ESLint wants to see that The next debugging steps here would be to confirm that your function can reach ANY endpoint. Does this Lambda produce correctly-formatted messages for other types? What other environment variables have you set? How did you build the project when you deployed it? |
All the other functionality seems to work fine, and messages from other sources come through with all the detail; CloudWatch Alarms, CodeBuild, Pipeline etc all look good. The CodeCommit message also looks good and is formatted correctly, just unable to display the commit message. I initially deployed the function from the Launch Stack button, but then manually updated the Lambda function from the latest code. If it'd missed something I would assume the function wouldn't work at all or have other issues, but it only seems to be this one issue. All other Lambda variables are as per the default set up. I'll keep looking... It's not a deal breaker as we can see the commit in the console, but just would be nice to have it there in the message. If it helps, this is what I get from a test message in the Lambda execution results: `Response: Request ID: Function Logs: |
As another test I have cloned the repo from new, and made a new release package and uploaded that to Lambda, but still get the same issue. Should the .eslintrc file exist in the tree in the Lambda code? As the package doesn't seem to contain it. |
The You're not running your Lambda function in a VPC, are you? VPC's have custom routing rules that can limit what services are available. |
Using a CloudWatch Rule to send CodeCommit changes, I see the below on the Slack Message;
And in the CloudWatch Logs for the Function the following:
Failed to inspect branch: { TimeoutError: Socket timed out without establishing a connection at Timeout.connectTimeout
Is this a permissions issue or something else?
The text was updated successfully, but these errors were encountered: