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

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 vote

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 Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

503 views 6 8
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