505 wrote: 
> Is this also on a Synology. A time-out it quite difficult to debug for
> me, since it is not really a script error. I've tested it on my main
> server (Linux ARM/SheevaPlug) and a virtual machine (Ubuntu on
> VirtualBox). Both work without a problem.
> It will be a while before I can test it on a Synology.
> 
If this is the same problem as we have seen on one Synology device in
ickStream I'm starting to think that it's caused by the https peer
verification not working in Perl on some Synology devices. I think it
works with SSODS but not with the standard Synology distribution of LMS.
It also seems to work on some devices but not on others, so it's
probably related to which version of Synology hardware/software that's
used.

In a test script it seems to help to call:

Code:
--------------------
    
  IO::Socket::SSL::set_client_defaults('SSL_verify_mode' => 0x0);
  
--------------------

But unfortunately this doesn't work when used from inside LMS because
LMS doesn't seem to be able to load IO::Socket::SSL even if it's
installed on the device part of @INC and definitely works in the test
script. The disadvantage of using set_client_defaults is also that it
disables peer verification in whole LMS not just for SoundCloud.

Just thought I'd post this in case it gives you any clues since I also
got confused by the timeout error, in the ickStream case it was
definitely not a timeout causing the problem but we still got a timeout
message in the logs. Unfortunately I don't have a Synology device yet to
do more detailed testing with myself.



Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))

*Interested in the future of music streaming ? 'ickStream -  A world of
music at your fingertips'
(http://forums.slimdevices.com/showthread.php?98467-Pre-Announcement-ickStream&p=743516)*.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92723

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to