-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Webhooks not working #4956
Comments
Maybe related to #2598? Search open and closed issues for |
But "Test Delivery" is working, triggering new builds. That means that POST requests are nicely working with my Jenkins. |
This may be related to the variable LOCAL_ROOT_URL in custom/conf/app.ini. Also check if SSH related variables in that file are set. |
Hi, please read and check your setup with https://discuss.gogs.io/t/how-to-config-ssh-settings/34. |
This has nothing to do with SSH. Reproduction steps:
If triggered manually, then refreshed, the previous broken pushes magically appear as successful: |
@bmustiata check errors in |
My bad, I was using a very old version ( |
I have the same problem, the environment is docker, manual success, git trigger failure |
Same problem here with latest official docker image. Works only 1/10 times as it should. The webhook is shown as failed with 1.1.1970 as date. After waiting 10-20s and a page refresh the date shows up correctly on the failed webhook - when i then press the resend button it works |
Same problem here. I am using the latest docker gogs/gogs image(version: 0.11.88.0220). "Redelivery" and "Test Deliver" will succeed, but can not auto deliver. When the auto delivery fails, "Request" section shows "N/A", and the time will be 1970-01-01 |
I have the same problem (version: 0.11.34) as hhningkid, blade5502 and Vistor2Code |
@sorenbronsted check errors in |
Nope it is empty :-( |
Have you tried to enable trace level logging via |
Thanks. I got it to work because I had some experiment with buildbot in custom_hook. |
Sorry for commenting on a closed issue, but I figured my personal issue out and I wanted to share: I have gogs running behind an nginx proxy, using the (I replaced my domain and IP with example ones)
It turns out I was missing a
adding the |
[x]
):log/gogs.log
):I have a Docker image of Gogs (gogs/gogs:latest) running. I configured webhook for Jenkins like this: "http://172.24.4.16/jenkins/gogs-webhook/?job=test"
When I press "Test Delivery" - it is working nicely and new build is triggered in Jenkins. However when I git push via SSH - nothing happens.
When I press "Test Delivery" - I see the following in gogs.log:
But when pushing by SSH I do not see anything and no Jenkins build is started.
On https://try.gogs.io webhooks are working fine with me.
Can you help me?
...
The text was updated successfully, but these errors were encountered: