MoreThanWYSIWYG
MoreThanWYSIWYG

Reputation: 75

CCtray unable to connect to dashboard

I am using CCnet 1.6 and cctray 1.6. On the build server, the tray works properly using localhost. Remotely though, I am not able to connect the tray to the dashboard. The dashboard URL works great, but when I put that into the cctray settings, I get a 500 internal server error.

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

Thanks, Joe

Upvotes: 6

Views: 4760

Answers (4)

Jeff LaFay
Jeff LaFay

Reputation: 13350

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

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

Then I inspected the bindings for the site that the dashboard is hosted under in IIS. The hostname for the binding was blank, so I changed it to the hostname for the site.

I noticed that the CCNet machine's event log had exceptions logged for unknown domain when I was trying to connect CCTray to it.

When I went to add a build server in CCTray on the remote machine, I selected via dashboard and it worked for me.

Upvotes: 0

luvva_luvva
luvva_luvva

Reputation: 1

Try switching off your firewall, it may be that you havn't opened your port.

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

Upvotes: 0

fiat
fiat

Reputation: 15981

Actually this is similar to a question I just asked but if you want to persist with remoting (but may not work so well over the Internet with firwalls and the like)

  1. Open your dashboard.config (likely path is C:\Program Files (x86)\CruiseControl.NET\webdashboard\dashboard.config)

  2. Find the port number your dashboard is connecting to the server on (eg: 21234)

  3. In CC Tray, select remoting and enter hostname:portnumber (eg: mycruiseserver:21234)

Upvotes: 3

The Chairman
The Chairman

Reputation: 7187

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

  • Select .NET remoting as connection type
  • Specify the CCNET server's address only by its IP address (instead of using the dashboard URL)

Upvotes: 2

Related Questions