Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeePassHttp.dll incompatible with current KeePass 2.34 in Ubuntu #287

Open
agigante80 opened this issue Aug 19, 2016 · 24 comments
Open

KeePassHttp.dll incompatible with current KeePass 2.34 in Ubuntu #287

agigante80 opened this issue Aug 19, 2016 · 24 comments

Comments

@agigante80
Copy link

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

@GabrielAnca
Copy link

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.

@agigante80
Copy link
Author

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...

@GabrielAnca
Copy link

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
#287 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPV__cWO63Zp6zFsAsHwookkowulnbzks5qiXCqgaJpZM4JohCH
.

@agigante80
Copy link
Author

...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 :(

@lukehop
Copy link

lukehop commented Aug 29, 2016

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.

@jjlauer
Copy link

jjlauer commented Sep 2, 2016

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?

@linksafad
Copy link

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

@h0nIg
Copy link

h0nIg commented Sep 3, 2016

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

@tgr
Copy link

tgr commented Sep 4, 2016

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).

@sebastianrothe
Copy link

sebastianrothe commented Sep 14, 2016

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>

@penascimento
Copy link

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.

@pfn
Copy link
Owner

pfn commented Sep 30, 2016

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
#287 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfQxb0soRNZxfiZy-qlHs1c6gTAZ_ecks5qvSPcgaJpZM4JohCH
.

@tiangolo
Copy link

tiangolo commented Oct 1, 2016

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.

@strassi
Copy link

strassi commented Oct 14, 2016

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?

@alberthdev
Copy link

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.

@Suvidu
Copy link

Suvidu commented Dec 6, 2016

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

@Suprazz
Copy link

Suprazz commented Dec 16, 2016

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?

@penascimento
Copy link

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//issues/293#issuecomment-266886065

That led to this one
#289

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

@pierrebarbera
Copy link

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

@yylzcom
Copy link

yylzcom commented Feb 10, 2017

@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.

@tiangolo
Copy link

tiangolo commented Nov 1, 2017

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).

@infoskirmish
Copy link

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

@jlauer-shibumi
Copy link

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.

@1u
Copy link

1u commented Oct 30, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests