mhart / aws4

Signs and prepares Node.js requests using AWS Signature Version 4
MIT License
699 stars 175 forks source link

routines:ssl3_get_record:wrong version number #139

Open kaihendry opened 2 years ago

kaihendry commented 2 years ago

I get weird error messages when I am trying to sign a request. https://github.com/kaihendry/sam-resource-policy/blob/17be8397c43a6e627f5b51b30aa8b100a538b534/invokeA/hello-world/app.js#L10

"Error: write EPROTO 139792615851904:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:\n\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)\n    at WriteWrap.callbackTrampoline (internal/async_hooks.js:131:17)"