When activating a repository for Drone, it creates successfully a webhook in (my case) Gitea, however, the Webhook URL is not correct. It displays something like http://localhost:50005 despite the DRONE_HOST being set.
The text was updated successfully, but these errors were encountered:
In most cases, Drone uses the incoming http.Request to ascertain its own address when creating the webhook url and oauth redirect url. If Drone cannot introspect its own address, it would typically indicate you have a reverse proxy or load balancer in front of drone and are not setting x-forwarded-for or x-forwarded-proto headers.
If you have any further questions, please use our forum for user support questions.
Hello everyone,
Here's my docker-compose file which can be used for reproducing the issue :
When activating a repository for Drone, it creates successfully a webhook in (my case) Gitea, however, the Webhook URL is not correct. It displays something like http://localhost:50005 despite the DRONE_HOST being set.
The text was updated successfully, but these errors were encountered: