[JIRA] (JENKINS-51350) Problems with the Jenkins slave agent

41 views
Skip to first unread message

dynomitecentral@outlook.com (JIRA)

unread,
May 15, 2018, 5:42:02 PM5/15/18
to jenkinsc...@googlegroups.com
Brady Dalbec created an issue
 
Jenkins / Bug JENKINS-51350
Problems with the Jenkins slave agent
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2018-05-15 21:41
Environment: Jenkins ver. 2.122
Priority: Minor Minor
Reporter: Brady Dalbec

I keep getting this error when trying to run the Jenkins slave agent on linux:

 

java.io.IOException: Failed to load http://address:8080/computer/pc-name/slave-agent.jnlp?encrypt=true: 403 Forbidden
 at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:496)
 at hudson.remoting.Launcher.run(Launcher.java:322)
 at hudson.remoting.Launcher.main(Launcher.java:283)
Waiting 10 seconds before retry

 

And here is the command I run:

java -jar agent.jar -jnlpUrl http://address:8080/computer/ARMHF-Builder%20RPI3B/slave-agent.jnlp -secret <secret> -workDir "/home/jenkins"

 

I have tried also the -jnlpCredentials argument and I do not want to enable anonymous access (as this is a public build server) to create or connect to Jenkins slaves. Any way to fix this at all?

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
May 16, 2018, 3:03:02 AM5/16/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: remoting

o.v.nenashev@gmail.com (JIRA)

unread,
May 16, 2018, 3:04:02 AM5/16/18
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Jeff Thompson
Change By: Oleg Nenashev
Assignee: Jeff Thompson

dynomitecentral@outlook.com (JIRA)

unread,
May 16, 2018, 5:24:02 PM5/16/18
to jenkinsc...@googlegroups.com
Brady Dalbec updated an issue
Change By: Brady Dalbec
Attachment: Screenshot at May 16 14-23-07.png

dynomitecentral@outlook.com (JIRA)

unread,
May 16, 2018, 5:25:02 PM5/16/18
to jenkinsc...@googlegroups.com
Brady Dalbec commented on Bug JENKINS-51350
 
Re: Problems with the Jenkins slave agent

Ok, figured out what is going on. I have my domain under Cloudflare, and Cloudflare keeps blocking my requests from the agent. I disabled the CDN in my DNS settings and everything is working fine. As a point of reference for those who also use Cloudflare, make sure to have the cloud icon gray on the DNS record that points to jenkins.

 

jthompson@cloudbees.com (JIRA)

unread,
May 16, 2018, 6:56:02 PM5/16/18
to jenkinsc...@googlegroups.com

Can we close and resolve this, then?

dynomitecentral@outlook.com (JIRA)

unread,
May 16, 2018, 7:18:02 PM5/16/18
to jenkinsc...@googlegroups.com

jthompson@cloudbees.com (JIRA)

unread,
May 16, 2018, 7:21:02 PM5/16/18
to jenkinsc...@googlegroups.com
Jeff Thompson resolved as Not A Defect
 
Change By: Jeff Thompson
Status: Open Resolved
Resolution: Not A Defect

jthompson@cloudbees.com (JIRA)

unread,
May 16, 2018, 7:21:02 PM5/16/18
to jenkinsc...@googlegroups.com
Jeff Thompson closed an issue as Not A Defect
Change By: Jeff Thompson
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages