mherger wrote:
> Could you please give the following another try:
>
> >
Code:
--------------------
> > perl -MLWP::UserAgent -MIO::Socket::SSL -MData::Dumper -e
'IO::Socket::SSL::set_defaults(SSL_verify_mode => Net::SSLeay::VERIFY_NONE());
my $ua = LWP::UserAgent->new(); my $r =
$ua->get("https://api.spotify.com/v1/me/albums?limit=50&offset=0"); print
Dumper($r);'
--------------------
> >
>
> I think you know how to edit a file from a shell, right? Could you
> please add the following line to Slim/Networking/SimpleSyncHTTP.pm,
> line 37 (after the eval()):
>
> >
Code:
--------------------
> > warn $@ if $@
--------------------
> >
>
> Then re-run a scan. Would something be logged?
Perl command output:
30339
Here is my modified SimpleSyncHTTP.pm. Hopefully got this right:
Code:
--------------------
eval {
require IO::Socket::SSL;
# our old LWP::UserAgent doesn't support ssl_opts yet
IO::Socket::SSL::set_defaults(
SSL_verify_mode => Net::SSLeay::VERIFY_NONE()
) if preferences('server')->get('insecureHTTPS');
$hasSSL = 1;
};
warn $@ if $@;
return $hasSSL;
}
--------------------
Re-scaned online content with Spotty.debug and above modified code.
Nothing new in server.log. Here is the scan debug output:
30340
+-------------------------------------------------------------------+
|Filename: SpottyScanError2.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30340|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
Czig's Profile: http://forums.slimdevices.com/member.php?userid=68882
View this thread: http://forums.slimdevices.com/showthread.php?t=111923
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins