Skip to content

500 error when accessing repo on web (context deadline exceed, LastCommitCache related) #17314

Closed
@bagasme

Description

@bagasme

Gitea Version

commit d47798c

Git Version

2.33.0

Operating System

Debian 11

How are you running Gitea?

built from source with Go 1.17.2, Node 14.17.6 (npm 6.14.15) on Ubuntu 20.04. Running as systemd service on production mode. Connected to a PostgreSQL 14 instance on separate server.

Database

PostgreSQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/bagasme/5c5dc41a48d8cea354b0f68fc6d2f6bd

Description

I'm trying to access one of my repo (a local copy of git.git) on the web interface (at https://gitnode.io/bagas/git). It returns 500 error instead of showing the repo contents. Going through log, the error occurs at renderDirectoryFiles(), but before it logs LastCommitCache stuff.

Screenshots

(not relevant, since the 500 error page is generic).

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