Bug 11919 - Stuck on 'can't connect' page when Local SC (only) does not have firmware
: Stuck on 'can't connect' page when Local SC (only) does not have firmware
Status: RESOLVED WONTFIX
Product: SqueezePlay
Classification: Unclassified
Component: Networking
: unspecified
: PC Windows XP
: P1 normal (vote)
: 7.4.0
Assigned To: Wadzinski Tom
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-28 14:21 UTC by James Richardson
Modified: 2009-09-08 09:20 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
serial capture (84.71 KB, text/plain)
2009-04-28 14:21 UTC, James Richardson
Details
new error log (91.18 KB, text/plain)
2009-04-28 15:03 UTC, James Richardson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2009-04-28 14:21:07 UTC
Created attachment 5166 [details]
serial capture

+++ This bug was initially created as a clone of Bug #11918 +++

https://bugs-archive.lyrion.org/show_bug.cgi?id=11873

When Fab4 is connected to an AP with no access to SN, no offer to upgrade firmware via Local SqueezeCenter is presented.  Instead, error message 'Can't connect' is presented

1) Factory reset FAB4 with r5472
2) Insert SD card with a firmware => 5472
3) Make sure your AP does not have internet connection
4) Connect Fab4 to AP (wired/wireless)
5) Fab4 will not offer FW upgrade via Local SC, but will error out with 'can't connect'
Comment 1 Wadzinski Tom 2009-04-28 14:41:50 UTC
I am unable to replicate this (wireless or wired connection to AP with no Internet and one or more SCs found). I am getting the FW update page for the SC sources.

According to your attachment, no local SC is being found during the normal SC discovery. Do you have 100% confidence that a SC should be seen in the network setup for your test case?
Comment 2 James Richardson 2009-04-28 15:03:40 UTC
Created attachment 5167 [details]
new error log

New Log.  At the end of the log, just after getting the connection failed message, I break out of the setup and connect to the local running SC with no problem.

NOTE: Local SC does not have a firmware in the //cache directory, could this be why I'm seeing this issue?

If so, we should not give the 'can't connect' error dialog but another dialog message or not error out at all and let the customer connect to local SC.
Comment 3 James Richardson 2009-04-28 15:12:51 UTC
(In reply to comment #2)
> 
> NOTE: Local SC does not have a firmware in the //cache directory, could this be
> why I'm seeing this issue?
> 

Manually inserting Fab4 firmware to the //cache directory did not resolve the issue
Comment 4 Wadzinski Tom 2009-04-28 17:58:13 UTC
Last word on this from campfire was that James is not seeing the SC fw update even with a fab4 bin put into the cache location. To confirm correct placement and naming of those files, James can you try as Andy reports below:

Tom W.
Can someone clue me on on the procedure for putting a manual fab4 FW into a SC directory for download. Is it documented somewhere? I only every have done the auto-download or SD. Is it basically to replicate the names/directory that the auto-download does or is it different.
Andy G.	
you need to call it custom.fab4.bin and custom.fab4.version, then restart SC
Tom W.	
James reports that manual FW place in SC's directory is not being seen by fab4
Andy G.	
he should file a bug with a player.firmware log
Comment 5 James Richardson 2009-04-29 07:49:51 UTC
I am replicating what Auto-Download would do and has done.

I.E. /cache/updates/Fab4_7.4_r5529.bin & fab4.version

I am NOT using the custom.x.x file(s)
Comment 6 James Richardson 2009-04-29 09:57:47 UTC
OK, I have narrowed this down to a Local SC that does not have firmware in /cache/updates folder.

As soon as the firmware is there (and SC restarted) then fab4 will connect and offer firmware upgrade properly.

BUG 11783 is still valid, after firmware upgrade and reboot, Fab4 will attempt to connect to mysqueezebox.com and fail
Comment 7 James Richardson 2009-04-29 09:59:50 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > 
> > NOTE: Local SC does not have a firmware in the //cache directory, could this be
> > why I'm seeing this issue?
> > 
> 
> Manually inserting Fab4 firmware to the //cache directory did not resolve the
> issue

SC needed to be rebooted after placing firmware here, then it works.
Comment 8 Blackketter Dean 2009-04-29 10:15:45 UTC
We need to make sure that we handle this case appropriately (i.e. SC  
doesn't have and can't get the necessary firmware).
Comment 9 Richard Titmuss 2009-07-27 01:13:49 UTC
Reset priority before triage.
Comment 10 James Richardson 2009-07-30 13:53:13 UTC
*** Bug 11836 has been marked as a duplicate of this bug. ***
Comment 11 Seth Schulte 2009-08-04 17:14:19 UTC
Support has confirmed that the "No Internet available. Period." occurs very rarely.

Given that this only affects SCs that don't have firmware in /cache/updates/ (which  should only happen for SCs that are installed on a machine with no Internet access, and thus no background download of the latest firmware) the solution James described below is an acceptable solution.

I.e., Download the latest SC firmware version (using the same Internet connection the user used to get their SC installer, e.g., work PC, the local library, etc.) and then copy it to /cache/updates/