2019-03-20, 21:24
I have kodi set to use port 8081 in its prefs, and also have ssl enabled.
This is what I get when trying to connect to that port using ssl:
2019-03-20 15:15:04.968 T:139816779884288 DEBUG: CWebServer[8081]: request received for /
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer[8081]: request received for c����;X:~�o
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Received malformed line (no colon). Closing connection.
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Error processing request (HTTP response code is 400 (`<html><head><title>Request malformed</title></head><body>Your HTTP request was syntactically incorrect.</body></html>
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Connection was closed while sending response headers.
2019-03-20 15:15:05.071 T:139815404168960 DEBUG: CecLogMessage - >> 80:8f
2019-03-20 15:15:05.184 T:139815404168960 DEBUG: CecLogMessage - >> 08:90:00
2019-03-20 15:15:06.032 T:139815362205440 DEBUG: CWebServer[8081]: request received for /
I've tried all of the ports listed from here with the same results. I only have non-ssl http access on port 8081.
sudo ss -tulpn | grep kodi
udp UNCONN 0 0 *:9777 *:* users("kodi-gbm",pid=29765,fd=73))
tcp LISTEN 0 5 127.0.0.1:38925 0.0.0.0:* users("kodi-gbm",pid=29765,fd=57))
tcp LISTEN 0 5 127.0.0.1:54829 0.0.0.0:* users("kodi-gbm",pid=29765,fd=77))
tcp LISTEN 0 5 127.0.0.1:51727 0.0.0.0:* users("kodi-gbm",pid=29765,fd=54))
tcp LISTEN 0 128 0.0.0.0:8081 0.0.0.0:* users("kodi-gbm",pid=29765,fd=70))
tcp LISTEN 0 5 127.0.0.1:52307 0.0.0.0:* users("kodi-gbm",pid=29765,fd=75))
tcp LISTEN 0 10 0.0.0.0:9090 0.0.0.0:* users("kodi-gbm",pid=29765,fd=71))
tcp LISTEN 0 128 [::]:8081 [::]:* users("kodi-gbm",pid=29765,fd=69))
tcp LISTEN 0 10 [::]:9090 [::]:* users("kodi-gbm",pid=29765,fd=72))
Logs:
http://paste.ubuntu.com/p/Nthr5f8cp2/
This is what I get when trying to connect to that port using ssl:
2019-03-20 15:15:04.968 T:139816779884288 DEBUG: CWebServer[8081]: request received for /
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer[8081]: request received for c����;X:~�o
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Received malformed line (no colon). Closing connection.
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Error processing request (HTTP response code is 400 (`<html><head><title>Request malformed</title></head><body>Your HTTP request was syntactically incorrect.</body></html>
2019-03-20 15:15:05.035 T:139815362205440 DEBUG: CWebServer [MHD]: Connection was closed while sending response headers.
2019-03-20 15:15:05.071 T:139815404168960 DEBUG: CecLogMessage - >> 80:8f
2019-03-20 15:15:05.184 T:139815404168960 DEBUG: CecLogMessage - >> 08:90:00
2019-03-20 15:15:06.032 T:139815362205440 DEBUG: CWebServer[8081]: request received for /
I've tried all of the ports listed from here with the same results. I only have non-ssl http access on port 8081.
sudo ss -tulpn | grep kodi
udp UNCONN 0 0 *:9777 *:* users("kodi-gbm",pid=29765,fd=73))
tcp LISTEN 0 5 127.0.0.1:38925 0.0.0.0:* users("kodi-gbm",pid=29765,fd=57))
tcp LISTEN 0 5 127.0.0.1:54829 0.0.0.0:* users("kodi-gbm",pid=29765,fd=77))
tcp LISTEN 0 5 127.0.0.1:51727 0.0.0.0:* users("kodi-gbm",pid=29765,fd=54))
tcp LISTEN 0 128 0.0.0.0:8081 0.0.0.0:* users("kodi-gbm",pid=29765,fd=70))
tcp LISTEN 0 5 127.0.0.1:52307 0.0.0.0:* users("kodi-gbm",pid=29765,fd=75))
tcp LISTEN 0 10 0.0.0.0:9090 0.0.0.0:* users("kodi-gbm",pid=29765,fd=71))
tcp LISTEN 0 128 [::]:8081 [::]:* users("kodi-gbm",pid=29765,fd=69))
tcp LISTEN 0 10 [::]:9090 [::]:* users("kodi-gbm",pid=29765,fd=72))
Logs:
http://paste.ubuntu.com/p/Nthr5f8cp2/