amazon-kinesis-producer
amazon-kinesis-producer copied to clipboard
ERROR](CurlHttpClient)Curl returned error code 28
I have seen following logs on our applicaiton's logs. Our application runs on EC2 (m4xlarge)
[ERROR] [ ] [on-0003] [c.a.services.kinesis.producer.LogInputStreamReader]: [2019-07-22 14:30:24.972547] [0x00000052][0x00007f56a3fff700] [error] AWS Log: ERRORCurl returned error code 28
I would like to know what is the reason of exception above.
KPL version is 0.12.7
@Cory-Bradshaw @sayantacC I see the following error message in my production application logs:
ERROR [kpl-daemon-0003] c.a.s.k.p.LogInputStreamReader(:) - [2019-11-04 16:27:06.082799] [0x0000417a][0x00007fe93de30700] [error] ### AWS Log: ERRORCurl returned error code 6
Please advise as to how to handle this error.
Environment details: KPL v 0.13.1 on Ubuntu 18.04 JVM : Corretto-8.232.09.1 (build 1.8.0_232-b09)
Thank you.
Curl 28 indicates a request timed out.
I would recommend increasing MaxConnections parameter gradually in KPL and check if the errors persist.
https://github.com/awslabs/amazon-kinesis-producer/blob/e222115a91c51c75430e91b749591dd82ba53e2f/java/amazon-kinesis-producer/src/main/java/com/amazonaws/services/kinesis/producer/KinesisProducerConfiguration.java#L1035
We are seeing similar warnings. Would like to know if you guys are able to solve this.
@muhufuk @ramtg Did change in max connections helped?
Did this solve the issue?
Configure RequestTimeout property of KPL to the higher value
Configure RequestTimeout property of KPL to the higher value
No! That's not a fix. That just makes it wait longer before failing
Could you resolve this issue? I am receiving the same error