Open alesmenzel opened 2 years ago
Just hit the same - it appears that kinesalite supports HTTP/1.1 but doesn't support HTTP/2
If you're still interested @alesmenzel then you can do the following to force the v3 SDK to use an HTTP/1.1 connection.
...
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
...
const kinesisConfig: KinesisClientConfig = {
...
requestHandler: new NodeHttpHandler()
};
const kinesisClient = new KinesisClient( kinesisConfig );
FYI, the package @aws-sdk/node-http-handler
has been deprecated and replaced with @smithy/node-http-handler
. So the above workaround is now:
import { NodeHttpHandler } from "@smithy/node-http-handler";
const kinesisConfig: KinesisClientConfig = {
...
requestHandler: new NodeHttpHandler()
};
const kinesisClient = new KinesisClient( kinesisConfig );
Hi, the library does not seem to work with the v3 AWS SDK for Node.
Here is a sample repro:
and I am getting this vague error
if I enable the SSL option for
kinesalite
(npx kinesalite --port=4567 --createStreaMs=5 --ssl
) then I getwhen I try to connect to
kinesalite
withaws cli
then it seems to work (no SSL only)I believe this to be a bug in
kinesalite
.