Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
xiaolei
Level 7

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