Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6552

Closed
Open
Created Mar 18, 2014 by Administrator@rootOwner

Webhook not firing, http 500 error (using 'Test Hook' from project)

Created by: mdk999

I've created a webhook in my project (a push hook). when I click on the 'Test Hook' link nothing happens. Tracing it down it tries to load a url 'hooks/2/test' which gives a http 500 error. Below are the system and gitlab specs along with an error from the log file.

System: Ubuntu 13.10 (GNU/Linux 3.11.0-18-generic x86_64)

Gitlab: GitLab 6.6.5

GitLab Shell 1.8.0

GitLab API v3

Ruby 2.0.0p247

Rails 4.0.3

This is the error from the log

Started GET "/jenkins/jenkins-test/hooks/2/test" for 127.0.0.1 at 2014-03-18 11:39:10 -0700 Processing by Projects::HooksController#test as HTML Parameters: {"project_id"=>"jenkins/jenkins-test", "id"=>"2"} Redirected to Completed 500 Internal Server Error in 240ms ActionController::RedirectBackError (No HTTP_REFERER was set in the request to this action, so redirect_to :back could not be called successfully. If this is a test, make sure to specify request.env["HTTP_REFERER"].): app/controllers/projects/hooks_controller.rb:29:in test' app/controllers/application_controller.rb:57:inset_current_user_for_thread'

Assignee
Assign to
Time tracking