Kristian
unread,Apr 11, 2017, 10:01:19 AM4/11/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hi,
I have this problem: I want to add a Windows slave on a master
Jenkins. The master is within an internal network (192.168.X.X). The
new Windows slave is a Virtual Machine in Azure. But the connection is
rejected after starting a job in Jenkins, which should run on that
Virtual Machine.
1) So, the first problem was this: How the slave knows, where is the
master? This is done throught VPN with OpenVPN. So I have now a
connection from my slave to internal network.
2) To get the name resolution working, I added two entries in
C:\Windows\System32\drivers\etc with the internal IP address of the
master slave and svn server. So now I can visit the page of Jenkins
Master with it's hostname.
3) The Jenkins slave agent is launched via Java Web Start.
This is the setup so far. Now the problem: When I now start a job in
Jenkins which runs in that Virtual Machine, after about thirty
seconds, I get on the slave this error message:
> java.lang.Exception: The server rejected the connection: None of the protocols were accepted ...
So I tried to experiment a little bit: In the configuration page of
the slave, I changed the "Tunnel through:" option into ":50000" and
opened the ports on the Virtual Machine in Azure itself and in Azure
for that Virtual Machine (in and out on both sides). I got the same
error.
Then I changed the option "Tunnel through" to [slavemachine]:50000. I
got the same error.
Then I opened port 8080 on Azure and on the Slave Machine for in and
out. I got the same error.
The jenkins version is 2.46.1
Can someone give me some hints how to solve this problem?