nfs-client-java icon indicating copy to clipboard operation
nfs-client-java copied to clipboard

fsinfo error,rpc request timeout

Open tangxuGoGoGo opened this issue 3 years ago • 0 comments

When I'm testing on an nfs server on a test network segment (not on the same network segment as the code running client), the error occurs almost every time when I get the file I/O stream. Through the exception prompt information, an exception is thrown when fsinfo is called.The detailed exception stack trace is as follows: Exception in thread "main" com.emc.ecs.nfsclient.nfs.NfsException: networ error,server:xxxxxx, RPC error: rpc request timeout on the connection:/xxxx:2049 at com.emc.ecs.nfsclient.rpc.RpcWrapper. hanldeRpcException(Rpcwrapper.java:311) at com.emc.ecs.nfsclient.rpc.RpcWrapper. callRpcWrapped(Rpcwrapper.java:134) at com.emc.ecs.nfsclient.nfs.nfs3.Nfs3.wrapped_getFsInfo(Nfs3.java:1273) at com.emc.ecs.nfsclient.nfs.nfs3.Nfs3.wrapped_getFsInfo(Nfs3.java:90) at com.emc.ecs.nfsclient.nfs.io.NfsFileBase.fsInfo(NfsFileBase.java:1161) at com.emc.ecs.nfsclient.nfs.io.NfsFileInputStream.(NfsFileInputStream.java:159) It is worth noting that I can get the expected result when I perform fileList.

tangxuGoGoGo avatar Feb 21 '22 03:02 tangxuGoGoGo