I posted this error in 3rd Party Software, but was unable to get a fix, so I thought I'd try in LMS.
I'm getting a connection error when attempting to d/l a 3rd party plugin from github and also when attempting to play a track from Band's Campout.
The error is:
Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, https://t4.bcbits.com/stream/310d11a...dd07c47a00336: Connect timed out:
I can play the track in my browser (Safari)
I'm running LMS 7.9.1 on a Mac, 10.11.6, El Capitain
Responses point to a possible outdated SSL.
I updated IO::Socket::SSL to 2.060 and Net::SSLeay to 1.85 but still cannot connect.
Anything else I can try to fix this?
Results 1 to 10 of 17
-
2018-11-11, 16:10 #1
3rd party plugins Download Error (unable to connect)
Last edited by Tony T; 2018-11-12 at 06:16.
Tony
SBTouch ♪ SBRadio ♬
-
2018-11-11, 22:47 #2
=?utf-8?q?Error=3A_Can=27t_connect_t?==?utf-8?q?o_remote_server_to_retrieve=E2=80=A6=2E?=
> I'm running LMS 7.9.1 on a Mac, 10.11.6, El Capitain
> Responses point to a possible outdated SSL.
> I updated IO::Socket::SSL to 2.060 and Net::SSLeay to 1.85 but still
> cannot connect.
As outlined before, this is a problem with El Capitan being outdated in
some aspect(s). I tried to pull some of those URLs using curl, and it
failed in similar ways. It might be the openssl implementation used on
El Capitan - in which case updating the Perl modules wouldn't help.
From your previous postings it wasn't clear to me what exactly you
tried: you mentioned a new Perl version as well as updating the two
modules mentioned above. Were these two independent attempts? Maybe you
should look into updating OpenSSL?
And your thread title should be a bit more specific, or it will soon be
"spammed" with lots of totally unrelated issues...
--
Michael
-
2018-11-12, 06:13 #3
3rd party plugins Download Error (unable to connect)
So, to re-cap (I'll use the 3rd party plug-in issue as an example, though looks like the same issue with Band's Campout),
1) I updated perl to 5.28, however, I didn't realize until then that LMS does not use /usr/local/bin/perl, so 5.18 in
/usr/bin/perl is still used.
2) Next I updated perl 5.18 IO::Socket::SSL and Net::SSLeay (using sudo /usr/bin/perl -MCPAN -e 'install …')
Still unable to install "Material Skin"
(getting error: Slim::Utils::PluginDownloader::_downloadError (217) unable to download MaterialSkin from https://github.com/CDrummond/lms-mat...rial-0.0.9.zip - Connect timed out: )
(also, tried editing this Thread Title, but didn't see an option to do so)
I don't remember if I tried curl before, but I'm able to d/l using curl:
curl -L https://github.com/CDrummond/lms-mat...rial-0.0.9.zip >~/Desktop/lms-material-0.0.9.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 613 0 613 0 0 772 0 --:--:-- --:--:-- --:--:-- 772
100 426k 100 426k 0 0 222k 0 0:00:01 0:00:01 --:--:— 939k
Did you try curl with the "-L" option?Last edited by Tony T; 2018-11-12 at 06:51.
Tony
SBTouch ♪ SBRadio ♬
-
2018-11-12, 22:28 #4
=?utf-8?q?Error=3A_Can=27t_connect_t?==?utf-8?q?o_remote_server_to_retrieve=E2=80=A6=2E?=
> 1) I updated perl to 5.28, however, I didn't realize until then that LMS
> does not use /usr/local/bin/perl, so 5.18 in
> /usr/bin/perl is used.
>
> 2) Next I updated IO::Socket::SSL and Net::SSLeay (using sudo
> /usr/bin/perl -MCPAN -e 'install …')
And you did so for Perl 5.18?
> curl -L
> https://github.com/CDrummond/lms-mat...rial-0.0.9.zip
>> ~/Desktop/lms-material-0.0.9.zip
Oops... my bad.
But I guess the following would still fail?
perl -MLWP::Simple -e 'print
getstore("https://github.com/CDrummond/lms-material/releases/download/0.0.8/lms-material-0.0.8.zip",
"test.zip")'
(assuming you have LWP::Simple installed)
I'm sorry to say, but I haven't any good response yet. Nor a solution
for this problem :-(.
--
Michael
-
2018-11-13, 06:33 #5
-
2018-11-13, 06:45 #6
=?utf-8?q?Error=3A_Can=27t_connect_t?==?utf-8?q?o_remote_server_to_retrieve=E2=80=A6=2E?=
> Also fails on macOS Sierra 10.12.6
Did you double-check you have LWP::Simple installed? How would it fail?
--
Michael
-
2018-11-13, 06:55 #7
-
2018-11-13, 07:06 #8
=?utf-8?q?Error=3A_Can=27t_connect_t?==?utf-8?q?o_remote_server_to_retrieve=E2=80=A6=2E?=
> I get an error of 500 returned.
Wow, this sucks... I don't have any Sierra left. But I'll have to google
around.
--
Michael
-
2018-11-13, 07:07 #9
=?utf-8?q?Error=3A_Can=27t_connect_t?==?utf-8?q?o_remote_server_to_retrieve=E2=80=A6=2E?=
Could you please try the procedure outlined in the first comment of this
blog post?
https://digitalbarbedwire.com/2016/0...macos-x-10-11/
Or some of this:
https://stackoverflow.com/questions/...s-x-el-capitan
Basically they're updating OpenSSL using homebrew, then build the necessary Perl modules using this instead of OSX' OpenSSL.
--
MichaelLast edited by mherger; 2018-11-13 at 07:11.
-
2018-11-13, 07:17 #10
I tried that a day or so ago without success (found the same sites, and more, googling)
(Note: The paths given in the 1st comment of that blog post is not the path used when a new version of openssl is installed on OS X (see 2) below for the correct path)
I installed the newer version of openssl and then reran /usr/bin/perl -MCPAN -e 'install Net::SSLeay' (and IO::Socket::SSL)
Now I'm thinking that possibly the update did not re-install with the newer openssl since the latest versions of Net::SSLeay and IO::Socket::SSL were already installed, so I tried a force install with cpan and...
SUCCESS!!!
I can now access Band's Campout and install Material Skin.
Anyone having this problem with macOS, these are the steps to perform:
1) D/L and install the current openssl (https://www.openssl.org) (read the INSTALL file for instructions)
2) Set paths:
export CPATH=/usr/local/include/openssl
export LIBRARY_PATH=/usr/local/lib
3) If you have an updated Perl in /usr/local/bin, make sure your path 1st points to /usr/bin
export PATH=/usr/bin:/usr/local/bin:/bin:/usr/sbin:/sbin
4) sudo /usr/bin/perl -MCPAN -e 'install Net::SSLeay'
5) sudo /usr/bin/perl -MCPAN -e 'install IO::Socket::SSL'
If still not working, try a force install with cpan:
1) sudo cpan
2) force install Net::SSLeay
3) force install IO::Socket::SSL
TonyLast edited by Tony T; 2018-11-13 at 11:57.
Tony
SBTouch ♪ SBRadio ♬