6001 - Shaka Error Drm.requested_key_system_config_unavailable () __top__ Here
player.configure({ drm: { servers: { 'com.widevine.alpha': 'https://license.arthouse.com/widevine', 'com.microsoft.playready': 'https://license.arthouse.com/playready', 'com.apple.fairplay': 'https://license.arthouse.com/fairplay' }, // Tell Shaka to try them in this order advanced: { 'com.widevine.alpha': { distinctiveIdentifierRequired: false }, 'com.microsoft.playready': { distinctiveIdentifierRequired: false } } } }); But that wasn't enough. She also realized the error happened when the browser a key system, but the license server URL was misconfigured for that specific key system. So she added a robust retryParameters and a fallback error handler:
player.getNetworkingEngine().registerRequestFilter((type, request) => { if (type === shaka.net.NetworkingEngine.RequestType.LICENSE) { // Ensure the correct license server is used per key system if (request.uris[0].includes('widevine') && !window.navigator.requestMediaKeySystemAccess) { request.uris[0] = request.uris[0].replace('widevine', 'playready'); } } }); Finally, she added a user-friendly message for when all DRM systems fail: player
player.addEventListener('error', (event) => { if (event.detail.code === 6001) { document.getElementById('error-message').innerText = "Your browser doesn't support the required security for this film. Please update Chrome, Firefox, Safari, or Edge."; } }); Maya pushed the fix at 11:58 PM. Dr. Reid reloaded the page. The black screen vanished. Cybernetic Vampire III began playing, grainy and glorious. Please update Chrome, Firefox, Safari, or Edge
And from that day on, ArtHouse Stream never saw the 6001 error again—except once, when a user tried to watch a movie on a 2012 smart TV. But that's a story for another night. The black screen vanished
The configuration was too rigid. The player was a locksmith showing up with only a titanium key, but the lock was made of brass. She dug into the Shaka Player configuration file, where a previous developer had hardcoded:
The next morning, Maya documented the incident for her team:
"The site is broken! Every time someone tries to watch Cybernetic Vampire III , they get a black screen and error code 6001," he yelled. "Our biggest subscriber, a film critic named Dr. Reid, is furious. Fix it."