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: 
tvjay
Channel Surfer

Re: Registration channel help

"belltown" wrote:
That malformed xml response is being returned by your server. You don't "clear it" in your Roku.


Okay, I got it working successfully once by changing the folder name from /Roku to /Test. The code you gave me now works to clear it beautifully.

The problem I am still having is that once it gets the code it won't get another code because something is caching the result. I deleted the app from the Roku, changed the folder from Test to Test3 and it still pulls the same regcode. Here is the debugger output that shows even though the server has the regCode as 99994 it pulled abcd.


------ Running ------
showHomeScreen | msg = | index = 0
GOT: <result>
<status>incomplete</status>
<regCode>abcd</regCode>
<retryInterval>30</retryInterval>
<retryDuration>900</retryDuration>
</result>

Reason:
Enter registration code abcd at http://www.303north.com/Test3 for 13C2CU068971
checking registration status
<result>
<status>failure</status>
<regToken></regToken>
<customerId>154932</customerId>
<creationTime>2009-06-30 01:00:00.000</creationTime>
</result>
3
retry duration 0 at 30 sec intervals for 900 secs max
Wait for 30
0 Kudos
belltown
Roku Guru

Re: Registration channel help

The 'GOT: ' output is what was read from your server. If you think your server is returning a different code then it could be that the Roku has cached the http response, in which case try making the query string unique (e.g. by appending a timestamp to the request).
0 Kudos
tvjay
Channel Surfer

Re: Registration channel help

Well I setup my own virtual server inside my house instead of using my domain.com server and now everything is working like I expect. I wonder what domain.com is/was doing to cause my issues.
0 Kudos