502 error occurred while creating pull request #11272

Closed
opened 2025-11-02 09:32:54 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @jackzhum on GitHub (Jul 19, 2023).

Description

Logs:

2023/07/19 10:29:00 ...es/pull/temp_repo.go:98:createTemporaryRepoForPR() [E] Unable to init tmpBasePath for <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled
2023/07/19 10:29:00 ...vices/pull/update.go:172:GetDiverging() [E] CreateTemporaryRepoForPR <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled
2023/07/19 10:29:00 ...ers/web/repo/pull.go:1297:CompareAndPullRequestPost() [E] NewPullRequest: context canceled
2023/07/19 10:33:10 ...es/pull/temp_repo.go:98:createTemporaryRepoForPR() [E] Unable to init tmpBasePath for <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled
2023/07/19 10:33:10 ...vices/pull/update.go:172:GetDiverging() [E] CreateTemporaryRepoForPR <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled
2023/07/19 10:33:10 ...ers/web/repo/pull.go:1297:CompareAndPullRequestPost() [E] NewPullRequest: context canceled

After upgrading from version 1.19.3 to version 1.20, it still cannot be resolved

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.39.0, Wire Protocol Version 2 Enabled

Operating System

Windows Server 2012R2

How are you running Gitea?

SYSTEM
Prod

windows service

Database

MSSQL

Originally created by @jackzhum on GitHub (Jul 19, 2023). ### Description **Logs:** 2023/07/19 10:29:00 ...es/pull/temp_repo.go:98:createTemporaryRepoForPR() [E] Unable to init tmpBasePath for <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled 2023/07/19 10:29:00 ...vices/pull/update.go:172:GetDiverging() [E] CreateTemporaryRepoForPR <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled 2023/07/19 10:29:00 ...ers/web/repo/pull.go:1297:CompareAndPullRequestPost() [E] NewPullRequest: context canceled 2023/07/19 10:33:10 ...es/pull/temp_repo.go:98:createTemporaryRepoForPR() [E] Unable to init tmpBasePath for <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled 2023/07/19 10:33:10 ...vices/pull/update.go:172:GetDiverging() [E] CreateTemporaryRepoForPR <PullRequest [0]Jack/HBERP#0[dev...feature/rxorder]>: context canceled 2023/07/19 10:33:10 ...ers/web/repo/pull.go:1297:CompareAndPullRequestPost() [E] NewPullRequest: context canceled **After upgrading from version 1.19.3 to version 1.20, it still cannot be resolved** ### Gitea Version 1.20.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.39.0, Wire Protocol Version 2 Enabled ### Operating System Windows Server 2012R2 ### How are you running Gitea? SYSTEM Prod windows service ### Database MSSQL
GiteaMirror added the type/bug label 2025-11-02 09:32:54 -06:00
Author
Owner

@lunny commented on GitHub (Jul 19, 2023):

Could you paste more logs before these logs line?

@lunny commented on GitHub (Jul 19, 2023): Could you paste more logs before these logs line?
Author
Owner

@jackzhum commented on GitHub (Aug 28, 2023):

Sorry, Although I haven't found the reason, I have already solved this problem.
I no longer tried to use pull request , but instead solved it with picking.
which may still be a branch issue because only this branch has this error.

@jackzhum commented on GitHub (Aug 28, 2023): Sorry, Although I haven't found the reason, I have already solved this problem. I no longer tried to use pull request , but instead solved it with picking. which may still be a branch issue because only this branch has this error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11272