My Oracle Support Banner

Java.io.IOException: Connection Reset By Peer -- SFTP Intermediate Connectivity Issues while connecting to MFT Embedded SFTP server from 3rd party client (Filezilla/WinSCP) (Doc ID 2998717.1)

Last updated on JANUARY 18, 2024

Applies to:

Oracle Managed File Transfer - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, MFT Runtime Server

java.io.IOException: Connection reset by peer -- SFTP Intermediate connectivity issues while connecting to MFT Embedded SFTP server from 3rd party client (Filezilla/WinSCP)


ERROR
-----------------------
2024-01-09 10:24:48 WARN ServerSession:481 - Exception caught
java.io.IOException: Connection reset by peer
  at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_391]
  at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_391]
  at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_391]
  at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_391]
  at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishRead(UnixAsynchronousSocketChannelImpl.java:387) ~[?:1.8.0_391]
  at sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:191) ~[?:1.8.0_391]
  at sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:213) ~[?:1.8.0_391]
  at sun.nio.ch.EPollPort$EventHandlerTask.run(EPollPort.java:293) ~[?:1.8.0_391]
  at java.lang.Thread.run(Thread.java:750) [?:1.8.0_391]
2024-01-09 10:24:48 WARN ServerSession:481 - Exception caught
java.io.IOException: Broken pipe
  at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:1.8.0_391]
  at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:1.8.0_391]
  at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[?:1.8.0_391]
  at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:1.8.0_391]
  at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:691) ~[?:1.8.0_391]
  at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382) ~[?:1.8.0_391]
  at sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399) ~[?:1.8.0_391]
  at java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:577) ~[?:1.8.0_391]
  at org.apache.sshd.common.io.nio2.Nio2Session.startWriting(Nio2Session.java:209) ~[sshd-core.jar:0.14.0]
  at org.apache.sshd.common.io.nio2.Nio2Session.write(Nio2Session.jav




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Try connection to SFTP embedded server from FTP client
2. See the error as indicated intermittently.


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.