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
  • #6438

Closed
Open
Created Feb 27, 2014 by Administrator@rootOwner

6.6.1 webhooks not working

Created by: GunfighterJ

Summary: Using Gitlab 6.6.1, webhooks are generating a 400 bad request error. They are posting to a PHP page that dumps headers and raw POST body to a file. Nothing is dumped as the script isn't executed.

Steps to reproduce: Create a repository and add a webhook. Check nginx/apache access logs to show a 400 bad request error.

Expected behaviour: Web page pushed to should be accessed appropriately and any script on that page executed.

Observed behaviour: 400 error, script (php) isn't executed.

Relevant logs: Here is the complete result from nginx's access.log xxx.xx.xx.xxx - - [27/Feb/2014:18:15:02 -0500] "-" 400 0 "-" "-"

Output check

Checking Environment ...

Git configured for git user? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.9 ? ... OK (1.8.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
REDACTED / REDACTED ... ok
REDACTED / REDACTED ... ok
REDACTED / REDACTED ... ok
REDACTED / REDACTED ... ok
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
        /home/git/repositories: OK
        /home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.4.14
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP users with access to your GitLab server (only showing the first 100 results)
DN: uid=REDACTED,ou=People,dc=REDACTED,dc=me    uid: ["REDACTED"]
DN: uid=REDACTED,ou=People,dc=REDACTED,dc=me     uid: ["REDACTED"]
DN: uid=REDACTED,ou=People,dc=REDACTED,dc=me     uid: ["REDACTED"]
DN: uid=REDACTED,ou=People,dc=REDACTED,dc=me    uid: ["REDACTED"]

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
REDACTED / REDACTED ... yes
REDACTED / REDACTED ... yes
REDACTED / REDACTED ... yes
REDACTED / REDACTED ... yes
REDACTED / REDACTED ... yes
REDACTED / REDACTED ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)

Checking GitLab ... Finished

Version: 6.6.1 Last commit sha1: 49464515 Relevent env info:

System information
System:         Debian 7
Current User:   git
Using RVM:      no
Ruby Version:   2.0.0p247
Gem Version:    2.0.3
Bundler Version:1.3.5
Rake Version:   10.1.1

GitLab information
Version:        6.6.1
Revision:       4946451
Assignee
Assign to
Time tracking