java.net.SocketTimeoutException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check for proxy misconfigurations and AWS issues.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Unfortunately no repo case. At the very least, we should write out: [ERROR] Unable to read from file {0}. Connection timed out. We should write out a similar message if writing to a file fails. {code} !ENTRY com.aptana.ui 4 0 2012-04-19 11:58:57.804 !MESSAGE !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for read failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:809) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2012-04-19 11:58:57.805 !MESSAGE Opening file for read failed !STACK 0 java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
  • Unfortunately no repo case. At the very least, we should write out: [ERROR] Unable to read from file {0}. Connection timed out. We should write out a similar message if writing to a file fails. {code} !ENTRY com.aptana.ui 4 0 2012-04-19 11:58:57.804 !MESSAGE !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for read failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:809) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2012-04-19 11:58:57.805 !MESSAGE Opening file for read failed !STACK 0 java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
  • GitHub comment 6#3572868
    via GitHub by hoffrocket
    ,
  • Hector keep retrying connecting to dead nodes
    via by Filippo Diotalevi,
  • HazelCast with Mule
    via by yadav...@gmail.com,
  • Error while running real-time node
    via by Divya Sharma,
  • Version check error
    via GitHub by dennusb
    ,
    • java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Users with the same issue

    filipebatista
    66 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    108 more bugmates