SKIP_TLS_VERIFY = true does not work for gitlab pull requests migrations #14933

Open
opened 2025-11-02 11:26:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @TomPax on GitHub (Sep 8, 2025).

Description

Hello, it seems SKIP_TLS_VERIFY = true for [migrations] does not work for cloning PR from Gitlab instance.
2025/09/08 01:35:32 services/task/task.go:54:handler() [E] Run task failed: updateGitForPullRequest: Get "https://domain/group/project/-/merge_requests/10.patch": tls: failed to verify certificate: x509: certificate signed by unknown authority

Gitea Version

1.24.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

It's docker image: gitea/gitea:latest (1.24.5 now)

Database

None

Originally created by @TomPax on GitHub (Sep 8, 2025). ### Description Hello, it seems SKIP_TLS_VERIFY = true for [migrations] does not work for cloning PR from Gitlab instance. `2025/09/08 01:35:32 services/task/task.go:54:handler() [E] Run task failed: updateGitForPullRequest: Get "https://domain/group/project/-/merge_requests/10.patch": tls: failed to verify certificate: x509: certificate signed by unknown authority ` ### Gitea Version 1.24.5 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? It's docker image: gitea/gitea:latest (1.24.5 now) ### Database None
GiteaMirror added the topic/repo-migrationtype/bug labels 2025-11-02 11:26:09 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14933