Attempting to setup a commit hook and getting a 405 Http Method put is not supported by this URL


I'm playing around with disabling automatic timed polling to SVN and replacing with a commit hook. 

I've attempted sending a PUT to my Fisheye instance and get a 405 error.

My URL looks something like this (taken out actual server names etc)



I have set the headers X-Api-Key and the Content Type. 

Repo name I've used the repo name as set in Fisheye.




3 answers

1 accepted

1 vote
Accepted answer

Are you sure /fisheye/fecru is the correct Web Context of your instance?  Can you go to Admin / Global Settings / Server page, and check the Web context value in Web Server section?

Perhaps the valid URL would be

  • /fecru/rest-service-fecru/admin/repositories/{repoName}/incremental-index or
  • /fisheye/rest-service-fecru/admin/repositories/{repoName}/incremental-index or
  • /rest-service-fecru/admin/repositories/{repoName}/incremental-index

depending on the actual Web context value?

Basically, go to dashboard page of your instance and append /rest-service-fecru/admin/repositories/{repoName}/incremental-index to its URL.

Hope that helps,

0 votes

That seems like a valid URL of endpoint.   Can you enable debug logging (Admin / Server page) and show me the logs captured when the request was being sent to server, please?   Also, what FishEye version do you use?

Hi Piotr,


2015-11-12 21:00:40,672 DEBUG [qtp1764996806-265 ] fisheye ProfilingServletFilter-logRequest - start request PUT /fisheye/fecru/rest-service-fecru/admin/repositories/sxweb/incremental-index nosession 2015-11-12 21:00:40,672 DEBUG [qtp1764996806-265 ] fisheye ProfilingServletFilter-logRequest - end request in 0ms PUT /fisheye/fecru/rest-service-fecru/admin/repositories/sxweb/incremental-index nosession 405 mem=0.073MB 2

Here's the log.  A couple of things, I'm running a redirect to this server and have tried both the redirect and direct address's.




Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

438 views 2 5
View question

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