CCtray cannot connect to control panel

I am using CCnet 1.6 and cctray 1.6. On the build server, the tray works correctly using localhost. However, remotely, I cannot connect the tray to the dashboard. The dashboard url works fine, but when I put this in cctray settings, I get an internal server 500 error.

This worked until I had to move CCnet from defaultwebsite to my own. Did I miss something when I changed it?

Thanks Joe

+6
source share
4 answers

Actually, it looks like the question I just asked , but if you want to persist in removal (but it may not work so well through the Internet with firn, etc.)

  • Open your dashboard.config (the probable path is C: \ Program Files (x86) \ CruiseControl.NET \ webdashboard \ dashboard.config)

  • Find the port number on which your dashboard connects to the server (for example: 21234)

  • In CC Tray, select remote access and enter the host name: port number (for example: mycruiseserver: 21234)

+2
source

Assuming the CCNET server is part of your local network, this should work:

  • Choose .NET remoting as the connection type
  • Specify the CCNET server address only by its IP address (instead of the URL of the control panel)
+1
source

Try disabling the firewall, you may not have opened your port.

Then use the buildserver:port method (remotely via .NET ).

0
source

I just fixed my problem (v1.8.3 for my installation).

I set the name attribute in the <server /> in dashboard.config to match the host name. I'm not sure if this is required, but this is the first thing I tried.

Then I checked the bindings for the site hosting the dashboard in IIS. The host name for the binding was empty, so I changed it to the host name for the site.

I noticed that the CCNet machine event log had exceptions logged in an unknown domain when I tried to connect CCTray to it.

When I went to add the build server to CCTray on the remote computer, I selected it using the control panel, and it worked for me.

0
source

Source: https://habr.com/ru/post/909453/


All Articles