gpt4 book ai didi

ssh - Coldfusion 10 CFFTP SFTP 问题算法协商失败

转载 作者:行者123 更新时间:2023-12-01 05:33:43 26 4
gpt4 key购买 nike

这是我在尝试使用 Coldfusion 10 连接到运行 SSH-2.0-OpenSSH_7.1 的 SFTP 服务器时遇到的错误:

An error occurred while establishing an sFTP connection. 
Verify your connection attributes: username, password, server, fingerprint,
port, key, connection, proxyServer, and secure (as applicable).

Error: Algorithm negotiation fail.<br> The error occurred on line 14

这是代码。显然星号具有值,只是出于明显的原因将它们注释掉。

<cfftp action="OPEN"
server="***"
username="***"
password="***"
stoponerror="Yes"
port="61522"
connection="MyConnection"
fingerprint="***"
secure="yes">

堆栈跟踪:

com.jcraft.jsch.JSchException: Algorithm negotiation fail at com.jcraft.jsch.JSchException: Algorithm negotiation fail at
com.jcraft.jsch.Session.receive_kexinit(Unknown Source) at
com.jcraft.jsch.Session.connect(Unknown Source) at
com.jcraft.jsch.Session.connect(Unknown Source) at
coldfusion.tagext.net.SftpHandler.getConnection(SftpHandler.java:267) at
coldfusion.tagext.net.SftpHandler.createConnection(SftpHandler.java:78) at
coldfusion.tagext.net.FtpTag.doStartTag(FtpTag.java:721) at
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2991) at
cftest2ecfm1054716045.runPage(C:****\test.cfm:12) at
coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at
coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at
coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:466) at
coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at
coldfusion.filter.PathFilter.invoke(PathFilter.java:142) at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78) at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at
coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at
coldfusion.CfmServlet.service(CfmServlet.java:219) at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at
org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:450) at
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197) at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at
java.lang.Thread.run(Thread.java:745)

最佳答案

该问题已报告为错误:https://tracker.adobe.com/#/view/CF-4014234

解决方案是将CF更新到最新版本:Cf Admin Panel > Server Update > Updates

具体而言,此错误已在 ColdFusion 11 Update 14 版本

中得到解决

关于ssh - Coldfusion 10 CFFTP SFTP 问题算法协商失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41132008/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com