当前位置:网站首页>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
边栏推荐
- Recursion frog jumping steps problem
- 原生JS怎么生成九宫格
- Study diary: February 15, 2022
- 2022 the action of protecting the net is imminent. Things about protecting the net
- 【postgres】postgres 数据库迁移
- 怎么利用Redis实现点赞功能
- Software testing skills, JMeter stress testing tutorial, transaction controller of logic controller (25)
- Global and Chinese markets for wireless security in LTE networks 2022-2028: Research Report on technology, participants, trends, market size and share
- 迅为恩智浦iTOP-IMX6开发平台
- [NPM] solve the problem of error reporting when installing typeorm with NPM
猜你喜欢

学术汇报(academic presentation)/PPT应该怎么做?

Three solutions to forced hibernation of corporate computers

Unity3D UGUI强制刷新Layout(布局)组件

Matlab code running tutorial (how to run the downloaded code)

How vscode debugs into standard library files / third-party package source code

IDEA 远程调试 Remote JVM Debug

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

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

FDA ESG规定:必须使用数字证书保证通信安全

Playful palette: an interactive parametric color mixer for artists
随机推荐
What files does a CA digital certificate contain? How to view SSL certificate information?
Network neuroscience -- a review of network Neuroscience
原生JS怎么生成九宫格
matlab代码运行教程(如何运行下载的代码)
Select sort
CMake教程系列-02-使用cmake代码生成二进制
Mysql表数据比较大情况下怎么修改添加字段
Créer des compétences exquises dans l'éducation des créateurs
CMake教程系列-04-编译相关函数
什么是X.509证书?X.509证书工作原理及应用?
Summary of knowledge points about eigenvalues and eigenvectors of matrices in Chapter 5 of Linear Algebra (Jeff's self perception)
How to set password complexity and timeout exit function in Oracle
What are the three paradigms of database
Multi card server usage
Matlab code running tutorial (how to run the downloaded code)
Heap sort
unity的text首列有标点符号咋办
迅為恩智浦iTOP-IMX6開發平臺
Lua 基础知识
(graph theory) connected component (template) + strongly connected component (template)