miniupnp icon indicating copy to clipboard operation
miniupnp copied to clipboard

refresh_nft_cache: mnl_cb_run returned -1: Protocol error endlessly spammed in log; UPnP rule listing does not work

Open AshleighTheCutie opened this issue 6 months ago • 4 comments

As the title says. It's unable to show clients that can display the mappings that are currently active, but everything else works. However, I can't reliably trigger this behaviour now - somehow restarting MiniUPnPd fixed it?

AshleighTheCutie avatar May 02 '25 00:05 AshleighTheCutie

"Protocol error" is EPROTO.

I don't understand how this can happen :)

miniupnp avatar May 04 '25 21:05 miniupnp

@AshleighTheCutie have you reproduced the problem ?

miniupnp avatar May 12 '25 06:05 miniupnp

Not yet, still trying to.

AshleighTheCutie avatar May 12 '25 17:05 AshleighTheCutie

I have a consistent reproducer but it is on nixos.

You can reproduce it via

nix \
  --extra-experimental-features nix-command \
  --extra-experimental-features flakes \
  build nixpkgs#nixosTests.upnp.nftables -L

phanirithvij avatar Jun 03 '25 14:06 phanirithvij