You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primary root cause for drone not using the correct hook URL is that drone cannot determine its own URL. This happens when drone is installed behind a reverse proxy or load balancer and the X-Fowarded-For and X-Forwarded-Proto variables are not properly configured.
The webhook when creating a tag always returns 404, I'm using drone 0.7.
According to some issues I found (https://discourse.drone.io/t/drone-0-5-817-gitea-a-gogs-fork-tag-webhook-404/105/5, #1870 then go-gitea/gitea#426), drone is likely using the wrong url to get the .drone.yml file for tag push.
I can manually access to "https://mygitea/api/v1/repos/dashie/somerepository/raw/v0.4.2/.drone.yml" without the extras "refs/tag", with, it fails.
But in the log from the nginx serving gitea:
"GET /api/v1/repos/dashie/somerepository/raw//.drone.yml HTTP/1.1" 404 3544 "-" "Go-http-client/1.1"
Looks like the tag is missing "/raw//.drone.yml"
Is that a new bug or incompatible with the/my current gitea (1.2.0+rc2) webhook ?
For reference, the payload my gitea is pushing:
The text was updated successfully, but these errors were encountered: