Special thanks to Chocobozzz’s efforts, the problem of no new videos in my Recently-added videos, and the following problem that I could not follow any other instances was solved. That was because I added a :443 in my nginx site location @api section proxy_set_header Host $host;
However, I added that :443 after $host because I kept getting this error when visiting my peertube instance:
錯誤: 無法擷取 OAuth 客戶端憑證:Getting client tokens for host peertube.slat.org is forbidden。請確保您已正確設定 PeerTube(config/ 目錄),特別是 "webserver" 部份。
(Error: Cannot retrieve OAuth Client credentials: Getting client tokens for host peertube.slat.org is forbidden. Ensure you have correctly configured PeerTube (config/ directory), in particular the « webserver » section.)
I could eliminate that error by adding :443 after $host in the proxy_set_header Host. However it broke the feature of following other instances.
What’s wrong with this error? What can I do to solve this? Any suggestion is appreciated.
is there another %s in the end (since you have 3 parameters)?
The error was gone! I guess it was caused because I changed the nginx setting to remove the :443 and restart nginx… but I didn’t restart peertube service at that time. So it was inconsistent and hence showed the error. Now I changed that message and restart peertube… the error is no longer there.
So the solution: Even just modify nginx settings, always restart both nginx AND peertube service.