Blank pages for repository templates and secrets

Hi,
I am self-hosting Drone ( docker.io/drone/drone:2.15.0 ) in my Kubernetes deployment and connecting it to a self-hosted Gitea ( docker.io/gitea/gitea:1.18.0-rc1-rootless ) instance. I am able to onboard repositories and trigger builds, and webhooks work just fine.

I noticed on the settings page that I can only access General/Secrets/Cron Jobs and Badges, but can’t load the Secrets/Templates pages that are under the Organization heading. When I do that, the page renders as empty.

I noticed that when that happens, a GET call goes out to https://${MY_DRONE_URL}/api/secrets/${MY_ORG_NAME} and it returns a 401 status. The response is simply

{"message":"Forbidden"}

I don’t see anything in the container logs when this happens.

It would be great if someone could offer a suggestion on how I could investigate this.

Thanks!

Hi @rombert your scenario sounds very similar to this thread - 401 trying to access organization secrets/templates (gitea)

Hopefully this is helpful :slight_smile:

1 Like

@d1wilko - that is exactly my problem, thank you!