Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook sent twice when using Add File on Gitea repo #7543

Closed
2 of 7 tasks
maxifom opened this issue Jul 20, 2019 · 4 comments
Closed
2 of 7 tasks

Webhook sent twice when using Add File on Gitea repo #7543

maxifom opened this issue Jul 20, 2019 · 4 comments

Comments

@maxifom
Copy link

maxifom commented Jul 20, 2019

Description

[Macaron] 2019-07-20 10:29:28: Started GET /username/repo/_new/master/sdf123 for MYIP
[Macaron] 2019-07-20 10:29:28: Completed GET /username/repo/_new/master/sdf123 200 OK in 11.289231ms

[Macaron] 2019-07-20 10:29:28: Started POST /username/repo/_new/master/ for MYIP

[Macaron] 2019-07-20 10:29:29: Started GET /api/internal/hook/pre-receive/username/repo?old=xxxxxxxxxxxxxxxxxxxxxxxx&new=xxxxxxxxxxxxxxxxxxxxxxxx&ref=refs%2Fheads%2Fmaster&userID=1&gitObjectDirectory=%2Fdata%2Fgit%2Frepositories%2Fusername%2Frepo.git%2F.%2Fobjects%2Fincoming-gpBOgg&gitAlternativeObjectDirectories=%2Fdata%2Fgit%2Frepositories%2Fusername%2Frepo.git%2F.%2Fobjects&prID=0 for 127.0.0.1

[Macaron] 2019-07-20 10:29:29: Completed GET /api/internal/hook/pre-receive/username/repo?old=xxxxxxxxxxxxxxxxxxxxxxxx&new=xxxxxxxxxxxxxxxxxxxxxxxx&ref=refs%2Fheads%2Fmaster&userID=1&gitObjectDirectory=%2Fdata%2Fgit%2Frepositories%2Fusername%2Frepo.git%2F.%2Fobjects%2Fincoming-gpBOgg&gitAlternativeObjectDirectories=%2Fdata%2Fgit%2Frepositories%2Fusername%2Frepo.git%2F.%2Fobjects&prID=0 200 OK in 1.858148ms

[Macaron] 2019-07-20 10:29:29: Started GET /api/internal/hook/post-receive/username/repo?old=xxxxxxxxxxxxxxxxxxxxxxxx&new=xxxxxxxxxxxxxxxxxxxxxxxx&ref=refs%2Fheads%2Fmaster&userID=1&username=username for 127.0.0.1

[Macaron] 2019-07-20 10:29:29: Completed GET /api/internal/hook/post-receive/username/repo?old=xxxxxxxxxxxxxxxxxxxxxxxx&new=xxxxxxxxxxxxxxxxxxxxxxxx&ref=refs%2Fheads%2Fmaster&userID=1&username=username 200 OK in 34.672842ms

Screenshots

Screenshot from 2019-07-20 15-39-28

Webhook sent twice for the same push event, when I commit from CMD everything is fine

@lunny
Copy link
Member

lunny commented Jul 21, 2019

This should be fixed by #7511

@lafriks
Copy link
Member

lafriks commented Jul 21, 2019

Please reopen if not fixed by #7511

@lafriks lafriks closed this as completed Jul 21, 2019
@matrozov
Copy link

Please reopen. Reproduced on the version 1.11.0

@lunny
Copy link
Member

lunny commented Nov 27, 2019

@matrozov Please submit a new issue and give some detail. Since webhooks have been changed a lot on v1.11, I think that maybe another reason.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants