Closed fredhdroz closed 7 years ago
This is obviously a server issue, and I am quite suprised with the different results I get with various identifiers:
https://il.srgssr.ch/integrationlayer/2.0/rts/mediaComposition/audio/8448528.json (server error) https://il.srgssr.ch/integrationlayer/2.0/rts/mediaComposition/audio/8448527.json (bad request) https://il.srgssr.ch/integrationlayer/2.0/rts/mediaComposition/audio/8448550.json (not found)
After talking with our backend team:
You can use the test server by setting the serviceURL
property of your Letterbox controller before playing the media:
controller.serviceURL = SRGIntegrationLayerTestServiceURL()
Issue overview
Description of the problem
Some videos from RTS cannot be played, the IL responds with the following error :
15:00:37.800 | ch.srgssr.dataprovider.Request | Thread 33 | Ended https://il.srgssr.ch/integrationlayer/2.0/rts/mediaComposition/video/8448528.json with an HTTP error: Error Domain=ch.srgssr.dataprovider Code=0 "internal server error" UserInfo={NSURL=https://il.srgssr.ch/integrationlayer/2.0/rts/mediaComposition/video/8448528.json, NSLocalizedDescription=internal server error}
However the same video is playing correctly in both :
Environment information
Reproducibility
-> It seems the issue often occurs with "radio en video".
Steps to reproduce
urn:rts:video:8448528