Hi!
It seems that when repo is activated in drone it sets broken webhook url
DRONE_SERVER_HOST=drone.
DRONE_SERVER_PROTO=https
Hi!
It seems that when repo is activated in drone it sets broken webhook url
DRONE_SERVER_HOST=drone.
DRONE_SERVER_PROTO=https
I am unable to reproduce this issue with any provider. I am seeing https://<mydomain>
when I activate a repository. Please provide your full configuration.
Thanks for your reply. Here’s my config from docker-compose, no other configuration besides this.
image: drone/drone:1.0.0-rc.1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/drone:/data
environment:
- DRONE_GITHUB_SERVER=https://github.com
- DRONE_GITHUB_CLIENT_ID=
- DRONE_GITHUB_CLIENT_SECRET=
- DRONE_RUNNER_CAPACITY=2
- DRONE_SERVER_HOST=drone.domain
- DRONE_SERVER_PROTO=https
- DRONE_TLS_AUTOCERT=false
It’s running behind reverse proxy, so no TLS_AUTOCERT
This happened to me when I had the full address set for this env var
DRONE_SERVER_HOST=https://drone.domain.com
It should be
DRONE_SERVER_HOST=drone.domain.com
and
DRONE_SERVER_PROTO=https
Then run
drone repo repair org/repo
it should generate a new webhook url