Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
xiaolei
Visitor

HTTP request canceled

I am using the following code to do a POST request to https://streams.adobeprimetime.com/v2/sessions/xx/xxxxxxx, but got -10001 code and `cancelled` error message.
Any idea what may be wrong?

   request = createObject("roUrlTransfer")
   request.setCertificatesFile("common:/certs/ca-bundle.crt")
   request.initClientCertificates()
   request.enablePeerVerification(false)
   request.enableHostVerification(false)
0 Kudos