Getting 401: Missing or invalid credentials after DB replication

I’m getting the same error on my VPN server on initial load. If I then refresh the page, the following request return data.

In Strapi logs of the intial request:

2022-06-25T16:30:24.504733806Z Connection Error: Connection ended unexpectedly
2022-06-25T16:30:24.508437093Z [2022-06-25 16:30:24.508] http: GET /api/articles (6 ms) 401

and the following one:

2022-06-25T16:30:36.754554686Z [2022-06-25 16:30:36.754] http: GET /api/articles (66 ms) 200

To be honest I’m a bit confused by this behavior and I don’t really know what’s wrong.

1 Like