Closed GoogleCodeExporter closed 9 years ago
I need some help reproducing. When the network goes down for me, as expected I
get a *tray notification* that says the server is temporarily unavailable.
When the network comes back up it reconnects. Can you please provide a stack
trace and any other relevant data from the logs?
http://sirenofshame.blogspot.com/2012/01/how-to-report-errors.html
Original comment by lpric...@gmail.com
on 4 Mar 2012 at 1:55
It seems to happen when jenkins application reboots (reload configuration) and
SoS tries to check the Job-states.
Stack:
SirenOfShame.Lib.Exceptions.SosException: Error connecting to server with the
following url: http://<SERVER-IP>:8080/job/<JOBNAME>/api/xml
<html><head><title>Apache Tomcat/6.0.33 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:22px;} H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-s
ize:14px;} BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px
;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 - </h1><HR size="1" noshade="noshade"><p>type
Status report</p><p>message <u></u></p><p>description <u>The requested resource
() is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.33</h3></body></html> ---> System.Net.WebException: The remote
server returned an error: (404) Not Found.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at HudsonServices.HudsonService.DownloadXml(String url, String userName, String password)
--- End of inner exception stack trace ---
at HudsonServices.HudsonService.DownloadXml(String url, String userName, String password)
at HudsonServices.HudsonService.GetBuildStatus(String rootUrl, BuildDefinitionSetting buildDefinitionSetting, String userName, String password)
at HudsonServices.HudsonService.<>c__DisplayClass7.<GetBuildsStatuses>b__6(BuildDefinitionSetting buildDefinitionSetting)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.ParallelEnumerable.ToList[TSource](ParallelQuery`1 source)
at HudsonServices.HudsonService.GetBuildsStatuses(String rootUrl, String userName, String password, BuildDefinitionSetting[] watchedBuildDefinitions)
at HudsonServices.HudsonWatcher.GetBuildStatus()
at SirenOfShame.Lib.Watcher.WatcherBase.GetBuildStatusAndFireEvents()
at SirenOfShame.Lib.Watcher.WatcherBase.StartWatching()
Original comment by BrainBug...@gmail.com
on 6 Mar 2012 at 1:46
Thanks so much for taking the time to track down the stack trace. I couldn't
reproduce, but I think I've added the code to fix. Can you please uninstall
using add/remove programs and then install the latest daily build here:
http://sirenofshame.com/setup/SirenOfShame-1-5-3.msi
And then confirm it worked?
Original comment by lpric...@gmail.com
on 9 May 2012 at 9:16
maybe it's because we use tomcat as webserver and not the builtin winstone
server?
Nevertheless, i installed your 1.5.3 version on my pc and restartet
jenkins....and now it works! No PopUp window, message was shown in status bar,
jobstatus changed to "warning". As soon the server was up again, my jobstatus
were updated to "green".
To be sure I had also a 1.5.0 version running on an other pc and there the
error came up again.
Thanks!
Original comment by BrainBug...@gmail.com
on 10 May 2012 at 4:39
Yayy!!
Original comment by lpric...@gmail.com
on 10 May 2012 at 8:22
Original issue reported on code.google.com by
BrainBug...@gmail.com
on 1 Mar 2012 at 7:40