Skip to content

502 Bad Gateway on most requests #620

@djl

Description

@djl

gonic version: nightly
docker tag: nightly

(Although I'm running on nightly at the moment this also happens on the most recent release)

As of about a week ago, I've started seeing 502 errors on almost all requests to my gonic instance.

Here's the logs just from GETting /home while logged in:

2025/10/24 14:20:01 response  200  GET /home
2025/10/24 14:20:12 error writing to response buffer: write tcp 172.17.0.9:4747->172.17.0.1:47186: i/o timeout
2025/10/24 14:20:12 response  200  GET /home
2025/10/24 14:20:20 error writing to response buffer: write tcp 172.17.0.9:4747->172.17.0.1:43696: i/o timeout
2025/10/24 14:20:20 response  200  GET /home

Even the subsonic API has similar issues:

2025/10/24 14:21:41 response  200  GET /getAvatar?u=guest&s=REDACTED&v=1.2.0&c=DSub&username=guest
2025/10/24 14:21:41 response  200  GET /getUser?u=guest&s=REDACTED&t=REDACTED&v=1.2.0&c=DSub&username=guest
2025/10/24 14:21:41 response  200  GET /getBookmarks?u=guest&s=REDACTED&t=REDACTED&v=1.2.0&c=DSub
2025/10/24 14:21:59 error writing subsonic response: write tcp 172.17.0.9:4747->172.17.0.1:55588: i/o timeout
2025/10/24 14:21:59 response  200  GET /getAlbumList2?u=guest&s=REDACTED&t=REDACTED&v=1.2.0&c=DSub&type=newest&size=20&offset=0
2025/10/24 14:22:00 response  200  GET /getCoverArt?u=guest&s=REDACTED&t=REDACTED&v=1.2.0&c=DSub&id=al-45762
2025/10/24 14:22:00 response  200  GET /getCoverArt?u=guest&s=REDACTED&t=REDACTED&v=1.2.0&c=DSub&id=al-46161

My only guess at the issue is that I'm hitting some sort of limit due to the size of my library (290517 tracks, ~29815 albums according to beet stats).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions