Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Anyone know why I'm getting a 404 error when Visual Studio connector loads Bamboo build logs?

Matt Summers December 3, 2013

I've install the Visual Studio connector and it all works great, apart from one thing. When I open up the results of a Bamboo build, it shows that it failed to load the build logs from the server, and this is caused by a 404 (not found).

Any ideas?

Here's the full exception:

The remote server returned an error: (404) Not Found.

System.Net.WebException

   at System.Net.HttpWebRequest.GetResponse()
   at Atlassian.plvs.api.bamboo.rest.RestSession.getQueryResultStream(String endpoint, Boolean setBasicAuth)
   at Atlassian.plvs.api.bamboo.rest.RestSession.getBuildLog(String logUrl)
   at Atlassian.plvs.api.bamboo.BambooServerFacade.<>c__DisplayClass1c.<getBuildLog>b__1b()
   at Atlassian.plvs.api.bamboo.BambooServerFacade.wrapExceptions[T](RestSession session, Wrapped`1 wrapped)
   at Atlassian.plvs.api.bamboo.BambooServerFacade.getBuildLog(BambooServer server, String logUrl)
   at Atlassian.plvs.ui.bamboo.BuildDetailsPanel.getLogRunner()

1 answer

0 votes
Michael Haas January 30, 2014

Hi everyone!

The same exception is shown on my local test setup as well.

Environment:

* Windows 7 64-bit

* Kaspersky Endpoint Security 8

* Bamboo version 5.3 build 4101

* Other tomcat instances are running but on different ports

* Bamboo ports are 7007 (shutdown) and 7085 (connector)

The file is available in .../xml-data/builds/[JOB]-[JOB]-JOB1/download-data/build-logs/

Should it be somewhere else? Would it help to create a script task in the build job to copy the log file anywhere else?

Or are there any other solutions or workarounds already?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events