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

14 views
Skip to first unread message

niranjani.venkatesan@litepoint.com (JIRA)

unread,
Jul 12, 2019, 10:01:02 AM7/12/19
to 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)

unread,
Jul 12, 2019, 10:02:03 AM7/12/19
to jenkinsc...@googlegroups.com

gabriel.almeida@harman.com (JIRA)

unread,
Sep 2, 2019, 9:01:04 AM9/2/19
to jenkinsc...@googlegroups.com

alpanshin@gmail.com (JIRA)

unread,
Oct 8, 2019, 5:52:03 AM10/8/19
to 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)

unread,
Oct 12, 2019, 5:54:03 PM10/12/19
to 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)

unread,
Nov 15, 2019, 4:53:03 PM11/15/19
to 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)

unread,
Nov 15, 2019, 4:53:03 PM11/15/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages