apache / couchdb-nano

Nano: The official Apache CouchDB library for Node.js
https://www.npmjs.com/package/nano
Apache License 2.0
651 stars 165 forks source link

Error after upgrade: socket.setKeepAlive is not a function #345

Closed reggi closed 3 months ago

reggi commented 3 months ago

Error: error happened in your connection. Reason: socket.setKeepAlive is not a function

I'm not sure why but after upgrade I'm seeing this error, if anyone knows what I need to do it would be great help!

reggi commented 3 months ago

maybe because of this call here https://github.com/axios/axios/blob/main/lib/adapters/http.js#L397 😠

reggi commented 3 months ago

nano@10.1.3

glynnbird commented 3 months ago

I'm not able to reproduce this. Can you share a small code snippet that triggers this? What version of node are you running?

reggi commented 3 months ago

turns out our test framework is mocking http / https 😠 discovered when i tried to create reproduction, thanks for the sanity check

glynnbird commented 3 months ago

Ha ha. No problem

On Thu, 18 Jul 2024, 16:18 Reggi, @.***> wrote:

turns out our test framework is mocking http / https 😠 discovered when i tried to create reproduction, thanks for the sanity check

— Reply to this email directly, view it on GitHub https://github.com/apache/couchdb-nano/issues/345#issuecomment-2236840173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFKMRPVFATQUD6ROERKOY3ZM7MCVAVCNFSM6AAAAABLBE5BECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWHA2DAMJXGM . You are receiving this because you commented.Message ID: @.***>