Quantcast
Channel: Squeezebox : Community : Forums - 3rd Party Software
Viewing all articles
Browse latest Browse all 2059

Best way to solve "Redirection Limit Exceeded" errors?

$
0
0
Howdy,
recently I came into an HTTP redir error that prevents me from getting the awsome Shairtunes into my LMS 7.9 plugins list.
The URL is correct. I scanned the forums and saw the issue is not exclusive to Shairtunes.
With wget on the LMS server I see the http://<repo> URL is being redirected to using https://<repo>, there wget gets unhappy about the domain certificate and download fails.

What would be the way to go in order to solve this ? The workaround I've read about amount to manual plugin install and frankly I don't believe this can be seen as a universal fix.

Below the wget transaction:
Code:

root@montreux:~# wget http://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
--2014-12-21 13:36:33--  http://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
Resolving raw.github.com... 185.31.17.133
Connecting to raw.github.com|185.31.17.133|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.github.com/StuartUSA/shairport_plugin/master/public.xml [following]
--2014-12-21 13:36:33--  https://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
Connecting to raw.github.com|185.31.17.133|:443... connected.
ERROR: certificate common name “www.github.com” doesn’t match requested host name “raw.github.com”.
To connect to raw.github.com insecurely, use ‘--no-check-certificate’.
root@montreux:~#
root@montreux:~# wget --no-check-certificate http://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
--2014-12-21 13:37:01--  http://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
Resolving raw.github.com... 185.31.17.133
Connecting to raw.github.com|185.31.17.133|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.github.com/StuartUSA/shairport_plugin/master/public.xml [following]
--2014-12-21 13:37:02--  https://raw.github.com/StuartUSA/shairport_plugin/master/public.xml
Connecting to raw.github.com|185.31.17.133|:443... connected.
WARNING: certificate common name “www.github.com” doesn’t match requested host name “raw.github.com”.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/StuartUSA/shairport_plugin/master/public.xml [following]
--2014-12-21 13:37:02--  https://raw.githubusercontent.com/StuartUSA/shairport_plugin/master/public.xml
Resolving raw.githubusercontent.com... 185.31.19.133
Connecting to raw.githubusercontent.com|185.31.19.133|:443... connected.
WARNING: certificate common name “www.github.com” doesn’t match requested host name “raw.githubusercontent.com”.
HTTP request sent, awaiting response... 200 OK
Length: 620 [text/plain]
Saving to: “public.xml”

100%[================================================================================================>] 620        --.-K/s  in 0s     

2014-12-21 13:37:02 (10.5 MB/s) - “public.xml” saved [620/620]

root@montreux:~#

And LMS server info:
Code:

Logitech Media Server Version: 7.9.0 - 1417184790 @ Sat Nov 29 04:06:35 UTC 2014
Hostname: montreux
Server IP Address: 172.17.0.20
Server HTTP Port Number: 9000
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.10.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 4


Viewing all articles
Browse latest Browse all 2059

Trending Articles