当前位置:网站首页>2. successfully solved bug:exception when publishing [Failed to connect and initialize SSH connection...
2. successfully solved bug:exception when publishing [Failed to connect and initialize SSH connection...
2022-06-30 02:48:00 【Water drop technique】

Problem description
Use Jenkins When building a project , The following error is prompted :
...
SSH: Connecting from host [WIN-...]
SSH: Connecting with configuration [192.168....] ...
ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [192.168....]. Message [java.net.ConnectException: Connection timed out: connect]]]
Build step 'Send build artifacts over SSH' changed build result to UNSTABLE
Finished: UNSTABLE
Cause analysis
It can be seen from the error message that Jenkins The server failed to connect to the production server , Need to log in Jenkins Troubleshoot the server .
Sign in Jenkins The server , adopt ping Test whether the production server can be connected . After testing , Really can't connect .
Solution
Jenkins The server connection to the production server usually uses VPN Tools such as , It's because VPN Reason for login failure .
Log back in VPN , The production server can be connected . To build again Jenkins project , It can be released normally .
SSH: EXEC: completed after 15,584 ms
SSH: Disconnecting configuration [192.168....] ...
SSH: Transferred 1 file(s)
Finished: SUCCESS
边栏推荐
- What is digicert smart seal?
- 2022 the action of protecting the net is imminent. Things about protecting the net
- 2022年7月深圳地区CPDA数据分析师认证
- Global and Chinese markets of liquid optical waveguides 2022-2028: Research Report on technology, participants, trends, market size and share
- How to set password complexity and timeout exit function in Oracle
- 银行的理财产品一般期限是多久?
- Dynamic SQL
- Global and Chinese market of wind energy equipment logistics 2022-2028: Research Report on technology, participants, trends, market size and share
- HTA introductory basic tutorial | GUI interface of vbs script HTA concise tutorial, with complete course and interface beautification
- How to prevent phishing emails? S/mime mail certificate
猜你喜欢

Recursion frog jumping steps problem

重磅来袭--UE5的开源数字孪生解决方案

什么是自签名证书?自签名SSL证书的优缺点?

What is certificate transparency CT? How to query CT logs certificate logs?

What is an X.509 certificate? 10. 509 certificate working principle and application?

How to prevent duplicate submission under concurrent requests

matlab代码运行教程(如何运行下载的代码)

Seven common errors of SSL certificate and their solutions

打造創客教育中精湛技藝

打造创客教育中精湛技艺
随机推荐
(图论) 连通分量(模板) + 强连通分量(模板)
重看《Redis设计与实现》后记录几个要点
Network neuroscience -- a review of network Neuroscience
FAQs for code signature and driver signature
How vscode debugs into standard library files / third-party package source code
Global and Chinese market of subscription revenue management software 2022-2028: Research Report on technology, participants, trends, market size and share
什么是自签名证书?自签名SSL证书的优缺点?
CMake教程系列-02-使用cmake代碼生成二進制
学术汇报(academic presentation)/PPT应该怎么做?
Cmake tutorial series -05- options and variables
Idea remote debugging remote JVM debug
matlab代码运行教程(如何运行下载的代码)
What are the requirements for NPDP product manager international certification examination?
Global and Chinese market of mobile commerce solutions 2022-2028: Research Report on technology, participants, trends, market size and share
2.8 【 weight of complete binary tree 】
身份证号的严谨判断精确到队后一位
unity的text首列有标点符号咋办
Série de tutoriels cmake - 02 - génération de binaires à l'aide du Code cmake
什么是证书透明度CT?如何查询CT logs证书日志?
Redis+AOP怎么自定义注解实现限流