Getting 401: Missing or invalid credentials after DB replication

i had the same issue. this thread helped me narrowing down the issue to database connection pooling. the strapi docs are quite clear on this:

When using Docker, change the pool min value to 0 as Docker will kill any idle connections, making it impossible to keep any open connections to the database

1 Like