EMCECS / nfs-client-java

Native Java NFS client
Apache License 2.0
71 stars 35 forks source link

RPC error: waiting for connection to be established, but failed #32

Open roman-popenov opened 4 years ago

roman-popenov commented 4 years ago

I am able to connect to the NFS server, but while trying to get the prepareRootFhAndNfsPort(), more specifically during lookupRootHandle() I am gettings the following error:

network error, server: 10.214.68.221, export: /share, RPC error: waiting for connection to be established, but failed /10.214.68.221:20048
com.emc.ecs.nfsclient.mount.MountException: network error, server: 10.214.68.221, export: /share, RPC error: waiting for connection to be established, but failed /10.214.68.221:20048

The port 20048 is set during int portOfMountService = Portmapper.queryPortFromPortMap(MOUNTPROG, VERSION, _server); operation.

When I manually set the port to 2049, I see the following error:

rpc error, server: 10.214.68.221, export: /share, RPC error: RPC call is ACCEPTED, but the status is not success, acceptStat=1
com.emc.ecs.nfsclient.mount.MountException: rpc error, server: 10.214.68.221, export: /share, RPC error: RPC call is ACCEPTED, but the status is not success, acceptStat=1
raominlove commented 1 year ago

I use nfs-client-1.0.3.jar. There is always such a problem when uploading files to nfs. How can I solve it? [com.emc.ecs.nfsclient.rpc.RpcWrapper::handleRpcException] [TxId:,SpanId:] network error happens, server 10.83.127.11, attemptNumber 0