Bugzilla – Bug 7467
jive_url() doesn't use the current IP address
Last modified: 2008-03-10 11:00:45 UTC
jive_url() returns a URL containing the IP address the computer had when the server was started. If the machine has gotten a different address since then, jive_url() will return the old (wrong) IP address. This causes the poor little Jive controller to get infinitely stuck trying to download the new firmware, from a server that doesn't exist (any more). I only managed to figure out what was going on my sneaking into the Jive advanced settings before it got caught in the upgrade loop, enabling SSH, and watching /var/log/messages to see that it was trying to access an old IP address. (Then I had to figure out that SC was the culprit.)
Actually SC sends a relative URL now and Jive just uses the IP/port it already knows about to construct the URL. # always send the upgrade url this is also used if the user opts to upgrade if ( my $url = Slim::Utils::Firmware->jive_url() ) { # Bug 6828, Send relative firmware URLs for Jive versions which support it my ($cur_rev) = $firmwareVersion =~ m/\sr(\d+)/; if ( $cur_rev >= 1659 ) { $request->addResult( relativeFirmwareUrl => URI->new($url)->path ); } else { $request->addResult( firmwareUrl => $url ); } } *** This bug has been marked as a duplicate of 6828 ***