Hesre are the offending lines of code that caused the original problem:
xfer.setURL(api+resource+user+uresource+ckey+limit+offset)
print api+resource+user+uresource+ckey+limit+offset
reboot happens after the print above
where api= "http://api.company.com"
resource= "/files"
user= "/username"
uresource= "/files"
ckey = "consumerkey=
myconsumerkeystring"
limit= "&limit=10"
offset= "&offset=0"
replacing this code with this:
xfer.setURL(api+resource+user+uresource+ckey+limit+offset)
print resource+user+uresource+ckey+limit+offset
fixed the problem
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!