Self-hosted - First login routinely fails with second/subsequent attempts successful

Hi,

I’m self-hosting BW, now on version 2024.8.0. This has been an ongoing issue since 2024.4.0 or earlier. Every time I attempt to login to BW from any of the clients, the first attempt fails for some unspecified error, while the second is successful. There are times that a manually triggered sync exhibits a similar issue, though that seems to have improved.

Current setup - Cloudflare tunnel > NPM > BW

I’m trying to narrow-down where to start investigating this error. Has anyone seen anything similar? Where are (or are there) client connection logs?

Thanks!