You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the NFS client implementation. I'm trying to connect from a Windows 11 client to a Rocky Linux 9 server. I've also tested with a RHEL8 server, with the same result.
Commands like showmount are indicating the share is exported and reachable.
Unhandled exception: System.IO.EndOfStreamException: Unable to complete read of 4 bytes
at DiscUtils.Streams.StreamUtilities.ReadExact(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
at DiscUtils.Streams.DataReader.ReadToBuffer(Int32 count)
at DiscUtils.Streams.BigEndianDataReader.ReadUInt32()
at DiscUtils.Nfs.PortMap2.GetPort(Int32 program, Int32 version, PortMap2Protocol protocol)
at DiscUtils.Nfs.RpcClient.GetTransport(Int32 program, Int32 version)
at DiscUtils.Nfs.RpcProgram.DoSend(MemoryStream ms)
at DiscUtils.Nfs.Nfs3Mount.Exports()
at DiscUtils.Nfs.NfsFileSystem.GetExports(String address)+MoveNext()
at Program.MainAsync in C:\Users\Rainmaker\source\repos\NFSClient\NFSClient\Program.cs:line 86
I've installed DiscUtils.Complete (and .Transport, and .NFS for good measure). I've tried to use the SetupHelper.SetupTransports(), but this does not help.
In examples on the internet I saw RpcClient being created separately and then passed to the constructor of NFS3Client. However, all of these classes seem to have been marked internal now and the only (obvious) public class I could find is NfsFileSystem.
However, this does mean I'm not 100% confident I'm using the library correctly. If I'm using it wrong, please let me know.
Hi,
I'm trying to use the NFS client implementation. I'm trying to connect from a Windows 11 client to a Rocky Linux 9 server. I've also tested with a RHEL8 server, with the same result.
Commands like showmount are indicating the share is exported and reachable.
When trying to run the bear minimum:
I receive a the following stacktrace:
I've installed DiscUtils.Complete (and .Transport, and .NFS for good measure). I've tried to use the SetupHelper.SetupTransports(), but this does not help.
In examples on the internet I saw RpcClient being created separately and then passed to the constructor of NFS3Client. However, all of these classes seem to have been marked internal now and the only (obvious) public class I could find is NfsFileSystem.
However, this does mean I'm not 100% confident I'm using the library correctly. If I'm using it wrong, please let me know.
NFSClient.pcapng.gz
I've attached a packet trace in case you need it.
The text was updated successfully, but these errors were encountered: