Add note about Gitlab & Gitea internal connections to docs #711
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a little note to the docs to enable internal connections when the Woodpecker CI server and GitLab are run on the same host. This caused the webhooks to fail.
@6543 also mentioned this might apply to other VCS (e.g. Gitea). Should we check for all of them before merging this PR?
Previous monologue
Right now I cannot sync any repo from GitLab with WP.
I get an error and the request (on WP) logs:
At least this route seems to exist: https://docs.gitlab.com/ee/api/projects.html#add-project-hook
The message "Invalid url given" probably refers to the message body and not the request (URL) itself.
HTTP 422 is for "Unprocessable".
Okay, this fixed it: https://gitlab.com/gitlab-org/gitlab/-/issues/25867#note_215577922
Probably because I was running the Woodpecker Server and the GitLab Server on the same host.