Thomas Chuntic created NETBEANS-2244:
----------------------------------------
Summary: Remote FTP TLS v1.2 issue
Key: NETBEANS-2244
URL: https://issues.apache.org/jira/browse/NETBEANS-2244
Project: NetBeans
Issue Type: Bug
Components: php - FTP Support
Affects Versions: 10.0
Environment: Product Version: Apache NetBeans IDE 10.0 (Build
incubator-netbeans-release-380-on-20181217)
Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS
System: Mac OS X version 10.14.3 running on x86_64; UTF-8; en_AU (nb)
User directory: /Users/thomas/Library/Application Support/NetBeans/10.0
Cache directory: /Users/thomas/Library/Caches/NetBeans/10.0
Reporter: Thomas Chuntic
Just want to report issue with Remote FTP having issue with TLS v1.2. Also
wanted to know how to check TLS version? Is there a way to force it to TLS
v1.2, I have check the java controller its been set already to TLS v1.2 but I
am not sure if netbeans uses different one.
Issue occur when shared hosting have upgraded their server to TLS v1.2 ftp will
close without indication.
*ID Error log*
{code:java}
INFO [org.netbeans.modules.php.project.connections.transfer.TransferFile]:
Error while getting children for LocalTransferFile[name: wp-content,
remotePath: wp-content, baseLocalDirectoryPath:
/Users/thomas/_WEB/DEV/TncWeb_SANDBOX, baseRemoteDirectoryPath:
/sandbox.tncweb.com.au, hasParent: false, isFile: false, isDirectory: true,
isLink: false]
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed
without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:324)
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
at org.apache.commons.net.ftp.FTP.getReply(FTP.java:732)
at
org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1853)
at
org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3424)
at
org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:3339)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:3016)
at
org.netbeans.modules.php.project.connections.ftp.FtpClient.listFiles(FtpClient.java:400)
Caused: org.netbeans.modules.php.project.connections.RemoteException: Cannot
list files for /sandbox.tncweb.com.au/wp-content.
at
org.netbeans.modules.php.project.connections.ftp.FtpClient.listFiles(FtpClient.java:414)
at
org.netbeans.modules.php.project.connections.RemoteClient.listFiles(RemoteClient.java:238)
at
org.netbeans.modules.php.project.connections.RemoteClient$3.listRemoteFiles(RemoteClient.java:1350)
[catch] at
org.netbeans.modules.php.project.connections.transfer.TransferFile.fetchRemoteChildren(TransferFile.java:588)
at
org.netbeans.modules.php.project.connections.transfer.TransferFile.initRemoteChildren(TransferFile.java:570)
at
org.netbeans.modules.php.project.connections.transfer.TransferFile.getRemoteChildren(TransferFile.java:216)
at
org.netbeans.modules.php.project.connections.RemoteClient.prepareDownload(RemoteClient.java:604)
at
org.netbeans.modules.php.project.connections.RemoteClient.prepareDownload(RemoteClient.java:558)
at
org.netbeans.modules.php.project.ui.actions.DownloadCommand.prepareDownload(DownloadCommand.java:120)
at
org.netbeans.modules.php.project.ui.actions.DownloadCommand.download(DownloadCommand.java:109)
at
org.netbeans.modules.php.project.ui.actions.DownloadCommand.invokeActionImpl(DownloadCommand.java:93)
at
org.netbeans.modules.php.project.ui.actions.DownloadCommand$1.run(DownloadCommand.java:71)
at
org.netbeans.modules.php.project.ui.actions.RemoteCommand$1.run(RemoteCommand.java:84)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists