[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2016-06-11 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/jenkins/c718516adfddeb10cbf616ce37c619cc6bbafd53 Log: Update remoting to 2.60 (#2403) 
Changes summary: 
Fixed issues: 
 

JENKINS-22722(https://issues.jenkins-ci.org/browse/JENKINS-22722) - Make the channel reader tolerant against Socket timeouts.  (https://github.com/jenkinsci/remoting/pull/80)
 



JENKINS-32326
(https://issues.jenkins-ci.org/browse/JENKINS-32326) - Support no_proxy environment variable.  (https://github.com/jenkinsci/remoting/pull/84)
 

JENKINS-35190(https://issues.jenkins-ci.org/browse/JENKINS-35190) - Do not invoke PingFailureAnalyzer for agent=>master ping failures.  (https://github.com/jenkinsci/remoting/pull/85)
 

JENKINS-31256(https://issues.jenkins-ci.org/browse/JENKINS-31256) - hudson.Remoting.Engine#waitForServerToBack now uses credentials for connection.  (https://github.com/jenkinsci/remoting/pull/87)
 

JENKINS-35494(https://issues.jenkins-ci.org/browse/JENKINS-35494) - Fix issues in file management in hudson.remoting.Launcher (main executable class).  (https://github.com/jenkinsci/remoting/pull/88)
 
 
Enhancements: 
 

Ensure a message is logged if remoting fails to override the default ClassFilter. (https://github.com/jenkinsci/remoting/pull/80)
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 

[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2016-06-10 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: pom.xml http://jenkins-ci.org/commit/jenkins/d9f12b0e614d9598221c571001aa43c018b21e25 Log: Update remoting to 2.60 
Changes summary: 
Fixed issues: 
 

JENKINS-22722(https://issues.jenkins-ci.org/browse/JENKINS-22722) - Make the channel reader tolerant against Socket timeouts.  (https://github.com/jenkinsci/remoting/pull/80)
 



JENKINS-32326
(https://issues.jenkins-ci.org/browse/JENKINS-32326) - Support no_proxy environment variable.  (https://github.com/jenkinsci/remoting/pull/84)
 

JENKINS-35190(https://issues.jenkins-ci.org/browse/JENKINS-35190) - Do not invoke PingFailureAnalyzer for agent=>master ping failures.  (https://github.com/jenkinsci/remoting/pull/85)
 

JENKINS-31256(https://issues.jenkins-ci.org/browse/JENKINS-31256) - hudson.Remoting.Engine#waitForServerToBack now uses credentials for connection.  (https://github.com/jenkinsci/remoting/pull/87)
 

JENKINS-35494(https://issues.jenkins-ci.org/browse/JENKINS-35494) - Fix issues in file management in hudson.remoting.Launcher (main executable class).  (https://github.com/jenkinsci/remoting/pull/88)
 
 
Enhancements: 
 

Ensure a message is logged if remoting fails to override the default ClassFilter. (https://github.com/jenkinsci/remoting/pull/80)
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 

[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2016-06-09 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/Engine.java src/main/java/hudson/remoting/Util.java http://jenkins-ci.org/commit/remoting/2d8e969ef9c218af437740d6047f4873bba959f8 Log: Revert "JENKINS-31256 Use credentials in waitForServerToBack (#87)" 
This reverts commit fbb9aff7cf0f9acbba6e97c923efd640b5537c90. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2016-06-09 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Tim Pambor Path: src/main/java/hudson/remoting/Engine.java src/main/java/hudson/remoting/Util.java http://jenkins-ci.org/commit/remoting/362cfb28e6073965e9146fca3875de39baf6d55e Log: JENKINS-31256 Reintegrated https://github.com/jenkinsci/remoting/pull/87 and https://github.com/jenkinsci/remoting/pull/67 with proper author 
Compare: https://github.com/jenkinsci/remoting/compare/fbb9aff7cf0f...362cfb28e607 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2016-06-09 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/Engine.java src/main/java/hudson/remoting/Util.java http://jenkins-ci.org/commit/remoting/fbb9aff7cf0f9acbba6e97c923efd640b5537c90 Log: JENKINS-31256 Use credentials in waitForServerToBack (#87) 
 

JENKINS-31256 Use credentials in waitForServerToBack This address three regressions introduced with HUDSON-4071, 662b0f and JENKINS-6167 as these only modified run() resulting in no proxy and no authorization support in waitForServerToBack()
 
 
 

Move authorization code to openURLConnection()
 
 
 

Factored out sslSocketFactory creation and use sslSocketFactory also in waitForServerToBack()
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2015-12-29 Thread db...@cloudbees.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Daniel Beck commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
This only applies to setups that don't implement the 'contract' that unprotected root actions need to be accessible without authentication, right? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2015-12-19 Thread t...@pambor.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tim Pambor assigned an issue to Tim Pambor 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31256 
 
 
 
  hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 

Change By:
 
 Tim Pambor 
 
 
 

Assignee:
 
 Tim Pambor 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2015-12-19 Thread t...@pambor.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tim Pambor started work on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Tim Pambor 
 
 
 

Status:
 
 Open In Progress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2015-12-19 Thread t...@pambor.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Tim Pambor commented on  JENKINS-31256 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 
 
I submitted a pull request for this bug. https://github.com/jenkinsci/remoting/pull/67 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-31256) hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection

2015-10-29 Thread jarm...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jarmo Pertman created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-31256 
 
 
 
  hudson.Remoting.Engine#waitForServerToBack does not use credentials for connection  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 core, remoting 
 
 
 

Created:
 

 29/Oct/15 12:29 PM 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Jarmo Pertman 
 
 
 
 
 
 
 
 
 
 
We have a jenkins instance running behind Apache web server, which forces basic authentication for accessing Jenkins. 
When using jnlp from a slave machine, then it works initially, because it uses provided basic authentication credentials. However at some point it stops working and in jenkins-slave.err.log this line is printed over and over again: Oct 29, 2015 12:38:23 PM hudson.remoting.Engine waitForServerToBack INFO: Master isn't ready to talk to us. Will retry again: response code=401 
Looking at the Engine#waitForServerToBack (https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/Engine.java#L365) code, I can see that it does not provide credentials to path /tcpSlaveAgentListener. 
Although there's a comment at #run method (https://github.com/jenkinsci/remoting/blob/master/src/main/java/hudson/remoting/Engine.java#L185): // TODO /tcpSlaveAgentListener is unprotected so why do we need to pass any credentials? 
Reading this, It seems that Engine assumes that Jenkins is never placed behind firewalls and served directly to the public, which is not always the case, especially when Jenkins slaves are involved - they might be outside of Jenkins own network, thus firewalls/proxies