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
Answer accepted

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
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

387 views 1 13
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