Forum Discussion

thomasferraro's avatar
thomasferraro
Binge Watcher
5 years ago
Solved

Trouble with tweaking AudioListExample's audiolistscene.xml source URL

Beginning Roku developer here. I am working on tweaking AudioListExample (https://github.com/rokudev/samples/tree/master/media/AudioListExample). In audiolistscene.xml, I simply want to have       ...
  • renojim's avatar
    5 years ago

    For reasons no one will ever understand, Roku requires additional setup to handle HTTPS.  If you can change your URL to http://... just to test, do that.  To get the HTTPS URL to work you have to add code to contentreader.xml:

    readInternet = createObject("roUrlTransfer")
    readInternet.setUrl(m.top.contenturi)
    readInternet.SetCertificatesFile("common:/certs/ca-bundle.crt")
    readInternet.InitClientCertificates()
    ...