The 504 error indicates that the dotnet client on your linux server isn't able to connect to ProGet, or that there's some intermediate proxy's preventing the request. So, I would investigate the networking side of things. Note that the password setting (CleartextPassword vs EncryptedPassword) doesn't matter, since they both arrive to ProGet as the same Basic authentication header.