首页 > 其他 > 详细

解决Jenkins的错误“The Server rejected the connection: None of the protocols were accepted”

时间:2017-09-25 18:07:33      阅读:3445      评论:0      收藏:0      [点我收藏+]

1. 配置节点,配置好节点后,在节点机上运行已下载技术分享文件,双击执行,提示“The Server rejected the connection: None of the protocols were accepted”错误

技术分享

发现是自己生成.jnlp的文件错误了,如下图,我访问Jenkins是使用的localhost.在生成.jnlp或者是jar文件时,文件路径也是localhost,导致我执行它生成好的jar包或者是launch文件,下载都会提示是从localhost:8080下载,这样是错误的,就会出现那个问题

技术分享

解决方案:

使用IP去访问Jenkins,我使用的是launch执行节点

技术分享

在节点分机上执行,执行成功

技术分享

解决Jenkins的错误“The Server rejected the connection: None of the protocols were accepted”

原文:http://www.cnblogs.com/chongyou/p/7593070.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!