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

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

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
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

51 views 2 4
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you