FTP logon failing
Hi all,
I'm trying to add a FTP connection in VLC. I tried on two Android devices - a Xiaomi TV Box 4S and my phone, Xiaomi Mi A3. The FTP server runs on my Huawei HG8247H router (the device provided by my ISP). In the router's USB port I inserted an external HDD. I tested the FTP connection on my PC and can successfully connect, thus the connection works. I also tested with Total Commander from my phone and could also connect to the FTP server, thus one of the Android devices can access it. When attempting to connect directly from VLC on Android, both my phone and TV Box, it keeps asking for the password, as if the credentials are incorrect, still I made them as easy as possible and took good care to type everything correctly.
I also checked with a free public FTP and could connect from Android VLC, thus the app can connect to certain servers. I considered anonymous logon to FTP server, but the router doesn't allow such connections, thus this can be an area to check.
I enabled logging while attempting a connection and extracted the part when attempting to connect. The username defined at the time of the attempt was "fetepe" with the same password.
I'd appreciate any inputs on this to get it fixed.
The extract from the logs: (the full log file is attached)
07-19 12:37:06.208 D/VLC ( 5080): [00000071ce81a720/6657] libvlc art finder: no art finder modules matchedlogs.txt
07-19 12:37:06.213 D/VLC ( 5080): [000000725e82b480/6658] libvlc input: EOF reached
07-19 12:37:06.213 D/VLC ( 5080): [00000071ee8e64c0/6658] libvlc demux: removing module "directory"
07-19 12:37:06.213 D/VLC ( 5080): [00000071fe8e12e0/6658] libvlc stream: removing module "record"
07-19 12:37:06.213 D/VLC ( 5080): [00000071fe874060/6658] libvlc stream: removing module "filesystem"
07-19 12:37:06.214 D/VLC ( 5080): [000000725e82b480/664f] libvlc input: Creating an input for preparsing 'fetepe@192.168.100.1'
07-19 12:37:06.214 D/VLC ( 5080): [00000071ce848d20/665a] libvlc meta fetcher: looking for meta fetcher module matching "any": 1 candidates
07-19 12:37:06.214 D/VLC ( 5080): [000000725e82b480/6659] libvlc input: using timeshift granularity of 50 MiB
07-19 12:37:06.214 D/VLC ( 5080): [00000071ce848d20/665a] libvlc meta fetcher: Trying Lua scripts in /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/fetcher
07-19 12:37:06.214 D/VLC ( 5080): [000000725e82b480/6659] libvlc input: using default timeshift path
07-19 12:37:06.214 D/VLC ( 5080): [00000071ce848d20/665a] libvlc meta fetcher: Trying Lua scripts in /data/app/~~fbClSgCMAWlyVrfCvl_95g==/org.videolan.vlc-al0g4imPf7_oyzO1CtV3Cw==/lib/arm64/vlc/lua/meta/fetcher
07-19 12:37:06.214 D/VLC ( 5080): [000000725e82b480/6659] libvlc input: ftp://fetepe@192.168.100.1' gives access
ftp' demux any' path
fetepe@192.168.100.1'
07-19 12:37:06.214 D/VLC ( 5080): [00000071ce848d20/665a] libvlc meta fetcher: Trying Lua scripts in /system/usr/share/lua/meta/fetcher
07-19 12:37:06.214 D/VLC ( 5080): [00000071ce848d20/665a] libvlc meta fetcher: no meta fetcher modules matched
07-19 12:37:06.214 D/VLC ( 5080): [00000071ee898c80/6659] libvlc demux: looking for access_demux module matching "ftp": 7 candidates
07-19 12:37:06.214 D/VLC ( 5080): [00000071ee898c80/6659] libvlc demux: no access_demux modules matched
07-19 12:37:06.215 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: looking for art finder module matching "any": 2 candidates
07-19 12:37:06.215 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: creating access: ftp://fetepe@192.168.100.1
07-19 12:37:06.215 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: looking for access module matching "ftp": 25 candidates
07-19 12:37:06.215 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: resolving 192.168.100.1 ...
07-19 12:37:06.215 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: connecting to 192.168.100.1 port 21 ...
07-19 12:37:06.226 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua scripts in /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art
07-19 12:37:06.226 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/00_musicbrainz.lua
07-19 12:37:06.227 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/00_musicbrainz.lua
07-19 12:37:06.228 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/01_googleimage.lua
07-19 12:37:06.228 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/01_googleimage.lua
07-19 12:37:06.228 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/02_frenchtv.lua
07-19 12:37:06.229 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/02_frenchtv.lua
07-19 12:37:06.229 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/03_lastfm.lua
07-19 12:37:06.230 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/03_lastfm.lua
07-19 12:37:06.230 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua scripts in /data/app/~~fbClSgCMAWlyVrfCvl_95g==/org.videolan.vlc-al0g4imPf7_oyzO1CtV3Cw==/lib/arm64/vlc/lua/meta/art
07-19 12:37:06.230 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: Trying Lua scripts in /system/usr/share/lua/meta/art
07-19 12:37:06.230 D/VLC ( 5080): [00000071ce848d20/665a] libvlc art finder: no art finder modules matched
07-19 12:37:07.268 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: received response: "220 bftpd 4.4 at 192.168.100.1 ready."
07-19 12:37:07.268 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: connection accepted (220)
07-19 12:37:07.268 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: sending request: "FEAT" (6 bytes)
07-19 12:37:07.308 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: received response: "503 USER expected."
07-19 12:37:07.308 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: sending request: "USER fetepe" (13 bytes)
07-19 12:37:07.348 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: received response: "331 Password please."
07-19 12:37:07.348 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: password needed
07-19 12:37:07.349 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: sending request: "PASS XXXX" (XX bytes)
07-19 12:37:07.448 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: received response: "530 Anonymous user not allowed."
07-19 12:37:07.448 W/VLC ( 5080): [00000071fe874060/6659] libvlc stream: password rejected
07-19 12:37:07.448 D/VLC ( 5080): [00000071de82c000/6659] libvlc keystore: looking for keystore module matching "file_crypt,none": 3 candidates
07-19 12:37:07.473 D/VLC ( 5080): [00000071de82c000/6659] libvlc keystore: using keystore module "file"
07-19 12:37:07.534 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: sending request: "USER fetepe" (13 bytes)
07-19 12:37:07.535 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: received response: "530 Login incorrect."
07-19 12:37:07.535 W/VLC ( 5080): [00000071fe874060/6659] libvlc stream: user rejected
07-19 12:37:07.535 D/VLC ( 5080): [00000071de82c000/6659] libvlc keystore: removing module "file"
07-19 12:37:07.536 D/VLC ( 5080): [00000071fe874060/6659] libvlc stream: no access modules matched
07-19 12:37:07.536 E/VLC ( 5080): [000000725e82b480/6659] libvlc input: Your input can't be opened
07-19 12:37:07.536 E/VLC ( 5080): [000000725e82b480/6659] libvlc input: VLC is unable to open the MRL 'ftp://fetepe@192.168.100.1'. Check the log for details.
07-19 12:37:07.538 D/VLC ( 5080): [00000071ce809000/6660] libvlc meta fetcher: looking for meta fetcher module matching "any": 1 candidates
07-19 12:37:07.538 D/VLC ( 5080): [00000071ce809000/6660] libvlc meta fetcher: Trying Lua scripts in /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/fetcher
07-19 12:37:07.539 D/VLC ( 5080): [00000071ce809000/6660] libvlc meta fetcher: Trying Lua scripts in /data/app/~~fbClSgCMAWlyVrfCvl_95g==/org.videolan.vlc-al0g4imPf7_oyzO1CtV3Cw==/lib/arm64/vlc/lua/meta/fetcher
07-19 12:37:07.539 D/VLC ( 5080): [00000071ce809000/6660] libvlc meta fetcher: Trying Lua scripts in /system/usr/share/lua/meta/fetcher
07-19 12:37:07.540 D/VLC ( 5080): [00000071ce809000/6660] libvlc meta fetcher: no meta fetcher modules matched
07-19 12:37:07.540 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: looking for art finder module matching "any": 2 candidates
07-19 12:37:07.540 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua scripts in /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art
07-19 12:37:07.540 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/00_musicbrainz.lua
07-19 12:37:07.541 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/00_musicbrainz.lua
07-19 12:37:07.541 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/01_googleimage.lua
07-19 12:37:07.542 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/01_googleimage.lua
07-19 12:37:07.542 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/02_frenchtv.lua
07-19 12:37:07.543 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/02_frenchtv.lua
07-19 12:37:07.543 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua playlist script /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/03_lastfm.lua
07-19 12:37:07.544 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: skipping script (unmatched scope) /data/user/0/org.videolan.vlc/app_vlc/.share/lua/meta/art/03_lastfm.lua
07-19 12:37:07.544 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua scripts in /data/app/~~fbClSgCMAWlyVrfCvl_95g==/org.videolan.vlc-al0g4imPf7_oyzO1CtV3Cw==/lib/arm64/vlc/lua/meta/art
07-19 12:37:07.544 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: Trying Lua scripts in /system/usr/share/lua/meta/art
07-19 12:37:07.544 D/VLC ( 5080): [00000071ce809000/6660] libvlc art finder: no art finder modules matched