Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-457

Server logs 'Connection reset by peer' and sends RST but no disconnect found in packet capture

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      SUSE Linux Enterprise Server 11 SP 2

      Description

      Server is logging an exception with 'Connection reset by peer'. This is intermittant; usually a second connection attempt will work. However, in packet capture there is no difference between the two examples up to the point where the server sends an RST packet - there is definitely no reset from the client side.

      This happens right after the server sends the SSL hello, when the next step should be key negotation.

      I'm not sure what the next steps are to troubleshoot this or get more debug information.

      13-05-15 10:19:18 [pool-3-thread-1538] WARN nio.FtpLoggingFilter: EXCEPTION :
      java.io.IOException: Connection reset by peer
      at sun.nio.ch.FileDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
      at sun.nio.ch.IOUtil.read(IOUtil.java:171)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
      at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.j
      ava:202)
      at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.j
      ava:42)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(Abstract
      PollingIoProcessor.java:620)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstr
      actPollingIoProcessor.java:598)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstr
      actPollingIoProcessor.java:587)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(Ab
      stractPollingIoProcessor.java:61)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
      (AbstractPollingIoProcessor.java:969)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
      e.java:64)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:662)
      13-05-15 10:19:18 [pool-3-thread-1538] ERROR impl.DefaultFtpHandler: Exception c
      aught, closing session
      java.io.IOException: Connection reset by peer
      at sun.nio.ch.FileDispatcher.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
      at sun.nio.ch.IOUtil.read(IOUtil.java:171)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:243)
      at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.j
      ava:202)
      at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.j
      ava:42)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(Abstract
      PollingIoProcessor.java:620)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstr
      actPollingIoProcessor.java:598)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(Abstr
      actPollingIoProcessor.java:587)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(Ab
      stractPollingIoProcessor.java:61)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run
      (AbstractPollingIoProcessor.java:969)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
      e.java:64)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              usenetspamtrap@yahoo.com James
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: