swarm client 3.4 encounters 403 obtaining jnlp while 2.0 connects

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: swarm-plugin
    • None
    • Environment:
      Jenkkins 2.73.1 LTS, Swarm plugin 3.4, Swarm client 3.4

      Hello there! We are trying to upgrade our Swarm stack, but noticing that swarm-client-3.4.jar can't connect: 

       

      SEVERE: Could not obtain CSRF crumb. Response code: 404
      Failing to obtain http://example:8080/computer/nodename/slave-agent.jnlp
      java.io.IOException: Failed to load http://example:8080/computer/nodename/slave-agent.jnlp: 403 Forbidden
      

      However, if I just run swarm-client-2.0-jar-with-dependencies.jar with the same arguments, it connects. So it clearly isn't a master security/auth issue, it's just an issue with the 3.4 swarm client. This is blocking us from upgrading so would be awesome to figure out what's up!

       

            Assignee:
            Unassigned
            Reporter:
            mcrooney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: