|
|
|
[
Permlink
| « Hide
]
Pankaj [07/Mar/08 04:49 PM]
I have tried using the iP address based URL using -dashboardurl with no impact....
I'm still a CC newbie, so hopefully this info is useful...
I just upgraded to 2.7.2rc1 on a test box and am also seeing these errors in my log... I am also seeing that the dashboard doesn't update at all (i.e. no status when a build starts or is in progress). 2008-04-01 11:21:20,792 [Timer-1 ] WARN BuildLoopStatusReportTask - Failed to reach dashboard instance : http://localhost:80/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem. Out of curiousity, I loaded up the URL (http://localhost:80/dashboard/buildloop/listener) in my browser and get this error: HTTP ERROR: 500 Request method 'GET' not supported RequestURI=/dashboard/buildloop/listener Powered by Jetty:// This might be expected since the browser uses GET where the dashboard might use POST (?). Pete Ok, I have this narrowed it down and can reproduce it always...
If a <project> does not contain a <modificationset>, it will not update the dashboard (with "Failed to reach dashboard instance" messages in cruisecontrol.log). I have verified this on 2.7.2rc1 and the 2.7.2 that was released this morning. (Notice that in Pankaj's original config, the <modificationset> is commented out). I ran into the bug because I have some builds set to build nightly, whether anything has changed or not (no <modificationset>). Now that I look at the docs, <modificationset> is required, so I guess I deserve to run into this! :) With that said, I think 2.7.1 worked fine without, so maybe others will notice this issue when they upgrade. I'm curious if setting requireModification="false" on the <project> tag will also fix it, but I'm using project templates and I'm not quite sure where to set it yet :) Thanks, Pete I can confirm what Peter has discovered about modificationset being required.
Having requireModification="false" set on the project does not fix the problem. A big problem here is that Cruisecontrol is inconsistent in enforcing config syntax. I can kick-off a cruisecontrol process without have specified any <modificationset> in my configfile (though I set the requireModifications attribute in the <project> element to false). The dashboard listener doesn't seem to play nice with this. There are really two choices here: 1. Enforce a strict requirement on having every project require a <modificationset> child. If they do not, Cruisecontrol will end and display an error about the lack of a <modificationset> 2. Fix the dashboard listener so that it does not require the user to have a <modificationset> element. I have the same problem with the same msg: Failed to reach dashboard instance : http://localhost:80/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem. Even though, I have <modificationset> element in my config file.
I've seen this same issue on a windows server running CC2.7.2. Seems that something might be deadlocking... In my situation I see the build freeze (seemingly between steps), then the dashboard becomes unresponsive and throws this error every time someone tries to hit the URL.
Update on my situation. It seems it was caused by a mistake in my configuration. I was merging too many log files, and when it grew over 20M, it was taking up all the processor time...
Now I have log files under a megabyte, everything seems to be working fine. 1. If you want build triggered by time/schedule, then in <modificationset> pls set <alwaysbuild>.
2. If you want build triggered by force only, then in <project> pls set attr 'forceOnly', without <modificationset> block. In these ways, dashboard works. Hope it help:-) Helo
Any update on this issue please. I am facing this problem and it freezes the build Thanks -Venkat I can second this solution: adding a modificationset (even a pretty dumb one) to the project in config.xml makes the error "WARN BuildLoopStatusReportTask - Failed to reach dashboard instance : http://localhost:8080/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem." go away. Dashboard functions properly.
Silly bug in ProjectConfig, now fixed.
For the record, the <modificationset> element has been optional since CC 2.4! I was also getting the warning:
Failed to reach dashboard instance : http://localhost:8080/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem. in version 2.7.3. The fix for me required increasing the connectionTimeout value in Tomcat's catalina-base/conf/server.xml. It was 5 seconds, so we now use 20 seconds: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> I am getting this issue in 2.8.2 still. I fixed it in my previous version by adding the modificationset but its back in 2.8.2. I also do not get any build output at all.
Reading the mail archives, it seems to be a jetty timeout bug but I do not have the luxury of being able to change the source code to fix it, nor do I know if I can programatically set this. I get this error on 2.8.2 too.
I made the following changes to the 'cruisecontrol.bat' file From: -webport 8080 -rmiport 1099 To: -webport 8888 -rmiport 1999 and started CruiseControl executing the batch file. I then see the below mentioned exception: "Failed to reach dashboard instance : http://localhost:8080/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem. " I am using version 2.8.3. I started getting this error when I specified the url attribute of the <dashboard> tag in config.xml. When I removed the url attribute, the problem went away.
Hi All,
I am using version 2.8.3. and i have a modificationset tag also in the project but still i am seeing this error of atusReportTask- Failed to reach dashboard instance : http://localhost:8181/dashboard/buildloop/listener, either the dashboard has not started up or there is a network problem. Can any one explain why this issue is coming and how to solve the same. Below is the Config.xml file details Config.xml <cruisecontrol> <property name="clearcase.viewname" value="****_Repository" /> <property name="branch.name" value="^^^^_1.1_dev"/> <property name="vector.dev.dir" value="******" /> <property name="applications.dir" value="*****" /> <property name="project.periodic.components.dir" value="${applications.dir}" /> <project requiremodification="true" name="xxxxx_Integration_Build"> <listeners> <currentbuildstatuslistener file="logs/${project.name}/status.txt"/> </listeners> <bootstrappers> <antbootstrapper anthome="apache-ant-1.7.0" buildfile="${****.dev.dir}/source/BuildAll/build.xml" target="clean" /> </bootstrappers> <modificationset quietperiod="60"> <clearcase branch="${branch.name}" viewpath="${****.dev.dir}"/> <!-- <clearcase branch="${branch.name}" viewpath="${project.periodic.components.dir}"/>--> <filesystem folder="${****.dev.dir}"/> <!--<filesystem folder="${project.periodic.components.dir}"/>--> </modificationset> <schedule interval="43200"> <!--give time in ant so for executing at that perticular time..... Remove Interval ... --> <ant anthome="apache-ant-1.7.0" buildfile="${project.periodic.components.dir}/build.xml" uselogger="true"/> </schedule> <log> <merge dir="logs/${project.name}"/> </log> <publishers> <htmlemail mailhost="smtp.exchserver.com" returnaddress="*****NightlyBuild@******.com" buildresultsurl="http://ipaddress:8181/cruisecontrol/buildresults/****_Integration_Build" skipusers="true" spamwhilebroken="false" subjectprefix="CruseControl::*****::NightlyBuild::" failasimportant="true"> <always address="********@********.com"/> </htmlemail> </publishers> </project> <cruisecontrol> and dashboard-config.xml <dashboard> <buildloop logsdir="*****" artifactsdir="*****" /> <features allowforcebuild="true"/> <subtabs> <subtab class="net.sourceforge.cruisecontrol.dashboard.widgets.ErrorsAndWarningsMessagesWidget" /> </subtabs> </dashboard> Can you please help me out in finding out the right cause of the problem Thanks & Regards, VedK Sorry I forgot to tell about the environment i am running this on Solaris BOX
Thanks & Regards, VedK | |||||||||||||||||||||||||||||||||||||||||||||||||||||