Title:
CFFTP secure requests just keep spinning without giving an error when connection fails
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Pawel Czarnota / Pawel Czarnota (Pawel Czarnota)
Created: 06/02/2015
Components: Net Protocols
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 2
Problem Description:
When attempting a secure FTP connection to unix ftp server, cfftp fails to recognize that the connection failed on unix system (with "Timeout before authentication" error) and the cfftp request just keeps spinning until ColdFusion is restarted (request cannot be killed in Server monitor). FTP log shows one line that FTP request of action="open" was attempted and no other log files have any other information.
Steps to Reproduce:
Create test file with the below code:
<cfftp
action = "open"
connection = "myconnection"
port = "22"
secure = "yes"
server = "nameofunixserver"
stopOnError = "yes"
timeout = "10"
username = "username"
password = "password"
/>
You are connected
<cfftp
connection = "myconnection"
action = "close" />
Run this file in the browser waiting for authentication connection. Unix connection needs to be rejected and the following messages are shown on Unix FTP server:
Jun 2 08:43:06 servername sshd[9368]: [ID 800047 auth.info] Connection from xx.xx.190.106 port 50044
Jun 2 08:43:07 servername sshd[9369]: [ID 800047 auth.info] Failed none for [username] from xx.xx.190.106 port 50044 ssh2
Jun 2 08:53:06 servername sshd[9368]: [ID 800047 auth.crit] monitor fatal: Timeout before authentication for xx.x.190.106
Actual Result:
Request just keeps spinning and coldfusion needs to be restarted to kill the request. The "You are connected" line of code is never reached in the above code. FTP log file has only one line, there is nothing that says connection has failed, no other logs have an error:
Jun 2, 2015 9:05 AM Information ajp-bio-8002-exec-2
Starting FTP request {action='open'}
Unix system has the following errors in the log file:
Jun 2 08:43:06 servername sshd[9368]: [ID 800047 auth.info] Connection from xx.xx.190.106 port 50044
Jun 2 08:43:07 servername sshd[9369]: [ID 800047 auth.info] Failed none for [username] from xx.xx.190.106 port 50044 ssh2
Jun 2 08:53:06 servername sshd[9368]: [ID 800047 auth.crit] monitor fatal: Timeout before authentication for xx.x.190.106
Expected Result:
ColdFusion throws an error and closes the request. The error should be shown to the user and also in the log file(s).
Any Workarounds:
None found so far. Tried with both ColdFusion 11 Update 5 and Update 4 on different instances (with and without any customr jar files) with the same result.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3999633
External Customer Info:
External Company:
External Customer Name: Pawel
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows Server 2012 R2, with IIS 8.5 connection (isapi_redirect.dll file dated 3/1//2015), ColdFusion 11 Update 5 (also tested with Update 4).
Attachments:
Comments: