-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detail
Description
Description
I set up the integration with Drone and find that Gitea doesn't send Webhook when pushing. ALLOWED_HOST_LIST has the right address, and the webhook is added, responds to Test Delivery, and also triggers, for example, the creation of a pull request. Console in debug mode does not see anything that could help.
Gitea Version
1.16.9
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker
Database
PostgreSQL
Metadata
Metadata
Assignees
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detail
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
maoxuner commentedon Aug 4, 2022
When I was using gitea version
1.16.9
, webhooks worked well. But after I upgraded gitea to version1.17.0
(stable, not rc versions), webhooks down. However, if I clickTest Delivery
button, a request was sent successfully.I think there is something wrong with event system. Evey time I push my code, there will be a new hanging process named
GET: /user/events
shown in monitor page.Docker Version: 18.09.7
Operating System: CentOS Linux 7 (Core)
Architecture: x86_64
Docker Image: gitea/gitea:1.17.0
maoxuner commentedon Aug 5, 2022
Solved after upgrade docker engine. #20678
Gitea 1.17.0 is released | Require docker version >= 20.10.6
It's for
1.17.0
because of base image upgrading. It probably not work for1.16.9
.wxiaoguang commentedon Sep 28, 2022
@vjarskee
Have you checked your docker version to make sure it's >= 20.10.6 and tried "Resynchronize pre-receive, update and post-receive hooks of all repositories" on the site admin panel? Is there still a problem?
MartinLau7 commentedon Sep 28, 2022
I have this situation too, can anyone help me? My version of Docker is currently 20.10.18
wxiaoguang commentedon Sep 28, 2022
Please provide enough information, otherwise nobody can help.
MartinLau7 commentedon Sep 28, 2022
wxiaoguang commentedon Sep 28, 2022
1 The answer doesn't help. Can you see the push activity on the dashboard? And: How do you push? By SSH? By HTTP? By online edit by browser? Have you tested the webhook manually? Can Gitea communicate with Drone correctly?
5 I said "Docker Server", not the "Client"
I can not help since it doesn't seem to be a valid report.
MartinLau7 commentedon Sep 28, 2022
明天我尝试在本地构建一个 1.16.9 测试看看是否仍有这个情况
wxiaoguang commentedon Sep 28, 2022
Again (second or third time...): Can you see the push activity on the dashboard? The timeline on homepage?
If you have ever tested the webhook manually, does it mean that the manual webhook test works well and there is no error?
wxiaoguang commentedon Sep 28, 2022
I just setup a Gitea 1.17.2 (docker) locally and did a full test, all work as expected.
It doesn't seem to be a Gitea problem (actually, a lot of users are using 1.17.x and they also use CI/CD. If there is a bug, there would be a lot of issues, however there is just a few people asking about why webhook doesn't work on their side)
If there is a problem, there are only a few possibilities:
Test Result
The push event works, the push event can be shown on the dashboard activity.
The webhook can be triggered when there is a push.
wxiaoguang commentedon Sep 28, 2022
Since 1.16.x is not supported any longer, please use 1.17.x. And this issue is quite old and mixed with different problems, I think it's time to close this one.
If there are still some issues, please report with details in a new issue, please follow the suggestions in the comment above.