pfn / keepasshttp

KeePass plugin to expose password entries securely (256bit AES/CBC) over HTTP
GNU General Public License v3.0
2k stars 275 forks source link

Unknown keepasshttp error 400 #22

Closed lsgd closed 11 years ago

lsgd commented 13 years ago

Hi,

since today I'm getting an "unknown heepasshttp error: 400" when I first start KeePass and open then Firefox. This error occures one or two times, but the plugin is still working.

Edit: Okay, now this error occured every time and the plugin stopped working... I only restarted KeePass completely and the error didn't occure since then.

KeePassHttp: 1.0.3.8 KeePass: 2.16 Firefox: 7.0.1 OS: Windows 7 prof, x64

A screenshot of the more detailed information balloon: http://img.lukas-schulze.de/keepasshttp_error-400.png

Best Regards lspcity

pfn commented 13 years ago

The error can be cleared by removing the duplicated string in KeePassHttp Settings -> advanced -> AES Key: yourkey

this seems to be a bug in keepasshttp or keepass that I haven't isolated yet; something is causing the string to repeat a part of itself.

You can also delete the key and re-associate

geeffland commented 12 years ago

I am having this issue as well. At work on WIndows XP it works fine. But I installed it at home on Windows 7 and I get an error when I try to Accept or Deny the connection.

Error Message: KeePassHttp _BUG_ System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean,synchronus) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at System.Windows.Forms.Control.Invoke(Delegate method) at KeePassHttp.KeePassHttpExt.GetLoginsHandler(Request r, Response resp, Aes aes) at KeePassHttp.KeePassHttpExt.ProcessRequest(Request r, HttpListenerResponse resp)

The first few lines show up in the tray balloon but the rest was from a window from KeePass

Windows 7 Home Premium KeePass 2.17 KeePassHttp 1.0.4.0 ChromeIPass 1.0.6 Chrome 16.0.912.63

basti01 commented 12 years ago

Same error here

Screenshot of error message: http://imageshack.us/photo/my-images/69/keepassz.png/

Chrome 16.0.912.63 ChromeIPass 1.0.7 Keepass 2.17 KeepassHttp 1.0.4.0

Windows 7 x64

The AES key is correct and without any repetitions

lhurt commented 12 years ago

Same error here and same environment as basti01

Any idea when you'll have time to look after it?

pfn commented 12 years ago

Please don't say same error, because it is a single error 400 that Covers all error conditions.

Sent from my phone

lhurt reply@reply.github.com wrote:

Same error here and same environment as basti01

Any idea when you'll have time to look after it?


Reply to this email directly or view it on GitHub: https://github.com/pfn/keepasshttp/issues/22#issuecomment-3355086

basti01 commented 12 years ago

okay, but how can we assist you by providing more detailed information? please let us know if there is anything we can do to solve this problem quickly :-)

pfn commented 12 years ago

I think others who have encountered the problem have fixed it by

Restarting keepass Restarting windows Upgrading.net

Or installing more.net components

Sent from my phone

basti01 reply@reply.github.com wrote:

okay, but how can we assist you by providing more detailed information? please let us know if there is anything we can do to solve this problem quickly :-)


Reply to this email directly or view it on GitHub: https://github.com/pfn/keepasshttp/issues/22#issuecomment-3357396

basti01 commented 12 years ago

Hm, I already restarted keepass / chrome and also reinstalled these programms without any success. My windows installation is quite new (got a new notebook three weeks ago), I have the latest "extended" version of .Net framework 4.0 ...

lhurt commented 12 years ago

Is it possible that this is a Windows 7 64bit Issue? Almost all reports relate to this configuration except that of geeffland. May be he can clarify this.

pfn commented 12 years ago

I run on Windows 7 64bit without problem.

Sent from my phone

lhurt reply@reply.github.com wrote:

Is it possible that this is a Windows 7 64bit Issue? Almost all reports relate to this configuration except that of geeffland. May be he can clarify this.


Reply to this email directly or view it on GitHub: https://github.com/pfn/keepasshttp/issues/22#issuecomment-3358179

basti01 commented 12 years ago

Do you have Service Pack 1 installed? I am using the latest windows updates including the service pack...

pfn commented 12 years ago

Yes my windows is completely updated

Sent from my phone

basti01 reply@reply.github.com wrote:

Do you have Service Pack 1 installed? I am using the latest windows updates including the service pack...


Reply to this email directly or view it on GitHub: https://github.com/pfn/keepasshttp/issues/22#issuecomment-3358302

cverbiest commented 12 years ago

I have the same or very similar issue. I started with KeePassHttp and ChromeIPass and got it working, then I added PassIFox. Now I get this error both with ChomeIPass and PassIFox. after the dialog


KeePassHttp

Keepass: xxx.yyy.com is requesting access, click to allow or deny.

Windows 7 Professional x64, service pack 1, up-to-date KeepassHttp 1.0.4.0

Firefox 9.0.1 PassIFox 1.1.2

Chome 16.0.912.75 m ChromeIPass1.0.7

Stack trace System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) at KeePassHttp.KeePassHttpExt.GetLoginsHandler(Request r, Response resp, Aes aes) at KeePassHttp.KeePassHttpExt.ProcessRequest(Request r, HttpListenerResponse resp)

webjinx commented 12 years ago

I have these same errors and have tried every possible workaround I can find. I really want to switch to Chrome from FireFox but this is a deal breaker if I cant use KeePass.

Would anyone be willing to go in on paid support to fix this? I would contribute $20!

cverbiest commented 12 years ago

I now use KeeFox in firefox and ChromeIPass in Chrome. KeeFox uses a different Keepass plugin so there is no conflict between Chrome and Firefox.

pfn commented 12 years ago

There is no conflict between chromeipass and passifox. If you are encountering some kind of conflict, it must be a bug that I cannot yet reproduce.

Sent from my phone

cverbiest reply@reply.github.com wrote:

I now use KeeFox in firefox and ChromeIPass in Chrome. KeeFox uses a different Keepass plugin so there is no conflict between Chrome and Firefox.


Reply to this email directly or view it on GitHub: https://github.com/pfn/keepasshttp/issues/22#issuecomment-4032791

zx97 commented 12 years ago

Hi,

I'm using Linux Ubuntu 12.04 64bits with Mono ... (so not a Windows 7 issue ;-) )

Here is my screenshot of the error : http://i.imgur.com/oYlKx.png

Unknown KeePassHttp error : 400

pfn commented 12 years ago

Hopefully, this has been fixed by @5d4122e

zx97 commented 12 years ago

YES !!! It works perfectly now !

Thank you very much :-)