Hi, is this problem solved?
I also had this same problem. My situation is NoMachine with zerotier, this error 22 occurred when I enable proxy no matter I chose “use system configuration“ nor “automatic configuration” even the LAN connection would show this error message, but if I uncheck the proxy, every connection is normal.