ord icon indicating copy to clipboard operation
ord copied to clipboard

error: JSON-RPC error: transport error: Couldn't connect to host: Resource temporarily unavailable (os error 11)

Open Papilllion opened this issue 10 months ago • 5 comments

Inscribing on Bitcoin testnet worked fine, no problems unitl a few days ago on Ord 17.1. Ord server and bitcoind are running and serving current blocks fine. But now every time I want to inscribe I get

error: JSON-RPC error: transport error: Couldn't connect to host: Resource temporarily unavailable (os error 11)

the inscription command is specifies the cookie path, just as before. Upgraded to Ord 18.1 with still the same error. Retrieving balances, and creating wallet addresses works fine. What is the problem, seeing more people in the discord having the same problem...

Papilllion avatar Apr 16 '24 07:04 Papilllion

my version is 0.18.2 and the same err to me.if this err has been solved?

ythuang-leadstec avatar Apr 22 '24 17:04 ythuang-leadstec

I haven't seen this happening recently. Is anyone still experiencing this issue?

cryptoni9n avatar Jun 12 '24 01:06 cryptoni9n

yes, we are still seeing this. specifically importwallet during inscribe operation, so it should be reproducible with a large number of descriptors imported into a wallet.

[2024-09-04T17:27:16Z DEBUG bitcoincore_rpc] JSON-RPC request: getdescriptorinfo ["rawtr(xxx)"]
[2024-09-04T17:27:16Z DEBUG bitcoincore_rpc] JSON-RPC request: importdescriptors [[{"desc":"rawtr(xxx)#xxx","timestamp":"now","active":false,"internal":false,"label":"commit tx recovery key"}]]
[2024-09-04T17:27:31Z DEBUG bitcoincore_rpc] JSON-RPC failed parsing reply of importdescriptors: JsonRpc(Transport(SocketError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })))
error: JSON-RPC error: transport error: Couldn't connect to host: Resource temporarily unavailable (os error 11)

ordinariusprof avatar Sep 04 '24 17:09 ordinariusprof

Loading a wallet can often take a while. We should probably add some sort of wait loop that checks if the Bitcoin Core is finished loading it.

raphjaph avatar Sep 08 '24 11:09 raphjaph

That'll help but I think there's some time out we're hitting possibly in bitcoincorerpc and it should be adjustable as well

On Sun, Sep 8, 2024, 04:31 raph @.***> wrote:

Loading a wallet can often take a while. We should probably add some sort of wait loop that checks if the Bitcoin Core is finished loading it.

— Reply to this email directly, view it on GitHub https://github.com/ordinals/ord/issues/3557#issuecomment-2336650413, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAXWUEM4BX7EGBQXZOFWYADZVQYS3AVCNFSM6AAAAABGIZXV4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGY2TANBRGM . You are receiving this because you commented.Message ID: @.***>

ordinariusprof avatar Sep 08 '24 16:09 ordinariusprof