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

InvalidSignatureException reported when sending logs to KDS #236

Open
wanghd89 opened this issue Jul 28, 2022 · 0 comments
Open

InvalidSignatureException reported when sending logs to KDS #236

wanghd89 opened this issue Jul 28, 2022 · 0 comments

Comments

@wanghd89
Copy link

wanghd89 commented Jul 28, 2022

[2022/07/27 14:55:35] [debug] [input:tail:tail.0] inode=9018523 file=/var/log/json/access.log promote to TAIL_EVENT
[2022/07/27 14:55:35] [ info] [input:tail:tail.0] inotify_fs_add(): inode=9018523 watch_fd=1 name=/var/log/json/access.log
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1ae0 id=0 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1b80 id=1 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1c20 id=2 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1cc0 id=3 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1d60 id=4 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1e00 id=5 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1ea0 id=6 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1f40 id=7 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c1fe0 id=8 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c2080 id=9 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c2120 id=10 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c21c0 id=11 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c2260 id=12 OK
[2022/07/27 14:55:36] [debug] [task] created task=0x7fa10c5c2300 id=13 OK
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending 500 records
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] Sending log records to stream LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] not using http_proxy for header
[2022/07/27 14:55:36] [debug] [aws_credentials] Requesting credentials from the STS provider..
[2022/07/27 14:55:36] [debug] [http_client] server kinesis.cn-north-1.amazonaws.com.cn:443 will close connection #56
[2022/07/27 14:55:36] [debug] [aws_client] kinesis.cn-north-1.amazonaws.com.cn: http_do=0, HTTP Status: 400
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] PutRecords http status=400
[2022/07/27 14:55:36] [error] [output:kinesis_streams:kinesis_streams.0] PutRecords API responded with error='InvalidSignatureException', message='The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.'
[2022/07/27 14:55:36] [error] [output:kinesis_streams:kinesis_streams.0] Failed to send log records to LogHub-AppPipe-e2e50-Stream790BDEE4-i2EdHJ3wYulh
[2022/07/27 14:55:36] [error] [output:kinesis_streams:kinesis_streams.0] Failed to send log records
[2022/07/27 14:55:36] [error] [output:kinesis_streams:kinesis_streams.0] Failed to send records to kinesis
[2022/07/27 14:55:36] [debug] [socket] could not validate socket status for #56 (don't worry)
[2022/07/27 14:55:36] [debug] [output:kinesis_streams:kinesis_streams.0] PutRecords http status=400
[2022/07/27 14:55:36][error] [output:kinesis_streams:kinesis_streams.0] PutRecords API responded with error='InvalidSignatureException', message='The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.'

@wanghd89 wanghd89 changed the title InvalidSignatureException reported when sending to a cross-account KDS InvalidSignatureException reported when sending logs to KDS Jul 29, 2022
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

1 participant