Unable to delete branch in Stash

Hi,

I want to delete a branch in stash but i get the error "Server didn't respond". i had a look in the error logs where it says:

"DELETE /rest/branch-utils/XXXXXXXXXXXXXXXXXXXX/branches HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call
java.io.IOException: Socket read failed
        at org.apache.coyote.ajp.AjpProcessor.read(AjpProcessor.java:313) [tomcat-coyote.jar:7.0.42]

The branch was created with stash function "create branch from here"

Server is using Git 1.7.10.4, I tried with Stash 2.11.2 and 2.12 after update - no luck.

I am using a custom installation-setup. (not the bundeled tomcat, wrapper and jre)

Any Ideas?

1 answer

0 vote

Is there anything useful in the Stash logs (STASH_HOME/log/atlassian-stash.log)?

Perhaps you're not setting the Content-type: application/json HTTP header in the request or you're not providing a body?

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

710 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot