`dag.put()` pending request

I am running ipfs daemon in my local machine:

go-ipfs version: 0.4.23-
Repo version: 7
System version: amd64/linux
Golang version: go1.13.7

And I am using

"ipfs-http-client": "^41.0.0"

to put and get raw binary data using client.dag.put(buffer, options) and client.dag.get(hash).

My problem is that for some put HTTP requests, the request remains pending and never returns.


I am not seeing errors on IPFS daemon log, and if I change the ipfs connection parameters to connect to infura using https, instead of to my local node, the error disappears.

Does anyone here has had this error before? any clues of what might be the cause?