Skip to content

CheckPath returns error: context canceled #20709

Closed
@somera

Description

@somera

Description

I see often (just one day)

$ grep "CheckPath returns error: context canceled" log/gitea.log | wc -l
126389

this in my gitea.log

2022/08/07 08:07:59 ...it/repo_attribute.go:195:func1() [E] [62ef5536-21] CheckPath returns error: context canceled
        /source/modules/git/repo_attribute.go:195 (0xc7da47)
        /source/modules/git/repo_attribute.go:201 (0xc7d67d)
        /source/modules/git/repo_language_stats_nogogit.go:89 (0xc94e6c)
        /source/modules/indexer/stats/db.go:64 (0x1b3e6a4)
        /source/modules/indexer/stats/queue.go:23 (0x1b3f34e)
        /source/modules/queue/unique_queue_disk_channel.go:60 (0x16c36a1)
        /source/modules/queue/unique_queue_channel.go:79 (0x16c0b4a)
        /source/modules/queue/workerpool.go:564 (0x16caeee)
        /source/modules/queue/workerpool.go:312 (0x16c96e4)
        /usr/local/go/src/runtime/asm_amd64.s:1571 (0x4700e0)

Gitea Version

1.17.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.25.1

Operating System

Ubuntu 20.04.4

How are you running Gitea?

Downloaded gitea-1.17.0-linux-amd64

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions