Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22657

Unable To Upload To HockeyApp Through Proxy

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: hockeyapp-plugin
    • Labels:
      None
    • Environment:
      OS X (10.8.5), Latest build of Jenkins
    • Similar Issues:

      Description

      When I try to upload to HockeyApp I receive the following:

      Uploading to HockeyApp...
      /Users/Shared/Jenkins/Home/workspace/test/test.ipa
      java.net.UnknownHostException: rink.hockeyapp.net
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:333)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
      at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:169)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714)
      at hudson.model.Build$BuildExecution.post2(Build.java:182)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663)
      at hudson.model.Run.execute(Run.java:1725)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Build step 'Upload to HockeyApp' marked build as failure
      Finished: FAILURE

      I just switched over from TestFlight (and using the TestFlight plugin) and everything was working with those components. Have I missed something?

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Lukasz Milewski
          Path:
          src/main/java/hockeyapp/HockeyappRecorder.java
          http://jenkins-ci.org/commit/hockeyapp-plugin/5ce1237175c9cae8d33dc51e3545c0ad22dcef93
          Log:
          Fixed proxy issue. JENKINS-22657

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Lukasz Milewski Path: src/main/java/hockeyapp/HockeyappRecorder.java http://jenkins-ci.org/commit/hockeyapp-plugin/5ce1237175c9cae8d33dc51e3545c0ad22dcef93 Log: Fixed proxy issue. JENKINS-22657
          Hide
          ohoeltke Oliver H added a comment -

          Should be fixed with version 1.1.0

          Show
          ohoeltke Oliver H added a comment - Should be fixed with version 1.1.0
          Hide
          ml_extern Martin Lederer added a comment -

          Hi!
          This item is only partially resolved, as the proxy-settings in the latest Jenkins-LTS version are respected, BUT the proxy-exceptions (e.g. localhost) are not.

          The reason for this being, that the proxy-exceptions are never even touched by the plugin:
          See HockeyApps HttpClient Creation

          Compared to how Jenkins itself handles the (proxy) connections:
          See ProxyConfiguration in JenkinsCode

          This ought to be resolved.
          Thank you!
          (I can do it, if you want...?)

          Show
          ml_extern Martin Lederer added a comment - Hi! This item is only partially resolved, as the proxy-settings in the latest Jenkins-LTS version are respected, BUT the proxy-exceptions (e.g. localhost) are not. The reason for this being, that the proxy-exceptions are never even touched by the plugin: See HockeyApps HttpClient Creation Compared to how Jenkins itself handles the (proxy) connections: See ProxyConfiguration in JenkinsCode This ought to be resolved. Thank you! (I can do it, if you want...?)
          Hide
          brantone Brantone added a comment -

          Yes, please, if a pull requested can be submitted, that'd be appreciated.
          Thank you.

          Show
          brantone Brantone added a comment - Yes, please, if a pull requested can be submitted, that'd be appreciated. Thank you.
          Hide
          tbores Thomas Bores added a comment - - edited

          I would be very interested by a solution to this issue, it currently blocks our jenkins to deploy to HockeyApp.

          Show
          tbores Thomas Bores added a comment - - edited I would be very interested by a solution to this issue, it currently blocks our jenkins to deploy to HockeyApp.
          Hide
          mezpahlan Mez Pahlan added a comment -

          Fixed with PR42.

          Show
          mezpahlan Mez Pahlan added a comment - Fixed with PR42 .

            People

            • Assignee:
              Unassigned
              Reporter:
              skorzeli Steve
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: