Java 当奴隶试图联系詹金斯时,詹金斯返回403禁区

Java 当奴隶试图联系詹金斯时,詹金斯返回403禁区,java,ubuntu,jenkins,Java,Ubuntu,Jenkins,我在Ubuntu上安装了jenkins,当我尝试运行代理来创建节点时,我得到一个IOException: Failing to obtain http://<Master IP>:8090/computer/<Slave IP>/slave-agent.jnlp java.io.IOException: Failed to load http://<Master IP>:8090/computer/<Slave IP>/slave-agent.jn

我在Ubuntu上安装了jenkins,当我尝试运行代理来创建节点时,我得到一个IOException:

Failing to obtain http://<Master IP>:8090/computer/<Slave IP>/slave-agent.jnlp
java.io.IOException: Failed to load http://<Master IP>:8090/computer/<Slave IP>/slave-agent.jnlp: 403 Forbidden
        at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:499)
        at hudson.remoting.Launcher.run(Launcher.java:325)
        at hudson.remoting.Launcher.main(Launcher.java:283)
无法获取http://:8090/computer//slave-agent.jnlp
java.io.IOException:未能加载http://:8090/computer//slave-agent.jnlp:403禁止
位于hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:499)
运行(Launcher.java:325)
位于hudson.remoting.Launcher.main(Launcher.java:283)

据我所知,iptables没有启动,我也找不到它背后的原因。

使用此选项:-jnlpcresidences USER:PASSWORD


用户是您的Jenkins用户ID

使用此选项:-JNLPCresidences用户:密码


用户是您的Jenkins用户ID

此线程是否可以帮助您:已尝试。没有帮助,谢谢。这个帖子能帮你吗:试过了。没有帮助,谢谢。密码-可能是Jenkins用户的密码,也可能是用户的“API令牌”,可以在其Jenkins帐户的“配置”页面下为每个用户生成。密码-可能是Jenkins用户的密码,也可能是用户的“API令牌”可以在Jenkins帐户的“配置”页面下为每个用户生成。