LAN Plugin Connection Error
Moderators: Hacker, petermad, Stefan2, white
LAN Plugin Connection Error
Dear Christian,
First of all, thank you for the amazing Total Commander, both Android and PC.
Anyway, I write because I have been using TC for a long time with the LAN Plugin, and this week I have noticed that I have problems connecting to my OpenMediaVault SMB drive.
I don't know if it is only the latest version or the error comes from a previous one (few weeks ago I had no issue, but I don't remember when was the exact last time I used)
These are the errors it gives me when connecting (or authenticating, I don't know):
SMB2 AUTH: Attempt to invoke interface method 'byte[]
javax.crypto.SecretKey.getEncoded()' on a null object reference
java.lang.NullPointerExcepton: Attempt to invoke interface method 'byte[]
javax.crypto.SecretKey.getEncoded()' on a null object reference
I am on LAN Plugin v3.54
I am only using SMB3 (SMB2 as well as all the other options, except SMB3, unchecked).
I have an Android 13 smartphone and an old android 9 tablet.
My server has no password.
If I put no password in the properties, I am not able to unckeck the "Protect with a master key" (I don't know the exact translation into English). Anyway, it can be a "desired feature".
The issue itself:
- If I leave the "Password" field empty ("Protect with master key" enabled because I cannot disable it), then it gives me the error I have put before in the smartphone and in the tablet.
- If I put any password (my server requires no password, any way), it works in the smartphone but not in the tablet (error in the tablet but not in the smartphone, but maybe it is because I have made fewer tests).
If you need more information, please ask it to me. Anyway, from tomorrow I will be away for a few days, so maybe I will not be able to answer you until afterwards.
Edit: Maybe it is an OpenMediaVault issue and not Total Command, I don't know.
Edit 2: In the tablet, I have returned to v3.50, and everything works fine. I have not tested in the smartphone, but I suspect it would also work fine.
Edit 3: In the tablet, after installing v3.50 I have reinstalled v3.54 and reset it, and now it works like the smartphone: Error if password field is empty, ok if password field has some content (although my server has no password).
Edit 4: Corrected version number (I had put v8 instead of v3).
Thanks in advance,
First of all, thank you for the amazing Total Commander, both Android and PC.
Anyway, I write because I have been using TC for a long time with the LAN Plugin, and this week I have noticed that I have problems connecting to my OpenMediaVault SMB drive.
I don't know if it is only the latest version or the error comes from a previous one (few weeks ago I had no issue, but I don't remember when was the exact last time I used)
These are the errors it gives me when connecting (or authenticating, I don't know):
SMB2 AUTH: Attempt to invoke interface method 'byte[]
javax.crypto.SecretKey.getEncoded()' on a null object reference
java.lang.NullPointerExcepton: Attempt to invoke interface method 'byte[]
javax.crypto.SecretKey.getEncoded()' on a null object reference
I am on LAN Plugin v3.54
I am only using SMB3 (SMB2 as well as all the other options, except SMB3, unchecked).
I have an Android 13 smartphone and an old android 9 tablet.
My server has no password.
If I put no password in the properties, I am not able to unckeck the "Protect with a master key" (I don't know the exact translation into English). Anyway, it can be a "desired feature".
The issue itself:
- If I leave the "Password" field empty ("Protect with master key" enabled because I cannot disable it), then it gives me the error I have put before in the smartphone and in the tablet.
- If I put any password (my server requires no password, any way), it works in the smartphone but not in the tablet (error in the tablet but not in the smartphone, but maybe it is because I have made fewer tests).
If you need more information, please ask it to me. Anyway, from tomorrow I will be away for a few days, so maybe I will not be able to answer you until afterwards.
Edit: Maybe it is an OpenMediaVault issue and not Total Command, I don't know.
Edit 2: In the tablet, I have returned to v3.50, and everything works fine. I have not tested in the smartphone, but I suspect it would also work fine.
Edit 3: In the tablet, after installing v3.50 I have reinstalled v3.54 and reset it, and now it works like the smartphone: Error if password field is empty, ok if password field has some content (although my server has no password).
Edit 4: Corrected version number (I had put v8 instead of v3).
Thanks in advance,
Last edited by ramon2000 on 2024-08-10, 07:30 UTC, edited 2 times in total.
Re: LAN Plugin Connection Error
I am on LAN Plugin v8.54
The latest version of the LAN plugin for TC Android is 3.54 - how can you have versions 8.50 and 8.54I have returned to v8.50
after installing v8.50 I have reinstalled v8.54

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: LAN Plugin Connection Error
You are right. Thank you.
I meant v3 instead of v8. I suppose I put v8 the 1st time in the message, and then repeated it in the following references.
I have already corrected it in the original message.
I meant v3 instead of v8. I suppose I put v8 the 1st time in the message, and then repeated it in the following references.
I have already corrected it in the original message.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: LAN Plugin Connection Error
That's the problem, the plugin only supports accounts with a password. You can just add an extra account with a password and then use that to connect from the plugin.My server has no password.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: LAN Plugin Connection Error
I have the same problem.
My SMB accounts do have a passwords but i didn't put them in de lan plugin account settings.
This way i have to type the password every time wen i want to login and get the password prompt.
This was what i wanted because i think it is more safe the way it was.
Now i MUST save the password in de LAN Plugin account for every network share.
For me that seems not the safest.
Could you make the LAN Plugin so that i get a prompt again to enter the password every time i want to login?
For me that seems more safe then saving the passwords in the LAN plugin account(s).
My SMB accounts do have a passwords but i didn't put them in de lan plugin account settings.
This way i have to type the password every time wen i want to login and get the password prompt.
This was what i wanted because i think it is more safe the way it was.
Now i MUST save the password in de LAN Plugin account for every network share.
For me that seems not the safest.
Could you make the LAN Plugin so that i get a prompt again to enter the password every time i want to login?
For me that seems more safe then saving the passwords in the LAN plugin account(s).
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: LAN Plugin Connection Error
2gk1mst
You are right, leaving the password field empty no longer worked. Please try the latest beta 3.55 from the Play Store or our f-Droid repository now.
https://play.google.com/apps/testing/com.ghisler.tcplugins.LAN
or
https://www.ghisler.com/fdroid.htm
You are right, leaving the password field empty no longer worked. Please try the latest beta 3.55 from the Play Store or our f-Droid repository now.
https://play.google.com/apps/testing/com.ghisler.tcplugins.LAN
or
https://www.ghisler.com/fdroid.htm
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: LAN Plugin Connection Error
Hello sir Ghisler,
I installed and tested the Beta Lan app.
The problem seems to be fixed with the beta version. Great!
Thank you!
I installed and tested the Beta Lan app.
The problem seems to be fixed with the beta version. Great!
Thank you!
Re: LAN Plugin Connection Error
OK, no major problem for me. Thanks.ghisler(Author) wrote: 2024-08-12, 10:15 UTC That's the problem, the plugin only supports accounts with a password. You can just add an extra account with a password and then use that to connect from the plugin.
-
- Junior Member
- Posts: 2
- Joined: 2024-08-24, 18:52 UTC
Re: LAN Plugin Connection Error
My similar problem began this morning when my phone updated to One UI 6.1
Whenever I try to connect to my home network I get the following error:
Error connecting to server! Reported error:
SMB2_CREATE returned 3221225506
(3221225506/3221225506):
///LAN/___LAN_MIKEREDUX
MIKEREDUX is the correct server name.
Installing the beta LAN app did not help.
Whenever I try to connect to my home network I get the following error:
Error connecting to server! Reported error:
SMB2_CREATE returned 3221225506
(3221225506/3221225506):
///LAN/___LAN_MIKEREDUX
MIKEREDUX is the correct server name.
Installing the beta LAN app did not help.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: LAN Plugin Connection Error
Please update to the latest plugin version 3.56 from the Play Store, it should fix the problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 4
- Joined: 2024-08-13, 08:38 UTC
Re: LAN Plugin Connection Error
Please add 2 simple features as copying files from archive to let's say /data/user or any /data or /system folderghisler(Author) wrote: 2024-08-26, 10:19 UTC Please update to the latest plugin version 3.56 from the Play Store, it should fix the problem.
because it's not supported in TC
it says error unpacking files when i open archive in left panel chose one file and then copy it to right panel where /data/user folder is opened
it's mounted as rw and given the root access rights
and 2nd request is to show amount of files inside folders and sorting based on it
and show folders size and sort them on that basis
ghost commander and solid explorer are capable of doing latter
I'm now thinking of switch to them but if TC will implement this functions it will become best and irreplaceable file explorer on Android (just like it is on windows)
Re: LAN Plugin Connection Error
If they can do that and you need it, then use them.cookiemasta wrote: 2024-08-26, 17:30 UTC ghost commander and solid explorer are capable of doing latter
I'm now thinking of switch to them
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: LAN Plugin Connection Error
That's not possible because copying there requires root rights. It doesn't mean that all functions can be used from root, they need to run as a shell command on a hidden command line. Total Commander would have to unpack the file to a temporary directory with normal rights, and then move them to the root folder with root rights. This would only be possible if the file isn't very large.Please add 2 simple features as copying files from archive to let's say /data/user or any /data or /system folder
This is supported, add a button with function type "Internal command", then click >> and pick command 115.and show folders size and sort them on that basis
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 2
- Joined: 2024-08-24, 18:52 UTC
Re: LAN Plugin Connection Error
That did the trick! Thank you.ghisler(Author) wrote: 2024-08-26, 10:19 UTC Please update to the latest plugin version 3.56 from the Play Store, it should fix the problem.
-
- Junior Member
- Posts: 4
- Joined: 2024-08-13, 08:38 UTC
Re: LAN Plugin Connection Error
would you be kind to not answer if you weren't asked?JOUBE wrote: 2024-08-26, 19:57 UTCIf they can do that and you need it, then use them.cookiemasta wrote: 2024-08-26, 17:30 UTC ghost commander and solid explorer are capable of doing latter
I'm now thinking of switch to them