Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress


:D Solved.

Switched to the official DEV Image lmscommunity/logitechmediaserver
instead of the old logicwar/logitechmediaserver, because even after apt
update/upgrade/install the perl ssl lib stayed at  2.024

Server Info is now: 
Version: 8.3.0 - 1640614615 @ Mon Dec 27 15:51:43 CET 2021
Operating system: Debian (Docker) - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.32.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 1.05
IO::Socket::SSL: 2.069
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

and https is working again.

Thanx everyone for your help.



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread bpa


Flyfress wrote: 
> If you mean by "Tune-in box on the LMS WebGUI" adding a favorite, then
> no, the https link does not work. 

No the "Tune-in "box is the box in the standard WebGUI Radio menu called
"Tune-In URL"
IIRC If you are using Material then it is the "+" to "Add URL to Queue"



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Michael Herger

I also found lmscommunity/logitechmediaserver on the dockerhub, but this
image does not show up on my qnap docker station.


Can't you do a search for images there?


I am still trying to figure if IO::Socket::SSL is container related or
QNAP OS related...I keep looking...


It's a container limitation. The underlying system is dated.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress


bpa wrote: 
> If it doesn't play using the Tune-in box on the LMS WebGUI - then the
> issue is SSL/TLS related - the station requires a higher level of
> security that the version of IO::Socket::SSL and maybe OpenSSL on your
> system.

If you mean by "Tune-in box on the LMS WebGUI" adding a favorite, then
no, the https link does not work. The http link works. The higher level
of security is also a good point...I have the lastest Qnap FW...I would
assume this should be supported..but I keep on looking..



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress

Flyfress wrote: 
> Good Point..I downloaded an container some times ago and I only updated
> the LMSnever occured to me that the container also could be the
> problem...¨
> Where do I find an official container Image ?

I just pulled the latest image:
logicwar/logitechmediaserver:latest-data-2, and  IO::Socket::SSL: is
still 2.024  ...

I also found lmscommunity/logitechmediaserver on the dockerhub, but this
image does not show up on my qnap docker station.

I am still trying to figure if IO::Socket::SSL is container related or
QNAP OS related...I keep looking...



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread bpa


Flyfress wrote: 
> I tested the link on my local PC, not on LMS. How can I test it on LMS ?
> I only see the error in the server.log when the client is trying to
> access the URL.

If it doesn't play using the Tune-in box on the LMS WebGUI - then the
issue is SSL/TLS related - the station requires a higher level of
security that the version of IO::Socket::SSL and maybe OpenSSL on your
system.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress


bpa wrote: 
> If it works and plays OK on LMS - then IO::Socket::SSL is not the issue
> but a problem with Tune-in returning a playable URL.

I tested the link on my local PC, not on LMS. How can I test it on LMS ?
I only see the error in the server.log when the client is trying to
access the URL.



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread bpa


Flyfress wrote: 
> If I paste this on my PC in a Browser, this works, yes.

If it works and plays OK on LMS - then IO::Socket::SSL is not the issue
but a problem with Tune-in returning a playable URL.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress

mherger wrote: 
> The SSL support in your container is outdated (IO::Socket::SSL). You
> might want to use the official image instead?

Good Point..I downloaded an container some times ago and I only updated
the LMSnever occured to me that the container also could be the
problem...¨
Where do I find an official container Image ?



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress


bpa wrote: 
> If you paste this URL into Tune-in on GUI - does it play 
> 
> https://s2.ssl-stream.com/radio/8210/radio.mp3?DIST=TuneIn

If I paste this on my PC in a Browser, this works, yes.



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread mherger


The SSL support in your container is outdated (IO::Socket::SSL). You
might want to use the official image instead?



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread bpa


If you paste this URL into Tune-in on GUI - does it play 

https://s2.ssl-stream.com/radio/8210/radio.mp3?DIST=TuneIn



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Can't connect to remote server when using HTTPS

2021-12-29 Thread Flyfress


In the LMS server.log I see the error "Can't connect to remote server to
retrieve playlist for" when the radio wants to connect to
https://s2.ssl-stream.com/radio/8210/radio.mp3[/url] (I get this URL by
doing a Radio Search).
When I define an favorite with no https
(http://s2.ssl-stream.com/radio/8210/radio.mp3[/url]), everything works
fine.

"Proxied Streaming" is used by the Squeeze Box Radio.

I read that https is supported when using LMS. And it seems that the
connection is refused on the remote part ? I cannot figure out why.
Perhaps anyone has an idea ?

Here is the server log:
[21-12-29 13:10:51.7202] Slim::Networking::Async::DNS::resolve (43)
Using cached DNS response 104.17.106.184 for opml.radiotime.com
[21-12-29 13:10:51.7262] Slim::Networking::Async::DNS::resolve (43)
Using cached DNS response 104.17.106.184 for opml.radiotime.com
[21-12-29 13:10:51.9248] Slim::Networking::Async::DNS::resolve (43)
Using cached DNS response 51.75.147.168 for s2.ssl-stream.com
[21-12-29 13:10:51.9428] Slim::Networking::Async::DNS::resolve (43)
Using cached DNS response 104.17.106.184 for opml.radiotime.com
[21-12-29 13:10:51.9657] Slim::Utils::Scanner::Remote::__ANON__ (236)
Error: Can't connect to remote server to retrieve playlist for,
https://s2.ssl-stream.com/radio/8210/radio.mp3?DIST=TuneIn=TuneIn=2=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTY0MDc4MzQ1MSwiaXNzIjoidGlzcnYifQ.qeNk8gqYjDPXo3HNa3VVOBL9UHnRJtdNgy7jiDrTHN8:
Connect timed out: .
[21-12-29 13:10:52.0075] Slim::Player::Protocols::HTTPS::new (49)
Couldn't create socket binding to  with timeout: 15 - 
[21-12-29 13:10:52.0081] Slim::Player::Song::open (499) Warning: stream
failed to open
[https://s2.ssl-stream.com/radio/8210/radio.mp3?DIST=TuneIn=TuneIn=2=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTY0MDc4MzQ1MSwiaXNzIjoidGlzcnYifQ.qeNk8gqYjDPXo3HNa3VVOBL9UHnRJtdNgy7jiDrTHN8].
[21-12-29 13:11:05.2939] Slim::Utils::Scanner::Remote::__ANON__ (236)
Error: Can't connect to remote server to retrieve playlist for,
https://s2.ssl-stream.com/radio/8190/radio.mp3?DIST=TuneIn=TuneIn=2=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTY0MDc4MzQ1MCwiaXNzIjoidGlzcnYifQ.NiYwhjop62Y_mNXu8jHnJuAZzr33j3Pk4XsyNb-5Lcs:
Connect timed out: Bad file descriptor.


LMS VERSION:
Version: 8.3.0 - 1640614615 @ Mon 27 Dec 2021 03:55:06 PM CET
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.22.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.95
IO::Socket::SSL: 2.024
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

LMS is running in an *Container on a QNAP NAS.*

CLIENT VERSION:
Player Model: Squeezebox Radio
Player Type: baby
Firmware: 7.7.3-r16676



Flyfress's Profile: http://forums.slimdevices.com/member.php?userid=72411
View this thread: http://forums.slimdevices.com/showthread.php?t=115653

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter