Bug 7505 - Cannot update Jive if customer has a dial-up connection
: Cannot update Jive if customer has a dial-up connection
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Controller
: unspecified
: PC Other
: -- normal (vote)
: 7.x
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-13 16:35 UTC by Julius Dauz
Modified: 2009-09-08 09:18 UTC (History)
5 users (show)

See Also:
Category: ---


Attachments
jive log during firmware update failure (14.93 KB, application/octet-stream)
2008-07-22 17:45 UTC, Ross Levine
Details
screen shot of jive update url (26.13 KB, image/jpeg)
2008-07-23 11:33 UTC, Ross Levine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julius Dauz 2008-03-13 16:35:54 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.
Comment 1 Michael Herger 2008-03-14 02:00:40 UTC
Did you try to update over SN or is SC not able to download the file? What exactly did you try?
Comment 2 Blackketter Dean 2008-03-14 07:35:25 UTC
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?
Comment 3 Julius Dauz 2008-03-19 11:01:18 UTC
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.
Comment 4 Blackketter Dean 2008-03-19 11:18:59 UTC
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?
Comment 5 Andy Grundman 2008-03-19 11:38:05 UTC
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"?
Comment 6 Blackketter Dean 2008-03-19 12:06:17 UTC
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.
Comment 7 Andy Grundman 2008-03-19 12:07:51 UTC
Pretty sure, there was a bug a while back about Jive telling you to update before the file was downloaded.
Comment 8 Chris Owens 2008-06-04 11:53:28 UTC
QA should repro using an artificially throttled linux system.
Comment 9 Chris Owens 2008-06-19 10:50:17 UTC
This is a reminder that this bug is to QA for 7.1.  Please review these bugs!
Comment 10 Chris Owens 2008-06-23 10:20:31 UTC
Ross, can you see if Matt Wise or Brandon has ideas on how to create a throttle, or ask Mr. Google?
Comment 11 Ross Levine 2008-07-22 17:45:06 UTC
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.
Comment 12 Andy Grundman 2008-07-22 17:53:50 UTC
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?
Comment 13 Ross Levine 2008-07-23 11:27:17 UTC
[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. 
Comment 14 Andy Grundman 2008-07-23 11:28:51 UTC
Weird, can you access that URL in a browser?
Comment 15 Ross Levine 2008-07-23 11:33:03 UTC
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?
Comment 16 Andy Grundman 2008-07-23 11:34:42 UTC
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.
Comment 17 Ross Levine 2008-07-23 12:30:22 UTC
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) :)
Comment 18 Chris Owens 2009-07-31 10:18:01 UTC
Reduce number of active targets for SC