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

Failed execute Gradle Script HTTP Status 403

Gareca Nanda April 2, 2019

Hi All,

I tried to do integration with Silk Central through gradle script and got error when executing it. This is from the log

build   02-Apr-2019 15:28:41   :silkCentralLaunch FAILED

error   02-Apr-2019 15:28:41  

error   02-Apr-2019 15:28:41   FAILURE: Build failed with an exception.

error   02-Apr-2019 15:28:41  

error   02-Apr-2019 15:28:41   * Where:

error   02-Apr-2019 15:28:41   Build file 'D:\GradleBuild\silkcentral.gradle' line: 43

error   02-Apr-2019 15:28:41  

error   02-Apr-2019 15:28:41   * What went wrong:

error   02-Apr-2019 15:28:41   Execution failed for task ':silkCentralLaunch'.

error   02-Apr-2019 15:28:41   > Failed to start execution plan '83': <!doctype html><html lang="en"><head><title>HTTP Status 403 – Forbidden</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size: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;} {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 403 – Forbidden</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Message</b> Access Denied</p><p><b>Description</b> The server understood the request but refuses to authorize it.</p><hr class="line" /><h3>Apache Tomcat/9.0.8</h3></body></html>

I confirmed that the execution plan is exist and the Bamboo has access to Silk Central server.

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 3, 2019

Hi @Gareca Nanda

I don't use silkCentral, but I want to share my 2 cents on this error with you.

It looks like this issue is not really related to Bamboo.
I can see that the Gradle build is failing in line 43 which is probably when you are trying to call silkCentral. 

Can you try running this build from your Bamboo Server terminal (in other words not using Bamboo, but in the same environment) to check if this issue persists?

If it still does, I would recommend you seeking for help on which is the support for silkCentral.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events