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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Binge Watcher

HTTP/2 roku issue

I am implementing roku app using HTTP/2 protocol for requests. I am using roUrlTransfer and single node thread instance to perform requests. Usually it works fine, but when app is in idle state and new request kicks in roUrlTransfer returns code -16  stating that there is some framing issue (according to curl documentation). Something like this:

sub _taskFunction()
 port = createObject("roMessagePort")"request", port)
 while (true)
   message = wait(0, port)
   if (type(message) = "roSGNodeEvent" AND message.getField() = "request")
   end if
    handle response here
end while
end sub

Http creates new roUrlTransfer and sets proper attributes. Anyone experienced such issue?
0 Kudos