The problem appears to be in Slim::Networking::Async::HTTP

Code:
--------------------
    
  [17-07-22 11:23:59.1358] 
Slim::Networking::SimpleAsyncHTTP::_createHTTPRequest (110) GETing 
https://www.francebleu.fr/s3/cruiser-production/2017/06/78513dba-8c0e-49c3-bdf9-13a04833c1ef/400x400_rf_omm_0001539964_dnc.0069795301.jpg
  [17-07-22 11:23:59.1483] Slim::Networking::Async::connect (108) Connecting to 
www.francebleu.fr:443
  [17-07-22 11:23:59.5939] Slim::Networking::Async::_async_connect (181) 
Slim::Networking::Async::Socket::HTTPS=GLOB(0x7f1fc40) => 44 connected, ready 
to write request
  [17-07-22 11:23:59.6008] Slim::Networking::Async::write_async (211) Sending: 
[GET 
/s3/cruiser-production/2017/06/78513dba-8c0e-49c3-bdf9-13a04833c1ef/400x400_rf_omm_0001539964_dnc.0069795301.jpg
 HTTP/1.0
  Connection: close
  Cache-Control: no-cache
  Accept: */*
  Accept-Encoding: deflate, gzip
  Accept-Language: en
  Host: www.francebleu.fr:443
  User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; EN; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.0/1484464958
  Icy-Metadata: 1
  
  ]
  [17-07-22 11:23:59.6802] Slim::Networking::Async::HTTP::_http_read (326) 
Headers read. code: 503 status: www.francebleu.fr:443is not a valid Host.
  
  
--------------------

It is recognizing that the request is https and so puts port 443 on the
end of the hostname in the http header but then things go wrong.
Not worked out why yet.
If the issue was that there is no SSL support in LMS then should have
printed error saying:
Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL
servers in non-SSL mode
which it does not appear to do.



Paul Webster
http://dabdig.blogspot.com
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=106900

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to