Skip to content

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

@TomPax

Description

@TomPax

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/repo-migrationMigrate repos from other platforms to Gitea, or from Gitea to themtype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions