Discussion:
[SlimDevices: Radio] Squeezebox Radios and Touches fail to connect - 'can't resolve IP address'.
bpa
2018-09-13 18:01:20 UTC
Permalink
"Cannot resolve IP address" is usually a network problem - specifically
DNS. There is no point reinstalling plugins or even LMS as that won't
help unless you think something has got corrupted. You may also be
experienncing a separate BBC problem where ther feed for "Listen Again"
has broken. This should not affect live station.

What version is the LMS ? IIRC LMS used to use some specific DNS server
to test network connection not necessarily the one confgured.

If the sourceforge and repos cannot be accessed - you have some sort of
network issues. Usual starting point is to reboot all network devices to
clear caches etc. - modem,router and LMS system. All off and then bring
them up one ata time modem, router and finally LMS.

Do you have anything special in your network such as a VPN, dual network
interface etc.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
Paul Webster
2018-09-14 13:22:49 UTC
Permalink
Forget the BBC issue - that is a different problem (see other recent
threads with BBC in the title).



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
bpa
2018-09-14 13:40:02 UTC
Permalink
This is all very confusing. It is strange, of all the software on NAS &
PC, it is only LMS apparently unable to access the BBC streaming sites.
My inclination now is to perform a factory rest on the modem/router. Any
other thoughts?
There are separate BBC problems.
Live streams work OK both through LMS BBC App and through BBCiPlayer
plugin (v1.5.*) .
"Listen Again" through BBCiPlayer plugin (v1.5.*) have a 404 due to a
BBC problem. Nothing can be done to fix this.
Playing "Listen Again" program through BBCiPlayerExtra - a very small
number of users have a "Redirection limit exceeded)" error. Clearing
cach may fix this.

Regarding "couldn’t resolve IP address for" - can you play any internet
stream under Radio menu "Staff Picks" ? - this may help determine if
you have a separate network problem.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
bpa
2018-09-15 09:13:52 UTC
Permalink
Hi bpa
Thanks as ever for your input. I now realise others have been
experiencing near enough the same problems as me - in particular agbagb
in the 3rd party software forum. I have only recently looked at that but
hadn't thought of posting there. I'd assumed the 'cannot resolve IP
address' and the 'Listen again' issue were related because, for me, they
both began at the same time - Monday of this week.
For clarification I now realise the '404 Not found' message was only
when trying to play 'BBC iPlayer - Listen Again' and the 'redirection
limit' message was only when trying to use the 'BBC iPlayer Extras'.
Apologies for my confusion.
I have tried playing a selection from each of the 7 of the 'Staff Picks'
members. I could get some of the selections from each staff member to
play, but not all. When a failure occurred the error message variously
said ' redirection limit exceeded', 'no items in playlist', 'connection
reset by local host', 'timed out', '404 - couldn't resolve IP address'.
From past recollection not all Staff Picks played in the past but I do
not recall their error messages.
I'd like to try clearing the cache. My cumbersome way of restarting the
LMS on the NAS was to temporarily enable one of the standard plug-ins.
This necessitated a restart but I'd like to be able to shut down the LMS
on the NAS to delete the cache.db file, accessing the NAS via WinSCP.
'Simple ' question - how do I shut down LMS rather than restart?
1. Some "redirection" errors are due to a site moving over to https
from http. IIRC A number of changes were made to LMS between 7.9.0 and
7.9.2 were to improve "https" support as new instances of its use became
prevalent. If so, I would consider those errors as separate from other
network errors.
2. "connection reset by local host" really means a network connection
problem - it is as a result of TCP communication in one direction has
broken down - look at all items in network: network interfaces/sockets,
cables, routers. If using Wifi - look at neighbouring networks which
although you may have a strong signal - a nearby strong signal on
same/nearby channel can interfere with a strong signal.
3. IIRC LMS cache has a 15min expiry timer. In theory leaving LMS
shutdown should clear cache. In practice I prefer much longer say 30
mins. All NAS are different so simplest answer is to shut down NAS -
perhaps overnight or when you are out for a while.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
rmgalley
2018-09-16 00:26:21 UTC
Permalink
Post by bpa
1. Some "redirection" errors are due to a site moving over to https
from http. IIRC A number of changes were made to LMS between 7.9.0 and
7.9.2 were to improve "https" support as new instances of its use became
prevalent. If so, I would consider those errors as separate from other
network errors.
5. IIRC LMS cache has a 15min expiry timer. In theory leaving LMS
shutdown should clear cache. In practice I prefer much longer say 30
mins. All NAS are different so simplest answer is to shut down NAS -
perhaps overnight or when you are out for a while.
Thanks again bpa for your help. Returning to the 'redirection' problem,
earlier this evening I shut down my NAS for 3œ hours but the problem
persisted after restarting. Next I tied uninstalling LMS from the NAS
and, for good measure, rebooting the NAS. I re-installed LMS and,
following that, the latest versions of BBC iPlayer and BBC iPlayer
Extras from
http://downloads.sourceforge.net/project/bpaplugins/default-menu.opml.

As expected the 404 error on 'Listen Again' remained but so also did the
'redirection' error message when attempting to play any iPlayer Extras
content. I am beginning to think the BBC also made some change here when
they removed the working URLs for the 'Listen Again' content. They
seemed to begin at the same time.

I next want to examine the temporary LMS on the Windows 7 PC. I'll begin
by uninstalling the version I have now and try earlier ones as I've
never been able to log in to my 'mysqueezebox.com' account. I'll report
back.


------------------------------------------------------------------------
rmgalley's Profile: http://forums.slimdevices.com/member.php?userid=54573
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
bpa
2018-09-16 08:51:03 UTC
Permalink
Post by rmgalley
Thanks again bpa for your help. Returning to the 'redirection' problem,
earlier this evening I shut down my NAS for 3œ hours but the problem
persisted after restarting. Next I tied uninstalling LMS from the NAS
and, for good measure, rebooting the NAS. I re-installed LMS and,
following that, the latest versions of BBC iPlayer and BBC iPlayer
Extras from
http://downloads.sourceforge.net/project/bpaplugins/default-menu.opml.
Unless you have disk corruption these sort of errors are rarely solved
by reinstalling LMS or plugins. The version of BBCiPlayerExtra that
matters is v2.0.0. Please use latest 7.9.* only - and do not test or
use 7.7.* as its support of https is uncertain and so a waste of time
when debugging.
Post by rmgalley
As expected the 404 error on 'Listen Again' remained but so also did the
'redirection' error message when attempting to play any iPlayer Extras
content. I am beginning to think the BBC also made some change here when
they removed the working URLs for the 'Listen Again' content. They
seemed to begin at the same time.
The 404 error will remain that way so no piint retesting unless you just
want to prove your other network error ("cannot resolve") has gone
away.

I think the "redirection" error is caused by BBC rediredcting a http
request to a https one. If you are running LMS 7.7.* I think this did
not support https fully. IIRC there was some bugs fixes for https
applied restrospectivley to 7.7.5 onwards but I don't know if it is
possible to confirm that on your system. I tested latest 7.7.5 for this
https issue on BBCiPLayerExtra and it worked OK.

You can check this by
1. Going to a BBCiPlayerExtra Station A-Z Menu.
2. Enabling logging network.asynchttp to DEBUG
3. Click on a letter menu in the BBCiPlayerExtra (e.g. "A")
4. Disable logging by setting network.asynchttp to ERROR

Look at log file for messages from Asynchttp routines. Enabling
network.asynchttp to DEBUG can generate a lot of message so the above
method should results in small amount by ensuring it is enabled for a
small amount.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
rmgalley
2018-09-17 23:52:32 UTC
Permalink
Firstly some progress. I set up LMS 7.9.0 on a second Windows 7 Pro
64-bit PC. Everything installed as expected and I could successfully log
in to my ‘mysqueezebox.com’ account. I was not getting any account
validation problems. Nor was I getting any ‘bad repository’ messages at
the top of the Plugins page. I was also able to install BBC iPlayer
1.5.3 and BBC iPlayer Extras 2.0.0 and the later, in particular, was
able to access content without any ‘redirection’ errors. This seems to
verify the integrity or merit of the modem/router and the broadband
connection.

I returned to my normal Windows 7 Pro 64-bit PC. I uninstalled LMS and
started over. I am not sure what was different this time, possibly
something to do with Administrator privileges, but like the second PC
everything worked correctly. I was able to log in to my
‘mysqueezebox.com’ account and install both BBC iPlayer plug-ins.

Since then LMS 7.9.1 was offered so that had been successfully installed
on both Windows machines. Operation on both was normal with the
exception of the ‘Listen Live’
Post by bpa
I think the "redirection" error is caused by BBC rediredcting a http
request to a https one. If you are running LMS 7.7.* I think this did
not support https fully. IIRC there was some bugs fixes for https
applied restrospectivley to 7.7.5 onwards but I don't know if it is
possible to confirm that on your system. I tested latest 7.7.5 for this
https issue on BBCiPLayerExtra and it worked OK.
You can check this by
1. Going to a BBCiPlayerExtra Station A-Z Menu.
2. Enabling logging network.asynchttp to DEBUG
3. Click on a letter menu in the BBCiPlayerExtra (e.g. "A")
4. Disable logging by setting network.asynchttp to ERROR
Look at log file for messages from Asynchttp routines. Enabling
network.asynchttp to DEBUG can generate a lot of message so the above
method should results in small amount by ensuring it is enabled for a
small amount.
I then returned to my ‘normal’ LMS on the Netgear ReadyNAS.

LMS on the NAS is 7.9.0 from the Netgear site. I followed your guidance
for generating an informative log file. There was a lot of content from
many months ago in the Server.log file so I cleared the contents before
following your instructions.

The generated log file contains 7 ‘Redirecting to
https://www.bbc.co.uk/programmes/a-z/by/a/player.json’ requests before
finally a ‘Failed to connect to
http://www.bbc.co.uk:80/programmes/a-z/by/a/player.json (Redirection
limit exceeded)’ line. You surmised correctly the cause of the failure
to connect to the BBC iPlayer Extras content. This had not been a
problem until about a week ago. The log file is attached.

As I do not have the expertise to interpret the log file maybe it will
offer you the necessary clues to finding a
solution.25663


+-------------------------------------------------------------------+
|Filename: server.zip |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25663|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
rmgalley's Profile: http://forums.slimdevices.com/member.php?userid=54573
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
bpa
2018-09-18 07:28:06 UTC
Permalink
Post by rmgalley
The generated log file contains 7 ‘Redirecting to
https://www.bbc.co.uk/programmes/a-z/by/a/player.json’ requests before
finally a ‘Failed to connect to
http://www.bbc.co.uk:80/programmes/a-z/by/a/player.json (Redirection
limit exceeded)’ line. You surmised correctly the cause of the failure
to connect to the BBC iPlayer Extras content. This had not been a
problem until about a week ago. The log file is attached.
I'll look a log file later (other BBC problems have taken up a lot of my
time).

I have tested 7.7.5 and got no "redirection" problem with Perl 5.22 - I
think full support of redirection requires a minimum level of Perl
library. What version of Perl have you got installed ? If it older
than 5.14.2 - then I think libraries may be too old.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
bpa
2018-09-18 10:42:49 UTC
Permalink
The Extra "redirection" problem is a bit academic now since BBCiPlayer
is working again - ensure you have V1.6.0 installed.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
rmgalley
2018-09-18 10:59:21 UTC
Permalink
Post by bpa
The Extra "redirection" problem is a bit academic now since BBCiPlayer
is working again - ensure you have V1.6.0 installed.
Hi, thanks bpa,

I am much indebted to you for your time and expertise, as are so many
others, including thanks to mrw for his/her sleuthing.

Just before hitting the sack last night I noticed v1.6.0 was being
offered. I first verified it installed and worked as expected on the
main Windows 7 PC then installed the new plug-in on the NAS. It was late
and I didn't spent too much time evaluating but AFAICT functionality in
all areas has been restored. Everything worked and there were no
'redirection' error messages.

Thank you so much once again.


------------------------------------------------------------------------
rmgalley's Profile: http://forums.slimdevices.com/member.php?userid=54573
View this thread: http://forums.slimdevices.com/showthread.php?t=109454
Loading...