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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 51m ago in Canada

Topic Tuesday - August 21

Hello and happy Topic Tuesday! We would love to continue to find out more about you. Here’s the question: What is one way Atlassian products have shifted the way your team works? Looking forw...

10 views 2 0
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