Forum Discussion

deepakpk009's avatar
deepakpk009
Reel Rookie
2 years ago

Unable to make API request after network change

Hi, 

I am facing an issue where I am unable to make API request using the roUrlTransfer object after suspending the app and changing the network from the settings of the Roku device. 

There is no reponse on the roUrlTransfer object on calling an API end point which was reponding earlier on making the call after resuming the app. 

The app needs instant resume feature as part of the requirements. 

I had fixed this issue by setitng the EnableFreshConnection method on the roUrlTransfer object. But since this method is deprecated I am not able to publish the fix. 

Is there any other way to fix this issue? 

2 Replies

  • RokuBen's avatar
    RokuBen
    Community Moderator

    You need to make a new roUrlTransfer object after a network change and do requests on that.

    • deepakpk009's avatar
      deepakpk009
      Reel Rookie

      Hi RokuBen 

      Yes I am using a new roUrlTransfer object after network change within a task node. But still the network doesn't respond. What else might be the reason?