We have a osx server configured with SSL cert and enabled Xcode. Everything worked fine before updating OSX Server to 3.2.1 and Xcode 6.0.1.
The problem we have is that
I had this same problem on two different Xcode Server installations.
On the first installation, the Xcode Server was behind a firewall/proxy. So port 20343 could simply not be reached. I fixed that by proxying https://externalname.com:20343 to https://internal.ip.address.here:20343
This is the nginx config that I used for that:
server {
listen 20343;
server_name xcode.foo.com;
access_log /var/log/nginx/xcode.access.log;
error_log /var/log/nginx/xcode.error.log;
ssl on;
ssl_certificate /root/foo_com/foo_com.crt;
ssl_certificate_key /root/foo_com/foo_com.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TlSv1.2;
ssl_ciphers ALL:!ADH:!aNULL:!PSK:!MD5:!AES:!EXPORT:+HIGH:!MEDIUM:!LOW:!SSLv2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:syncserver:4m;
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_read_timeout 120;
proxy_connect_timeout 10;
proxy_pass https://192.168.0.8:20343;
}
}
On a second install, where my Xcode server was on a fully public IP, the problem was actually different: for some reason my device did not correctly accept the root certificate that Xcode Server uses for the Node.js server that runs on port 20343.
You can find my solution for that case here: Xcode bot install link request time out