Bugzilla – Bug 7505
Cannot update Jive if customer has a dial-up connection
Last modified: 2009-09-08 09:18:20 UTC
I have been helping a customer with his Duet setup and he cannot update the firmware on the Jive because he only has a dial-up connection. We've tried numerous times and the update always fails.
Did you try to update over SN or is SC not able to download the file? What exactly did you try?
SC is not able to download the file, or so I heard from Julius. James: can you reproduce and attach a log with the error from the downloading?
SqueezeCenter does not fully download the file when Software Update is initiated from the Controller. We looked at the jive.bin file in the customer's cache folder and it is smaller in size compared to the one in my cache folder. So it doesn't fully download and the Software update on the jive times out.
Andy: is it possible that the fw downloader has a race condition where it offers an update to the user before it's finished downloading?
I don't know why the download would fail on dialup, but it will take a *long* time. Did you wait long enough? The jive.bin file SC downloads should not be saved unless the SHA1 checksum matches, were you perhaps looking at the temp file which is the in-progress download? Anyway, doesn't the box say "Broadband required"?
The issue may be that the Jive tries to update before the download has completed. Are you confident that this won't happen? And the box doesn't say broadband required, except for internet radio and music services.
Pretty sure, there was a bug a while back about Jive telling you to update before the file was downloaded.
QA should repro using an artificially throttled linux system.
This is a reminder that this bug is to QA for 7.1. Please review these bugs!
Ross, can you see if Matt Wise or Brandon has ideas on how to create a throttle, or ask Mr. Google?
Created attachment 3650 [details] jive log during firmware update failure I finally managed to slow things down with dd-wrt special edition. I have a PC with SC 7.0 connected to a router, which has a 50kbps connection to the Internet. The router is wireless, Duet connects just fine to the network and SBR updates firmware (18 - 22) successfully. SBC however gives READ ME notification pointing to settings - advanced - software update, which I try and it immediately fails.
Are you using SC for this test? Does SC download the jive.bin file correctly? player.firmware debug will show this. The reason you might be seeing the old menu is because SC hasn't downloaded the new firmware yet, so it doesn't offer you anything to update. What happens if you wait until it downloads?
[08-07-23 11:21:32.1184] Slim::Networking::Async::HTTP::_http_error (264) Error: [500 Internal Server Error] [08-07-23 11:21:32.1210] Slim::Utils::Firmware::downloadAsyncError (500) Warning: Firmware: Failed to download http://update.squeezenetwork.com/update/firmware/7.0/jive.version (500 Internal Server Error), will try again in 10 minutes. There is no jive bin file in the cache directory, this error message is repeated 5 times in the server log.
Weird, can you access that URL in a browser?
Created attachment 3662 [details] screen shot of jive update url I forgot to mention this is all not on production Squeeze Network, is that an issue?
Maybe, update.squeezenetwork.com is not really an SN URL, and it should resolve to 207.7.156.2. You may need to try the non-hacked-DNS network.
Thanks Andy and Matt Wise for help understanding the DNS-hacked network issue I was running into. Back on the normal network this works exactly as it should, slowly, but it works fine. I've upgraded from MP to 7.0 twice without any issues. Julius / Support, please feel free to re-open this bug with more information. I would be most interested in specific network topology, and please try to include SC version number. Also the ticket number(s) :)
Reduce number of active targets for SC