Usually this happens when the url you use to access Peertube is not exactly the same as the one configured in production.yaml
: you have to check that these 3 lines match exactly the url you are using.
If the port is 443, it can be omitted in the url, otherwise it must be in the url.
If everything seems correct, try in private browsing mode, to be sure you have not deprecated credentials in your browser local storage.