2017-02-20, 17:39
Having an issue where Kodi is not getting a directory listing of files from IIS webservers, but can get the listing from apache servers just fine. And yes, directory listing is enabled.
This is happening with Kodi 16 and 17 on Android as well as Windows.
Basically use is like this:
- Add http source that is an IIS server with directory browsing enabled.
- Go to Addons - Install from zip - select newly added source.
- Nothing. No files listed.
- Add http source that is Apache with directory browsing enabled
- Go to Addons - Install from zip - select newly added source.
- Files are listed!
This is also happening with HTTPS.
Anyone have any ideas? I was unable to locate anything on bug tracker about this.
Relevant part of debug log:
URLs and IPs obfuscated for obvious reasons.
This is happening with Kodi 16 and 17 on Android as well as Windows.
Basically use is like this:
- Add http source that is an IIS server with directory browsing enabled.
- Go to Addons - Install from zip - select newly added source.
- Nothing. No files listed.
- Add http source that is Apache with directory browsing enabled
- Go to Addons - Install from zip - select newly added source.
- Files are listed!
This is also happening with HTTPS.
Anyone have any ideas? I was unable to locate anything on bug tracker about this.
Relevant part of debug log:
Code:
09:08:42 T:12824 DEBUG: ------ Window Init (FileBrowser.xml) ------
09:08:44 T:12824 DEBUG: Keyboard: scancode: 0x50, sym: 0x0112, unicode: 0x0000, modifier: 0x0
09:08:44 T:12824 DEBUG: CInputManager::OnKey: down (0xf081) pressed, action is Down
09:08:46 T:12824 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
09:08:46 T:12824 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
09:08:46 T:13492 DEBUG: CurlFile::Open(0F38EFB0) http://someapacheserver.xyz
09:08:46 T:13492 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://someapacheserver.xyz
09:08:46 T:13492 DEBUG: Curl::Debug - TEXT: timeout on name lookup is not supported
09:08:46 T:13492 DEBUG: Curl::Debug - TEXT: Trying XX.XXX.XX.XXX...
09:08:46 T:13492 DEBUG: Curl::Debug - TEXT: Connected to someapacheserver.xyz (XX.XXX.XX.XXX) port 80 (#0)
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: GET /wizard/ HTTP/1.1
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Host: someapacheserver.xyz
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Range: bytes=0-
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: Kodi/16.1 (Windows NT 10.0; WOW64) App_Bitness/32 Version/16.1-Git:20160424-c327c53
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Accept: */*
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 206 Partial Content
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: Date: Mon, 20 Feb 2017 15:08:54 GMT
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: Server: Apache
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: Content-Range: bytes 0-757/758
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 758
09:08:46 T:13492 DEBUG: Curl::Debug - HEADER_IN: Content-Type: text/html;charset=ISO-8859-1
09:08:46 T:13492 DEBUG: Curl::Debug - TEXT: Connection #0 to host someapacheserver.xyz left intact
09:08:47 T:12824 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
09:08:47 T:12824 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
09:08:48 T:12824 DEBUG: Keyboard: scancode: 0x48, sym: 0x0111, unicode: 0x0000, modifier: 0x0
09:08:48 T:12824 DEBUG: CInputManager::OnKey: up (0xf080) pressed, action is Up
09:08:49 T:12824 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
09:08:49 T:12824 DEBUG: CInputManager::OnKey: return (0xf00d) pressed, action is Select
09:08:49 T:13492 DEBUG: CurlFile::Open(0F38EFB0) http://someiisserver.xyz
09:08:49 T:13492 INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://someiisserver.xyz
09:08:49 T:13492 DEBUG: Curl::Debug - TEXT: timeout on name lookup is not supported
09:08:49 T:13492 DEBUG: Curl::Debug - TEXT: Trying XX.XXX.XX.XXX...
09:08:49 T:13492 DEBUG: Curl::Debug - TEXT: Connected to someiisserver.xyz (XX.XXX.XX.XXX) port 80 (#0)
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: GET /wizard/ HTTP/1.1
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Host: someiisserver.xyz
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Range: bytes=0-
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: User-Agent: Kodi/16.1 (Windows NT 10.0; WOW64) App_Bitness/32 Version/16.1-Git:20160424-c327c53
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Accept: */*
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_IN: HTTP/1.1 200 OK
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_IN: Content-Type: text/html; charset=UTF-8
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_IN: Server: Microsoft-IIS/10.0
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_IN: Date: Mon, 20 Feb 2017 15:08:49 GMT
09:08:49 T:13492 DEBUG: Curl::Debug - HEADER_IN: Content-Length: 1199
09:08:49 T:13492 DEBUG: Curl::Debug - TEXT: Connection #0 to host someiisserver.xyz left intact
URLs and IPs obfuscated for obvious reasons.