java.lang.Exception: java.net.SocketTimeoutException: Read timed out

Mirth Project | Bruno MARTIN | 5 years ago
  1. 0

    Mirth 2.1 inbound ftp connector, (tested here on localhost ftp server) is able to pool messages on a directory containing up to 10 000 1KB message files (present in the directory at a given time) without problem, however beyond this limit, (in our case 72800 message files) the polling no bring any message. In Mirth log, the folowing error: -- [2011-06-20 19:11:07,558] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: java.net.SocketTimeoutException: Read timed out java.lang.Exception: java.net.SocketTimeoutException: Read timed out at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source)Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534) at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:509) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2296) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2269) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2046) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2093) at com.mirth.connect.connectors.file.filesystems.FtpConnection.listFiles(FtpConnection.java:137) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) -- (of course, ftp server state was checked in parallel during this test) Best regards,

    Mirth Project | 5 years ago | Bruno MARTIN
    java.lang.Exception: java.net.SocketTimeoutException: Read timed out
  2. 0

    Mirth 2.1 inbound ftp connector, (tested here on localhost ftp server) is able to pool messages on a directory containing up to 10 000 1KB message files (present in the directory at a given time) without problem, however beyond this limit, (in our case 72800 message files) the polling no bring any message. In Mirth log, the folowing error: -- [2011-06-20 19:11:07,558] FATAL (org.mule.impl.DefaultComponentExceptionStrategy:84): The error is: java.net.SocketTimeoutException: Read timed out java.lang.Exception: java.net.SocketTimeoutException: Read timed out at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:124) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source)Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490) at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534) at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:509) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2296) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2269) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2046) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2093) at com.mirth.connect.connectors.file.filesystems.FtpConnection.listFiles(FtpConnection.java:137) at com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104) -- (of course, ftp server state was checked in parallel during this test) Best regards,

    Mirth Project | 5 years ago | Bruno MARTIN
    java.net.SocketTimeoutException: Read timed out
  3. 0

    [NET-160] FTP Client API Hangs - Attached Scenario. - ASF JIRA

    apache.org | 1 year ago
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error collecting files while creating a remote project

    YouTrack | 7 years ago
    org.apache.commons.vfs.FileSystemException: Could not determine the type of file "ftp://ftp.servage.net/assets/javascripts/tinymce/jscripts/tiny_mce/plugins/directionality/langs/en.js".

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketTimeoutException

      Read timed out

      at java.net.SocketInputStream.socketRead0()
    2. Java RT
      BufferedReader.readLine
      1. java.net.SocketInputStream.socketRead0(Native Method)
      2. java.net.SocketInputStream.read(Unknown Source)
      3. sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
      4. sun.nio.cs.StreamDecoder.implRead(Unknown Source)
      5. sun.nio.cs.StreamDecoder.read(Unknown Source)
      6. java.io.InputStreamReader.read(Unknown Source)
      7. java.io.BufferedReader.fill(Unknown Source)
      8. java.io.BufferedReader.readLine(Unknown Source)
      9. java.io.BufferedReader.readLine(Unknown Source)
      9 frames
    3. Commons Net
      FTPClient.listFiles
      1. org.apache.commons.net.ftp.FTP.__getReply(FTP.java:294)
      2. org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:490)
      3. org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:534)
      4. org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:509)
      5. org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2296)
      6. org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2269)
      7. org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2046)
      8. org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2093)
      8 frames
    4. com.mirth.connect
      FileMessageReceiver.poll
      1. com.mirth.connect.connectors.file.filesystems.FtpConnection.listFiles(FtpConnection.java:137)
      2. com.mirth.connect.connectors.file.FileMessageReceiver.listFiles(FileMessageReceiver.java:416)
      3. com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:104)
      3 frames