Hello,
I am setting up a drone server using the k8s helm charts. Here is a modified version of my values file:
service:
type: LoadBalancer
agent:
replicas: 1
server:
host: "http://${AZURE_AKS_LB_IP_ADDRESS}"
env:
DRONE_ADMIN: koalalorenzo
DRONE_HOST: "http://${AZURE_AKS_LB_IP_ADDRESS}"
DRONE_ORGS: super-org
DRONE_PROVIDER: bitbucket
DRONE_BITBUCKET: true
DRONE_OPEN: false
DRONE_BITBUCKET_CLIENT: 4XXXXXXXXn6F8
DRONE_BITBUCKET_SECRET: 8XXXXXXXXXXXXXXX5b
I have correctly craeted a Drone OAuth app from the super-org
organization (in the settings of bitbucket) an I can successfully login to the Drone Server and see the projects. I followed the permissions specified here:
http://docs.drone.io/install-for-bitbucket-cloud/
But I can only activate my own projects and not the organization ones. The error that i get from both the CLI and browser is a generig 500 error. And the logs that I can read on kubernetes are only a bunch of these:
INFO: 2018/04/16 11:20:29 transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 10.244.2.26:9000->10.240.0.4:57644: read: connection reset by peer
INFO: 2018/04/16 11:20:30 transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 10.244.2.26:9000->10.244.2.1:55440: read: connection reset by peer
INFO: 2018/04/16 11:20:34 transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 10.244.2.26:9000->10.240.0.5:58538: read: connection reset by peer
But nothing related to my cloning/downloading/checking-webhooks or something related to what I was doing: adding a repository.
What am I doing wrong? What should I change in the OAuth app?