topic Re: upload failing in Roku Developer Programhttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171746#M3296
Did you ever check for any anti-virus software that might be getting in the way? If it sounds unlikely, believe me, it's not. AV programs have long installed service proxies/filters and firewalls, which when there's a problem, cause no small amount of havoc.Thu, 08 Jul 2010 19:55:27 GMTkbenson2010-07-08T19:55:27Zupload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171737#M3287
My Roku has suddenly started failing in the course of uploading a zip file. <BR /><BR />1) Zip up executable code for a test run.<BR />2) Upload the zip file using the form hosted by the Roku, either in the browser or via curl at the command line. <BR />3) Wait, wait, wait<BR />4) Eventually the connection times out. The browser error message is "The connection to the server was reset while the page was loading." The curl error message is "curl: (56) Failure when receiving data from the peer"<BR /><BR />Has anybody else seen the issue?<BR /><BR />I have rebooted without fixing the issue. I have also tried against executable zips that used to work.<BR /><BR />This is version 2.6, build 687, model N1100.Thu, 08 Jul 2010 00:39:06 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171737#M3287lucasgonze2010-07-08T00:39:06ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171738#M3288
Two other fixes I have tried without success:<BR /><BR />- Reset my device to factory settings, then reenabled the package utility following the steps in the "The Channel Packaging and Publishing Guide." <BR /><BR />- Deleted all channels on my device.Thu, 08 Jul 2010 01:11:47 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171738#M3288lucasgonze2010-07-08T01:11:47ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171739#M3289
Another fix I have tried without success: uploading zips from the example apps in the sdk.<BR /><BR />This rules out issues with my code or packaging process.Thu, 08 Jul 2010 01:28:08 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171739#M3289lucasgonze2010-07-08T01:28:08ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171740#M3290
Could it be a failure in solid state memory?Thu, 08 Jul 2010 01:34:10 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171740#M3290lucasgonze2010-07-08T01:34:10ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171741#M3291
<BLOCKQUOTE>"lucasgonze" wrote:<BR />The browser error message is "The connection to the server was reset while the page was loading." The curl error message is "curl: (56) Failure when receiving data from the peer"</BLOCKQUOTE><BR /><BR />Googling seems to indicate this is a Firefox error, not a problem with the source of the connection. Suggestions mention disabling all extensions and/or using Firefox in safe mode. There's some indications it may be caused by malfunctioning anti-virus/firewall programs. If switching to a different browser helps, it's probably FF (or whatever browser you are using) specific, if not, it's probably something a bit deeper, in which case I suggest first restarting any AV programs you have installed, and if that doesn't help, try restarting the computer entirely (in case there's components that are not starting correctly).Thu, 08 Jul 2010 02:43:18 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171741#M3291kbenson2010-07-08T02:43:18ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171742#M3292
Thanks for the idea, kbenson. <BR /><BR />It also occurs when I use curl instead of FF, which suggests it's probably not FF itself. On the other hand it might be something about the user agent that curl and FF have in common, so I'll give a try in Safari and Chrome.Thu, 08 Jul 2010 03:39:59 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171742#M3292lucasgonze2010-07-08T03:39:59ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171743#M3293
I have now tested in Safari and Chrome. No change.<BR /><BR />One thing I have learned is that the upload goes all the way, it's the response from the Roku that never happens. It appears that the error is in installing the upload, which would be a software error.<BR /><BR />I have ordered a new Roku on overnight delivery to test the assumption that it's a hardware issue.Thu, 08 Jul 2010 16:43:35 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171743#M3293lucasgonze2010-07-08T16:43:35ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171744#M3294
How large is your zip file?Thu, 08 Jul 2010 17:48:07 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171744#M3294Anonymous2010-07-08T17:48:07ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171745#M3295
Thanks for the input, Patrick. I have tested against the zip files in the SDK and found that none of them work, which means the cause of this problem cannot be in my program. That said, my zip file is 185k.Thu, 08 Jul 2010 17:52:52 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171745#M3295lucasgonze2010-07-08T17:52:52ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171746#M3296
Did you ever check for any anti-virus software that might be getting in the way? If it sounds unlikely, believe me, it's not. AV programs have long installed service proxies/filters and firewalls, which when there's a problem, cause no small amount of havoc.Thu, 08 Jul 2010 19:55:27 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171746#M3296kbenson2010-07-08T19:55:27ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171747#M3297
I could easily see antivirus software being the cause, but I just checked on the two computers that I've used to reproduce the issue and found that there is no anti virus software on either. Thanks anyhow, kbenson.Thu, 08 Jul 2010 20:38:30 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171747#M3297lucasgonze2010-07-08T20:38:30ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171748#M3298
Try to telnet to port 8085 and check any compile errors you might be having....<BR /><BR />If you are unable to telnet to port 8085, you might need to enable developer mode:<BR /><BR />Home 3x, Up 2x, Right, Left, Right, Left, Right<BR /><BR />--KevinFri, 09 Jul 2010 00:58:10 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171748#M3298RokuKevin2010-07-09T00:58:10ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171749#M3299
Telnet to port 8085 to check for compile errors shows that the upload is never being loaded and evaluated by the Roku. The compiler is never being invoked, and the upload is never being installed.<BR /><BR />About enabling developer mode, I have enabled the package utility following the steps in the "The Channel Packaging and Publishing Guide."<BR /><BR />The place to look is the Apache error log. Do you know how I get a bash prompt?Fri, 09 Jul 2010 15:24:18 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171749#M3299lucasgonze2010-07-09T15:24:18ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171750#M3300
I have bought a new Roku and tested against it. The upload now works.<BR /><BR />This is pretty good confirmation that the problem was a hardware failure.Fri, 09 Jul 2010 23:21:16 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171750#M3300lucasgonze2010-07-09T23:21:16ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171751#M3301
I now believe that the issue is Roku devices overheating.<BR /><BR />Here is why. After I had used my new Roku heavily for about a day, I found that the upload failure happened. The failure was intermittent, though. Then it became more frequent. When it became so frequent that I couldn't work at all, I tried going back to my first Roku device. It worked! <BR /><BR />Why was it working after a couple days of being powered down? Hypothesis: it had cooled down, and when that happened some system component that fails under high heat comes back to life. My guess is that the failing component is RAM.<BR /><BR />For developers the takeaway is to own two devices and switch between them when uploads on one start failing. Turn the one that's failing off in the meantime, so that it can cool down and be ready to use again when you need it.Sat, 17 Jul 2010 22:35:11 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171751#M3301lucasgonze2010-07-17T22:35:11ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171752#M3302
What's the ambient temperature? Is the Roku on some other device that generates a lot of heat? I haven't seem this behavior, and I have no A/C, but I do most my development at dusk and after. That said, it's been somewhat warm a few times (~80 degrees), and I haven't seen this problem. I haven't seen any overheating issues on my other unit, which is dedicated to normal use, and I've used in MUCH warmer temperatures (&gt; 100.degrees).Mon, 19 Jul 2010 21:28:58 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171752#M3302kbenson2010-07-19T21:28:58ZRe: upload failinghttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171753#M3303
Great idea.<BR /><BR />The ambient temperature is nothing special, but there could be another factor. Sometimes there are things on top that could block the vents, like a yellow sticky note, a Chumby, or a manila folder.Mon, 19 Jul 2010 22:05:06 GMThttps://community.roku.com/t5/Roku-Developer-Program/upload-failing/m-p/171753#M3303lucasgonze2010-07-19T22:05:06Z