log remoteaddress on any kind of error
tooptoop4 opened this issue · 0 comments
would help to debug:
java.nio.channels.UnresolvedAddressException
at java.base/sun.nio.ch.Net.checkAddress(Net.java:149)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implConnect(UnixAsynchronousSocketChannelImpl.java:310)
at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.connect(AsynchronousSocketChannelImpl.java:199)
at com.hierynomus.smbj.transport.tcp.async.AsyncDirectTcpTransport.connect(AsyncDirectTcpTransport.java:91)
at com.hierynomus.smbj.connection.Connection.connect(Connection.java:139)
at com.hierynomus.smbj.SMBClient.getEstablishedOrConnect(SMBClient.java:96)
at com.hierynomus.smbj.SMBClient.connect(SMBClient.java:71)
at com.hierynomus.smbj.session.Session.createNestedSession(Session.java:214)
at com.hierynomus.smbj.session.Session.getNestedSession(Session.java:197)
at com.hierynomus.smbj.share.DiskShare.rerouteIfNeeded(DiskShare.java:123)
at com.hierynomus.smbj.share.DiskShare.access$000(DiskShare.java:55)
at com.hierynomus.smbj.share.DiskShare$2.apply(DiskShare.java:108)
at com.hierynomus.smbj.share.DiskShare$2.apply(DiskShare.java:105)
at com.hierynomus.smbj.paths.DFSPathResolver.step8(DFSPathResolver.java:314)
at com.hierynomus.smbj.paths.DFSPathResolver.step3(DFSPathResolver.java:177)
at com.hierynomus.smbj.paths.DFSPathResolver.step4(DFSPathResolver.java:209)
at com.hierynomus.smbj.paths.DFSPathResolver.step7(DFSPathResolver.java:294)
at com.hierynomus.smbj.paths.DFSPathResolver.step6(DFSPathResolver.java:272)
at com.hierynomus.smbj.paths.DFSPathResolver.step5(DFSPathResolver.java:231)
at com.hierynomus.smbj.paths.DFSPathResolver.step2(DFSPathResolver.java:150)
at com.hierynomus.smbj.paths.DFSPathResolver.step1(DFSPathResolver.java:133)
at com.hierynomus.smbj.paths.DFSPathResolver.start(DFSPathResolver.java:121)
at com.hierynomus.smbj.paths.DFSPathResolver.resolve(DFSPathResolver.java:109)
at com.hierynomus.smbj.share.DiskShare.resolveAndCreateFile(DiskShare.java:105)
at com.hierynomus.smbj.share.DiskShare.open(DiskShare.java:65)
at com.hierynomus.smbj.share.DiskShare.openDirectory(DiskShare.java:151)
at com.hierynomus.smbj.share.DiskShare.list(DiskShare.java:258)
at com.hierynomus.smbj.share.DiskShare.list(DiskShare.java:231)