Hello,
I have a new gitea installation, and everything seems fine excepts that webhooks don’t seem to work.
For context it’s a Docker installation on arm64, something like a raspberry pi. Also, the webhook in question is from Drone CI.
The webhook is definitely correct, since the test deliveries are all successful:
And even with all events enabled in the webook settings.
But nothing happens when I push or create a tag. And there’s nothing useful in the debug log either, it just shows that the push happened and nothing else.
Accepted publickey for git from 192.168.0.2 port 56207 ssh2: RSA SHA256:xxxxx
2022/11/03 15:46:28 ...ters/private/serv.go:412:ServCommand() [D] [6363d444] Serv Results:
IsWiki: false
DeployKeyID: 0
KeyID: 1 KeyName: desktop
UserName: haath
UserID: 1
OwnerName: haath
RepoName: ci-test
RepoID: 5
2022/11/03 15:46:28 [6363d444] router: completed GET /api/internal/serv/command/1/haath/ci-test?mode=2&verb=git-receive-pack for 192.168.0.2:0, 200 OK in 18.7ms @ private/serv.go:81(private.ServCommand)
2022/11/03 15:46:28 [6363d444-2] router: completed POST /api/internal/ssh/1/update/5 for 192.168.0.2:0, 200 OK in 18.0ms @ private/key.go:18(private.UpdatePublicKeyInRepo)
Received disconnect from 192.168.0.2 port 56207:11: disconnected by user
Disconnected from user git 192.168.0.2 port 56207
And in my configuration I have all the following:
[server]
DISABLE_SSH = false
OFFLINE_MODE = false
[security]
DISABLE_GIT_HOOKS = false
DISABLE_WEBHOOKS = false
[webhook]
ALLOWED_HOST_LIST = *
DELIVER_TIMEOUT = 30
Everything else I’ve tried:
- Pushing on HTTPS instead of ssh
- Creating a new repository
- Checking for
noexec
flags