Failed to send udp buffer. No buffer space available

We have someone trying to deploy Azle, and it seems that an error with the replica may be interfering with the deploy.

The user has a Mac Air M1. The dfx deploy process seems to never finish after running the custom Azle build command, though I’m not sure if the build command completes.

This error in the replica terminal seems very suspicious though:

Failed to set send udp buffer. No buffer space available (os error 55).
1 Like

@roman-kashitsyn I wonder if this is an issue similar to: Errors creating a canister with 'dfx deploy' - #22 by roman-kashitsyn

I believe it’s an unrelated problem.
The error message seems to be about a UDP package transfer, not interaction with a filesystem.

The error seems to come from here: connection_manager.rs - dfinity/ic - Sourcegraph

It might be that you use a replica built before this fix: Commit - Sourcegraph

1 Like

They’re using dfx 0.15.0 I believe

I’m getting this error when running dfx start, even with --clean. Also printed out before the “send upd buffer” is a similar “set receive udp buffer” error:

ERRO s:ypwta-xdhna-f3u6i-pr6ly-avldm-dsvnf-srppp-r5x4f-bfhuq-z5gzr-lae/n:ikces-6sccv-cxxdx-ie7dh-6niiq-qytd3-hbnfn-ryjqo-3v4hn-v7mis-6ae/ic_quic_transport/connection_manager Failed to set receive udp buffer. No buffer space available (os error 55)

This started after I was working on upload capability using @cyberowl’s agent-js-file-upload. I uploaded a large video to a local canister and I suspect that the canister being filled up might have caused the “no buffer space available” issue. I expected it to be cleared up with dfx start --clean though.

dfx 0.15.0

1 Like

I had the same problem yesterday, after upgrading to v.0.15.1 the problem disappeared.

1 Like

Confirmed, upgrading to 0.15.1 eliminates both errors I was seeing

2 Likes