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?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhOafUOFkHo5DJNw655WNLAa%3DHWO5zvQuLMMtf1Zy1fbZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to