I've noticed 502 errors when posting here on this forum lately (mid-December 2023). Waiting a few minutes allows the background processes to restart and I can post again.
I've used discourse for years, and so I assume fixing it is a matter of upgrading discourse.
I wanted to point it out in case it's something only happening to non-admins.