[JIRA] (JENKINS-58221) Swarm cannot connect to Jenkins Master provided port:50000 is not reachable

910 views
Skip to first unread message

joeykhashab@gmail.com (JIRA)

unread,
Jun 26, 2019, 3:33:02 PM6/26/19
to jenkinsc...@googlegroups.com
Joey Khashab created an issue
 
Jenkins / Bug JENKINS-58221
Swarm cannot connect to Jenkins Master provided port:50000 is not reachable
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: jenkins_swarm_verbose_logs.txt
Components: swarm-plugin
Created: 2019-06-26 19:32
Environment: jenkins version: 2.182
swarm plugin version: 3.17
Java Version on slave and master is open JDK 1.8.0_201
Priority: Major Major
Reporter: Joey Khashab

Hello,

I am currently running Jenkins 2.138.3 with plugin version 3.12, I am attempting to upgrade to Jenkins 2.182 and plugin 3.17.

 

Looks like I am getting an error that it can't connect to port 50000 (the fixed agent port). I attached the verbose logs.

 

When I do a curl from the slave to the master I see 50000 is available.

[ec2-user@ip-10-0-6-121 ~]$ curl 10.0.7.19:50000
Jenkins-Agent-Protocols: JNLP4-connect, Ping
Jenkins-Version: 2.182
Jenkins-Session: 02bf8ba3
Client: 10.0.6.121
Server: 10.0.7.19

Any ideas would be appreciated, I am currently just downgrading Jenkins to previous versions to see if that will help.

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

joeykhashab@gmail.com (JIRA)

unread,
Jun 26, 2019, 3:36:01 PM6/26/19
to jenkinsc...@googlegroups.com
Joey Khashab updated an issue
Change By: Joey Khashab
Hello,

I am currently running Jenkins 2.138.3 with plugin version 3.12, I am attempting to upgrade to Jenkins 2.182 and plugin 3.17.

 

Looks like I am getting an error that it can't connect to port 50000 (the fixed agent port). I attached the verbose logs.

 

When I do a curl from the slave to the master I see 50000 is available.
{code:java}

[ec2-user@ip-10-0-6-121 ~]$ curl 10.0.7.19:50000
Jenkins-Agent-Protocols: JNLP4-connect, Ping
Jenkins-Version: 2.182
Jenkins-Session: 02bf8ba3
Client: 10.0.6.121
Server: 10.0.7.19
Remoting-Minimum-Version: 3.4
{code}

Any ideas would be appreciated, I am currently just downgrading Jenkins to previous versions to see if that will help.

me@basilcrow.com (JIRA)

unread,
Jul 6, 2019, 9:31:02 AM7/6/19
to jenkinsc...@googlegroups.com
Basil Crow commented on Bug JENKINS-58221
 
Re: Swarm cannot connect to Jenkins Master provided port:50000 is not reachable

Hey Joey Khashab, does this failure happen consistently or is it transient?

joeykhashab@gmail.com (JIRA)

unread,
Jul 9, 2019, 10:39:02 AM7/9/19
to jenkinsc...@googlegroups.com
Joey Khashab closed an issue as Not A Defect
 
Change By: Joey Khashab
Status: Open Closed
Resolution: Not A Defect

joeykhashab@gmail.com (JIRA)

unread,
Jul 9, 2019, 10:39:02 AM7/9/19
to jenkinsc...@googlegroups.com
Joey Khashab commented on Bug JENKINS-58221
 
Re: Swarm cannot connect to Jenkins Master provided port:50000 is not reachable

Basil Crow thanks for your reply, after trying several things, I realized I was passing in `-Dhudson.TcpSlaveAgentListener.hostName=master_ip` into my Jenkins as part of my Chef provisioning for Jenkins master, after putting in the correct IP address for master it seems to be working.

Cancelling this issue.

Reply all
Reply to author
Forward
0 new messages