diantonio Posted September 14, 2023 Share Posted September 14, 2023 Hello, We are experiencing issue with a cdn script and in particular the invalidation function. We created a test KVS instance and storage and linked it to the CDN storage. We then upload a video and the video versions are uploaded properly on CDN storage. We then delete the videos, which triggers a '401 - POST - /v3/ - Invalid authentication' in the CDN API log. We need to view the full API call made by KVS, so we added logging/debugging lines in the cdn script (also enable PHP debugging), however no info is output in the log file. Please advice on a way to view the full API call or any errors in this case. Quote Link to comment Share on other sites More sharing options...
Tech Support Posted September 14, 2023 Share Posted September 14, 2023 2 hours ago, diantonio said: We need to view the full API call made by KVS, so we added logging/debugging lines in the cdn script (also enable PHP debugging), however no info is output in the log file. Do you mean you put the logging call into /admin/cdn/yourcdn.php script yourcdn_invalidate_resources() function and the log didn't add anything on deleting a video? BUt how about adding new videos, do you see the invalidation call for new videos? If no, likely you did something wrong, and the log file is created somewhere else, please make sure you use absolute path for specifying the logging file location and specify it into /admin/logs folder which has 777 permissions. Otherwise your log file may be created somewhere else, or it can be not created due to lack of permissions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.