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

14 Aufrufe
Direkt zur ersten ungelesenen Nachricht

niranjani.venkatesan@litepoint.com (JIRA)

ungelesen,
12.07.2019, 10:01:0212.07.19
an 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)

ungelesen,
12.07.2019, 10:02:0312.07.19
an jenkinsc...@googlegroups.com

gabriel.almeida@harman.com (JIRA)

ungelesen,
02.09.2019, 09:01:0402.09.19
an jenkinsc...@googlegroups.com

alpanshin@gmail.com (JIRA)

ungelesen,
08.10.2019, 05:52:0308.10.19
an 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)

ungelesen,
12.10.2019, 17:54:0312.10.19
an 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)

ungelesen,
15.11.2019, 16:53:0315.11.19
an 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)

ungelesen,
15.11.2019, 16:53:0315.11.19
an jenkinsc...@googlegroups.com
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten