keepasshttp icon indicating copy to clipboard operation
keepasshttp copied to clipboard

KeePassHttp.dll incompatible with current KeePass 2.34 in Ubuntu

Open agigante80 opened this issue 8 years ago • 24 comments

First of all, thanks everybody for you effort. I have been using the plugin for a while and it was just perfect and useful. I really appreciate your work. Thanks again. ...by the way, English isn’t my first language, so please excuse any possible mistakes.

...since the last few days I am getting the same issue when I try loading the plugin. Following more details:

PassIFox version: 1.2.0 Browser: Firefox 48.0 KeePassHttp: latest KeePass: 2.34

:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.1 LTS
Release:    16.04
Codename:   xenial
:~$ md5sum KeePassHttp.plgx 
78d2b692a2dc0014e4ec5a7aeadc13e5  KeePassHttp.plgx

Installed using the following steps:

wget https://raw.github.com/pfn/keepasshttp/master/KeePassHttp.plgx
sudo mv KeePassHttp.plgx /usr/lib/keepass2/
sudo chmod 664 /usr/lib/keepass2/KeePassHttp.plgx
sudo apt-get install mono-complete
  ...mono-complete is already the newest version (4.2.1.102+dfsg2-7ubuntu4).

When loading KeePass2

The following plugin is incompatible with the current KeePass version: /home/USER/.local/share/KeePass/PluginCache/hhrjsy3DFSvV7A3zZ6me/KeePassHttp.dll Have a look at the plugin's website for an appropiate version.

It was working few days ago. It suddenly stopped (I am not sure what it was updated). Previously I was using the default Ubuntu KeePass2, because of the error I've manually installed the latest version of KeePass (2.34) but with the same result. :(

Thanks for your time Regards Andrea

agigante80 avatar Aug 19 '16 14:08 agigante80

Same issue here, but it's really weird because I installed it today for the first time (2.32 coming with ubuntu 16.04) and after using it a while, I closed keepass and opened it again and it doesn't work anymore. I tried reinstalling both keepass2 and the plugin but it still doesn't work.

GabrielAnca avatar Aug 20 '16 14:08 GabrielAnca

Yap That is pretty much what happened to me :( That is why I've even upgraded to 2.34, but still with the same result. I am now using KeeFox, but I don't really like it...

agigante80 avatar Aug 22 '16 09:08 agigante80

What's weird is that after I restarted my computer it works for me, but I have version 2.32 so probably it's not the same issue.

On Monday, 22 August 2016, Andrea Gigante [email protected] wrote:

Yap That is pretty much what happened to me :( That is why I've even upgraded to 2.34, but still with the same result. I am now using KeeFox, but I don't really like it...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pfn/keepasshttp/issues/287#issuecomment-241364601, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPV__cWO63Zp6zFsAsHwookkowulnbzks5qiXCqgaJpZM4JohCH .

GabrielAnca avatar Aug 22 '16 16:08 GabrielAnca

...this is getting really weird... I have to admit. I've deleted the plugin. Restart the machine. Installed the plugin again like before... and it is now working!!! ...with 2.34 ...no idea :(

agigante80 avatar Aug 22 '16 16:08 agigante80

I am on Windows 8.1 and have KeePass 2.34 and the KeyPassHTTP plugin was working for several weeks then just stopped working. It says "The following plugin is incompatible with the current KeePass version" and if I click "Details" it says "Attempted to read or write protected memory. This is often an indication that other memory is corrupt ...". Any ideas anybody? I'm using KeeFox but I much prefer PassIFox.

lukehop avatar Aug 29 '16 02:08 lukehop

Dittos. I didn't actually do anything manually and the plugin just stopped working today. Is there a logfile where an error might show up?

jjlauer avatar Sep 02 '16 01:09 jjlauer

I am getting the same error on Fedora 23, except, when i execute it with root, i don't get the error.

linksafad avatar Sep 02 '16 19:09 linksafad

in order to make the keepasshttp plugin work I had to do : sudo apt-get install libmono-system-xml-linq4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil mono-mcs

h0nIg avatar Sep 03 '16 11:09 h0nIg

in order to make the keepasshttp plugin work I had to do : sudo apt-get install libmono-system-xml-linq4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil mono-mcs

Confirming, that fixes the issue on Ubuntu 16.04 (specifically, libmono-system-data-datasetextensions4.0-cil seems to be the one that was previously not needed).

tgr avatar Sep 04 '16 08:09 tgr

Okay, Im on Ubuntu and I had one process idling, while KeePass was closed. So reboot your machine or kill this process. ps aux | grep keepass kill -9 <id>

sebastianrothe avatar Sep 14 '16 07:09 sebastianrothe

In windows 10 after latest windows update same problem here keepasshttp stop working with message keepasshttp_error_win10 tried to uninstall keepass, clear appdata files, reinstall and download again the plug in same problem... Tried also to just use the dlls and the problem persisted.

penascimento avatar Sep 30 '16 14:09 penascimento

Someone has a fork that uses a manged http listener, I will probably consider moving to that and away from using the system httplistener

On Fri, Sep 30, 2016 at 7:59 AM penascimento [email protected] wrote:

In windows 10 after latest windows update same problem here keepasshttp stop working with message [image: keepasshttp_error_win10] https://cloud.githubusercontent.com/assets/4418624/18995925/5236bb58-8726-11e6-9aef-65f744ddc3fc.png tried to uninstall keepass, clear appdata files, reinstall and download again the plug in same problem... Tried also to just use the dlls and the problem persisted.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pfn/keepasshttp/issues/287#issuecomment-250767158, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfQxb0soRNZxfiZy-qlHs1c6gTAZ_ecks5qvSPcgaJpZM4JohCH .

pfn avatar Sep 30 '16 15:09 pfn

In Ubuntu Linux 16.04 it's working for me. My install is:

# Install KeePass 2

sudo apt-get install -y keepass2

# Install KeePassHTTP
cd $HOME
wget https://raw.github.com/pfn/keepasshttp/master/KeePassHttp.plgx
sudo mv KeePassHttp.plgx /usr/lib/keepass2
sudo apt-get install -y mono-complete
sudo apt-get install -y libmono-system-xml-linq4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil mono-mcs

I'm not sure exactly what fixed it, but after that and a reboot (I think) it worked again.

tiangolo avatar Oct 01 '16 15:10 tiangolo

Okay, Im on Ubuntu and I had one process idling, while KeePass was closed. So reboot your machine or kill this process. ps aux | grep keepass kill -9

I also had a process of keepass2 idling, while keepass was closed. Killing the process and restarting keepass2 fixed the problem. Is this some kind of locking problem between the upgrades of keepass?

strassi avatar Oct 14 '16 15:10 strassi

Can confirm that this fixed my issue:

albert@debian:/usr/lib/keepass2/Plugins$ ps -Af | grep kee
albert    2984     1  0 Oct26 ?        00:26:27 /usr/bin/cli /usr/lib/keepass2/KeePass.exe
albert    3754     1  3 13:00 ?        00:00:02 /usr/bin/cli /usr/lib/keepass2/KeePass.exe
albert    3957 31799  0 13:02 pts/10   00:00:00 grep kee
albert@debian:/usr/lib/keepass2/Plugins$ pkill -f KeePass
albert@debian:/usr/lib/keepass2/Plugins$ ps -Af | grep kee
albert    4022 31799  0 13:02 pts/10   00:00:00 grep kee

Restarting KeePass2 after this step allowed it to start successfully.

alberthdev avatar Nov 04 '16 17:11 alberthdev

I have the same problem in Windows (10) as already described above by penascimento. Is there already a fix for Windows?

Suvidu avatar Dec 06 '16 07:12 Suvidu

I'm also having this issue with Windows 10. Unable to make this to work. It was working few days ago. I formatted my computer and reinstall everything and now I have the same error. I tried many differents version of keepass and nothing is working. Always the same error again and again. What is the solution for that?

Suprazz avatar Dec 16 '16 13:12 Suprazz

I already fixed my instalation in Windows 10... Not before tried almost anything: complete Uninstall, trying portable versions, old versions,... When I was about to give up I found this posthttps://github.com/pfn/keepasshttp/issues/293#issuecomment-266886065

That led to this one https://github.com/pfn/keepasshttp/pull/289

From were I download the plug in and magic happen... IT WORKED!! Suvidu and Suprazz if any problem I could try to help

penascimento avatar Dec 18 '16 11:12 penascimento

I had this issue (again) after upgrading to Ubuntu 16.10, which brought KeePass2 to 2.34. I resolved it by starting keepass2 with sudo once, no restart required.

That being said, I did go through installing the packages suggested elsewhere:

sudo apt-get install libmono-system-xml-linq4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil mono-mcs

pierrebarbera avatar Jan 03 '17 14:01 pierrebarbera

@sebastianrothe You save my day! Thanks.

Ubuntu 16.10 and everything works fine until KeePass vanished, when I restart it, the error "incompatible" comes out. Try almost every method I could find but did not work.

Finally came across your solution and solve the problem.

yylzcom avatar Feb 10 '17 01:02 yylzcom

Just in case it is useful for anyone else here, KeeWeb added a compatible HTTP plug-in.

It works as if it was KeePass, with chromeIPass and similar plug-ins.

As it is an Electron app, Linux "native", it solved several issues for me. For example, now I can copy from the app and paste in a Terminal with tmux (it never worked with KeePass).

tiangolo avatar Nov 01 '17 17:11 tiangolo

I know this is an old thread but in case anyone else has this problem this solved it for me:

  1. make sure the following packages are installed and up to date: sudo apt-get install libmono-system-xml-linq4.0-cil libmono-system-data-datasetextensions4.0-cil libmono-system-runtime-serialization4.0-cil mono-mcs

  2. kill any idle processes: ps -aux |grep keepass

infoskirmish avatar Jan 24 '18 12:01 infoskirmish

For Linux, I gave up on a C#/Mono-based app running well (e.g. copy and paste flaky). The native app https://keepassxc.org/ runs like a champ and has an embedded http plugin.

jlauer-shibumi avatar Jan 24 '18 15:01 jlauer-shibumi

Okay, Im on Ubuntu and I had one process idling, while KeePass was closed. So reboot your machine or kill this process. ps aux | grep keepass kill -9 <id>

Thx, this solved it for me too! Is it possible to check on startup if an instance is running already and then send an other error than this misleading error, saying that this copied files ~/.local/share/KeePass/PluginCache/.../KeePassHttp.dll plugin version has outdated. An other solution could maybe be, having a lock-file in that folder to know if something crashed before.. In my case Keepass 2.3.2(dev) just died spontaneously yesterday and then started up with that error.

Thx for writing and maintaining the plugin

1u avatar Oct 30 '18 14:10 1u