You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just retry the request may not be enough to fix the issue. I tested a few times and found the provider's CDN will return the same broken JSON for a same IP and user agent. To force the provider to return a fresh response, libman may need to have a method to make CDN think it is not the same client.
Libman can't change client IP, so there may be two options to force CDN to refresh
Append a random number to the query string like: https://api.cdnjs.com/libraries/tinymce?996
Add a random user agent string to the request header
Describe the bug
See this detailed writeup
To Reproduce
Steps to reproduce the behavior:
Operation fails again, because the bad response is placed in the cache, so we keep reusing it.
Expected behavior
Should issue the request to the provider again, and get a fresh (hopefully functional) response.
The text was updated successfully, but these errors were encountered: