Jenkins ——The server rejected the connection
启动agent时,报如下错误:
信息: Protocol JNLP4-connect encountered an unexpected exception
java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.Co
nnectionRefusalException: Connection closed before acknowledgement sentat org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)at hudson.remoting.Engine.innerRun(Engine.java:614)at hudson.remoting.Engine.run(Engine.java:474)
Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Conn
ection closed before acknowledgement sentat org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckF
ilterLayer.java:280)at org.jenkinsci.remoting.protocol.FilterLayer.abort(FilterLayer.java:164)at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.access$000(AckFilterLayer.java:43)at org.jenkinsci.remoting.protocol.impl.AckFilterLayer$1.run(AckFilterLa
yer.java:176)at org.jenkinsci.remoting.protocol.IOHub$DelayedRunnable.run(IOHub.java:964)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)at hudson.remoting.Engine$1$$Lambda$3/167135.run(Unknown Source)at java.lang.Thread.run(Thread.java:745)
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener status
信息: Connecting to 10.8.204.184:32828
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener status
信息: Server reports protocol JNLP4-plaintext not supported, skipping
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener status
信息: Server reports protocol JNLP3-connect not supported, skipping
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener status
信息: Server reports protocol JNLP2-connect not supported, skipping
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener status
信息: Server reports protocol JNLP-connect not supported, skipping
六月 17, 2019 8:21:50 下午 hudson.remoting.jnlp.Main$CuiListener error
严重: The server rejected the connection: None of the protocols were accepted
java.lang.Exception: The server rejected the connection: None of the protocols w
ere acceptedat hudson.remoting.Engine.onConnectionRejected(Engine.java:675)at hudson.remoting.Engine.innerRun(Engine.java:639)at hudson.remoting.Engine.run(Engine.java:474)
解决办法:
jenkins->系统管理->全局安全配置,勾选“Java Web Start Agent Protocol/3 ”
image.png
修改后查看了下运行记录:
JNLP4连接失败后,尝试JNLP3,连接成功,而JNLP4为什么连接失败还不晓得原因
作者:冰雪树挂
链接:https://www.jianshu.com/p/6d1dc4a5c482
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
Jenkins ——The server rejected the connection相关推荐
- The server rejected the connection: None of the protocols are enabled
k8s上启动jenkins时报了:The server rejected the connection: None of the protocols are enabled 原来是自己调试时去掉了一个 ...
- Xshell 连接报错解决:WARNING! The remote SSH server rejected X11 forwarding request.
一.报错情况 WARNING! The remote SSH server rejected X11 forwarding request. 二.解决方案 (1)编辑文件:/etc/ssh/sshd_ ...
- kafka 报错:kafka server:Message was too large ,server rejected it to avoid allocation
kafka报错信息: kafka server:Message was too large ,server rejected it to avoid allocation kafka版本: kafk ...
- Xshell报错“The remote SSH server rejected X11 forwarding request.”
xshell连接centos7,报错:"The remote SSH server rejected X11 forwarding request." 打开文件/etc/ssh/s ...
- Xshell登录Linux服务器 提示WARNING! The remote SSH server rejected X11 forwarding request 及 提示符显示-bash-4.2#
用root登录 Xshell 登录Linux服务器 提示 WARNING! The remote SSH server rejected X11 forwarding request 以及 用户表示符 ...
- 关于putty连接服务器提示server unexpectedly closed connection解决方法
1.今日在对服务器进巡检时,发现无法使用putty连接到服务器,提示错误server unexpectedly closed connection.之前在连接服务器的时候也没遇到这样的情况,遂在网上进 ...
- XShell免费版的安装配置教程以及使用教程—解决“WARNINGThe remote SSH server rejected X11 forwarding request.“警告
目录 一.简介 二.XShell的作用 三.下载XShell 四.使用XShell连接Linux服务器 1.XShell初始化界面 2.点击"新建",新建会话 3. 填写会话信息 ...
- [jenkins] 启动错误 Failed to start LSB: Jenkins Automation Server.
[jenkins] 启动错误 Failed to start LSB: Jenkins Automation Server. 安装好jenkins后, 首次启动失败 启动命令 失败提示 失败详情 原因 ...
- redis在pub压力较大时,sub端错误Server closed the connection的解决方法
订阅端在发送压力较大时,约每秒大于5K左右时,会出现不稳定情况,会退出. Error: Server closed the connection dispatch... 解决:redis在缓冲设置上有 ...
最新文章
- 算法工程师在岗3年小结!
- php sf框架,GitHub - YanCastle/sf: php swoole framework
- matlab 某些函数
- libtorch 调用pytorch模型
- 【转】 Android新特性介绍,ConstraintLayout完全解析
- 结构体+字符串比较大小(HDU1234开门人和关门人 )
- AAAI 2020 时间交错网络 | ICCV19多标签视频理解冠军方案
- DataFrame表样式设置(一)
- MapReduce 踩坑 - hadoop No FileSystem for scheme: file/hdfs
- (转)Mime类型与文件后缀对照表及探测文件MIME的方法
- VMThread占CPU高基本上是JVM在频繁GC导致,原因基本上是冰法下短时间内创建了大量对象堆积造成频繁GC。...
- xdc如何设置输入延时
- dos窗口运行.java文件
- 基于c#的winform中图片放大后不清晰问题
- 服务器如何开启电脑的虚拟化技术,win7怎么打开vt虚拟化技术|win7在bios开启vt虚化的方法...
- 哪个邮箱好用?!TOM邮箱品牌测评分析
- java中小数位数的限制,Java中限制小数位数有关问题
- 2021辽宁省大学生程序设计竞赛 题解
- 现有小程序平台有哪些?如何让自己的App运行小程序?
- 三层架构与MVC架构