[JIRA] (JENKINS-58474) Port not reachable while creating a slave agent in windows for a linux master

已查看 14 次
跳至第一个未读帖子

niranjani.venkatesan@litepoint.com (JIRA)

未读,
2019年7月12日 10:01:022019/7/12
收件人 jenkinsc...@googlegroups.com
Niranjani Venkatesan created an issue
 
Jenkins / Bug JENKINS-58474
Port not reachable while creating a slave agent in windows for a linux master
Issue Type: Bug Bug
Assignee: Karl-Heinz Marbaise
Attachments: image-2019-07-12-08-57-59-825.png
Components: java-client-api
Created: 2019-07-12 14:00
Priority: Major Major
Reporter: Niranjani Venkatesan

I have configured a master jenkins in Linux environment(centos 7 server) and I am trying to create a Windows 10 slave agent. When I try using "Launch agent by connecting it to the master" option and running the command javaws in windows command prompt, I get the following error.

java.io.IOException:http://localhost:8080/ provided port:37583 is not reachable

at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:287)

at hudson.remoting.Engine.innerRun(Engine.java:523)

at hudson.remoting.Engine.run(Engine.java:474)

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

niranjani.venkatesan@litepoint.com (JIRA)

未读,
2019年7月12日 10:02:032019/7/12
收件人 jenkinsc...@googlegroups.com

gabriel.almeida@harman.com (JIRA)

未读,
2019年9月2日 09:01:042019/9/2
收件人 jenkinsc...@googlegroups.com

alpanshin@gmail.com (JIRA)

未读,
2019年10月8日 05:52:032019/10/8
收件人 jenkinsc...@googlegroups.com

Have the same problem.
If I try connect the same agent to another Jenkins server on Windows 10, everything works.
Both servers have same version of Jenkins (2.190.1), approximately same set of plugins.
Even tried to use static port and explicitly whitelist it on CentOS, did not help.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

reuben.thomas@me.com (JIRA)

未读,
2019年10月12日 17:54:032019/10/12
收件人 jenkinsc...@googlegroups.com

I'm seeing this too. The Windows 10 1903 agent is able to connect to a macOS server without problems, but fails to connect to a Fedora server.

 

eumenestrelu@gmail.com (JIRA)

未读,
2019年11月15日 16:53:032019/11/15
收件人 jenkinsc...@googlegroups.com
Cristian M edited a comment on Bug JENKINS-58474
Managed to dodge this one. You just need to login to the centos server and add a firewall rule for that port:

{{ firewall-cmd --permanent --add-port=37583/tcp}}

{{firewall-cmd --reload}}

 

eumenestrelu@gmail.com (JIRA)

未读,
2019年11月15日 16:53:032019/11/15
收件人 jenkinsc...@googlegroups.com
回复全部
回复作者
转发
0 个新帖子