Error authenticating, but Token works #32825
Replies: 3 comments 3 replies
-
I was having the same issue with my gitea instance. I could successfully run curl against the api endpoint that was returning 404 After some debugging I found the culprit. I run renovatebot using a workflow like this jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Self-hosted Renovate
uses: https://github.com/renovatebot/github-action@v41.0.5
with:
token: ${{ secrets.TOKEN }}
env:
RENOVATE_PLATFORM: gitea
RENOVATE_ONBOARDING: false
RENOVATE_ENDPOINT: '${{ gitea.server_url }}/api/v1/' The variable The problem arises when the endpoint at To work around this issue, just configure renovate with a gitea endpoint that doesn't do redirections. Try to use your final url in |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Hello, I digged more and more and found another tutorial, which was more clear with the instructions. So I will summerize my solutions in a short way: User: renovate-bot renovate-config/config.js
renovate-config/.gitea/workflows/renovate.yaml
User: gitea-user renovate-config/config.js
renovate-config/.gitea/workflows/renovate.yaml
Renovate failed, after pushing to the bot repo, but not if pushing to the user repo. |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
gitea_v1.22.1 and renovate_v39.40.1
Please tell us more about your question or problem
Hi there,
I'm trying to use renovate on a self-hosted gitea (via docker), using nginx as a reverse proxy. I have followed a lot of tutorials, but every time I get the same error.
I have tried using Firefox to access the site with the token and it works:
Any idea where the problem is?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions