Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 8

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