Re: Failed to reach dashboard instance with CC 2.8.2
Hung Huynh <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Looked at the code. The socket timeout was set to 3s, kinda slow for a busy box. I've inceased it to 10s so it's smoother now, less warnings.
### Eclipse Workspace Patch 1.0
#P CruiseControl
Index: src/net/sourceforge/cruisecontrol/report/BuildLoopStatusReportTask.java
===================================================================
--- src/net/sourceforge/cruisecontrol/report/BuildLoopStatusReportTask.java (revision 4322)
+++ src/net/sourceforge/cruisecontrol/report/BuildLoopStatusReportTask.java (working copy)
@@ -60,7 +60,7 @@
private String response;
public BuildLoopStatusReportTask(BuildLoopInformationBuilder builder, String url) {
- this(builder, url, new HttpClient(), 3000);
+ this(builder, url, new HttpClient(), 10000);
}
public BuildLoopStatusReportTask(BuildLoopInformationBuilder builder, String url, HttpClient http,
--- On Tue, 4/7/09, Hung Huynh <[email protected]> wrote:
From: Hung Huynh <[email protected]>
Subject: Re: [Cruisecontrol-user] Failed to reach dashboard instance with CC 2.8.2
To: [email protected]
Date: Tuesday, April 7, 2009, 10:14 AM
Is there a way to turn this off? The cruisecontrol log has pages of this exception.
--- On Tue, 3/31/09, Hung Huynh <[email protected]> wrote:
From: Hung Huynh <[email protected]>
Subject: Re: [Cruisecontrol-user] Failed to reach dashboard instance with CC 2.8.2
To: [email protected]
Date: Tuesday, March 31, 2009, 11:41 PM
Everything seems to work normally. The dashboard works fine. My tests
running fine.
It's just odd that I see this with 2.8.2 more often (almost always) compared CC 2.7.2. Below is the stacktrace. Could it be the CPU is too busy with running tests so the background socket timeout?
What is it trying to do anyway?
2009-03-31 23:16:18,749 [Timer-6 ] 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.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at
java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
at net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:90)
at
net.sourceforge.cruisecontrol.report.BuildLoopStatusReportTask.run(BuildLoopStatusReportTask.java:75)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--- On Tue, 3/31/09, Jeffrey Fredrick <[email protected]> wrote:
From: Jeffrey Fredrick <[email protected]>
Subject: Re: [Cruisecontrol-user] Failed to reach dashboard instance with CC 2.8.2
To: [email protected]
Date: Tuesday, March 31, 2009, 10:09 PM
So that would be a different issue then. CC-766 was a bug where not having a modificationset would cause this error message.
Does the dashboard otherwise work? No stack
traces?
Jtf
On Tue, Mar 31, 2009 at 5:56 PM, Hung Huynh <[email protected]> wrote:
I'm using the binary distribution and I do have <modificationset> in config.xml
<bootstrappers>
<svnbootstrapper file='svnupdate.rb'/>
<currentbuildstatusbootstrapper file='buildstatus.txt'/>
</bootstrappers>
<modificationset>
<svn checkExternals='true' repositoryLocation='xxxx'/>
<alwaysbuild/>
</modificationset>
Hung
--- On
Tue, 3/31/09, Jeffrey Fredrick <[email protected]> wrote:
From: Jeffrey Fredrick <[email protected]>
Subject: Re: [Cruisecontrol-user] Failed to reach dashboard instance with CC 2.8.2
To: [email protected]
Date: Tuesday, March 31, 2009, 3:52 PM
Do you have the same circumstances? Are you using a project without a modification set?
And are you using the binary distribution or the source distribution?
Jtf
On Tue, Mar 31, 2009 at 2:53 AM, Hung Huynh <[email protected]> wrote:
Hi all,
I've just upgraded to 2.8.2 from 2.7.2, using the same config.xml as I did for 2.7.2, I got a lot of these in cruisecontrol.log
2009-03-31 02:41:48,410 [Timer-6 ] 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.java.net.SocketTimeoutException: Read timed out
Jira shows this to be an old problem that was fixed http://jira.public.thoughtworks.org/browse/CC-766
I'm not sure why I'm still seeing it?
Hung-
--
Build engineering training: http://ci-guys.com/training.php
------------------------------------------------------------------------------
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user