Access / Zero Trust - error 401

Hi, I have set up “Access / Zero Trust” for the app, but sometimes the app crashes with a 401 error from cloudflare.

The application sends queries to api (same subdomain) and after some time starts getting 401 responses from cloudflare.

Application: Pterodactyl Panel

There is also an error logging into phpMyAdmin with enabled 2fa - I haven’t analyzed it yet.

Hm, interesting. - this one or?

Could this be related to topic below?:

Yes it is

Unfortunately, the submitted links are not the solution to the problem.

Pterodactyl without “Access / Zero Trust” works great with Cloudflare… the problem is with “Access / Zero Trust”.

EDIT: The error also occurs when logging into the Proxmox VE