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

Loading KeepassHTTP results in empty error message #121

Open
aheusingfeld opened this issue Jun 14, 2013 · 9 comments
Open

Loading KeepassHTTP results in empty error message #121

aheusingfeld opened this issue Jun 14, 2013 · 9 comments

Comments

@aheusingfeld
Copy link

I'm currently running Keepass 2.22 on CrossOver 12.2.1.26977 on Mac OS X 10.8.4. Crossover is a customized Wine

To access keepass in Firefox I

While starting Keepass tries to load the plugin but it fails with an empty popup error dialog. Empty in this case means there is no message in the dialog, just the OK button.

The same happens when I exchange the "KeePassHttp.pglx" file with "Newtonsoft.Json.dll" and "KeePassHttp.dll" from the mono directory.

Have you got an idea what the cause might be or do you know whether Keepass write a logfile about such load time errors?

BTW: Can you tell me which port KeePassHTTP tries to occupy? I'd like to check whether this port is already in use.

Thanks in advance for your support.

NOTE: I posted the same problem description as a support request at Codeweavers (https://www.codeweavers.com/compatibility/browse/name/?app_id=1641;forum=1;msg=146314)

@pfn
Copy link
Owner

pfn commented Jun 14, 2013

I haven't had much luck with using keepass on OSX for a while; instead, you
might want to try kypass companion, it is a compatible-to-keepass app that
also implements the keepasshttp protocol.

On Fri, Jun 14, 2013 at 12:42 PM, Alexander Heusingfeld <
[email protected]> wrote:

I'm currently running Keepass 2.22 on CrossOver 12.2.1.26977 on Mac OS X
10.8.4. Crossover is a customized Wine

To access keepass in Firefox I

While starting Keepass tries to load the plugin but it fails with an empty
popup error dialog. Empty in this case means there is no message in the
dialog, just the OK button.

The same happens when I exchange the "KeePassHttp.pglx" file with
"Newtonsoft.Json.dll" and "KeePassHttp.dll" from the mono directoryhttps://github.com/pfn/keepasshttp/tree/master/mono.

Have you got an idea what the cause might be or do you know whether
Keepass write a logfile about such load time errors?

BTW: Can you tell me which port KeePassHTTP tries to occupy? I'd like to
check whether this port is already in use.

Thanks in advance for your support.

NOTE: I posted the same problem description as a support request at
Codeweavers (
https://www.codeweavers.com/compatibility/browse/name/?app_id=1641;forum=1;msg=146314
)


Reply to this email directly or view it on GitHubhttps://github.com//issues/121
.

@aheusingfeld
Copy link
Author

Thanks for the quick response, @pfn. I'd really like to investigate in this issue but therefore I need answers on the questions above. Can you give me a little inside on this?

  1. Which port will KeePassHTTP try to occupy/ listen on?
  2. Is there any kind of logfile written by Keepass when it loads a plugin for the first time?
  3. Can you set Keepass into DEBUG mode so it puts out more information when loading a plugin?

Thanks in advance for your support.

@bokysan
Copy link

bokysan commented Jun 5, 2015

I can confirm that I can repeat this error in 2015.

Running KeePass 2.26 with the latest KeePassHttp (1.8.4.0) will create a blank popup message. KeePassHttp seems to be installed semi-installed though (you can see and use the "KeePassHttp Options..." from the "Tools" menu) but you can't see it on the "Plugins..." page.

Also the listening port does not open.

There's nothing in the Wine logs.

Anyway to crack up debbuging of KeePassHttp to stdout so we can see what's happening and paste the logs here?

@Starli0n
Copy link

Starli0n commented Jan 8, 2016

I have the exact same issue in 2016
Btw the default port is 19455.
Tools > KeePassHtpp Options... > Advanced

The plugin list is empty
Tools > Plugins...

It seems that the plugin KeePassHtpp is not loaded correctly whereas the same configuration works correctly on a native Windows + KeePassHtpp + PassIFox

@jasonxh
Copy link

jasonxh commented Sep 12, 2016

This is due to the use of System.Net.HttpListener, which depends on httpapi.dll 2.0, which is not available in Wine. I found a workaround to replace this dependency completely with a managed implementation. If anyone's still trying to get KeePassHttp to work with Wine, you can checkout my forked repo at https://github.com/jasonxh/keepasshttp.

@pfn
Copy link
Owner

pfn commented Oct 14, 2016

Actually, if the managed implemention of the HTTP listener is fairly
robust, I would appreciate a PR that would switch to this.

On Mon, Sep 12, 2016 at 12:21 AM Hao Xia [email protected] wrote:

This is due to the use of System.Net.HttpListener, which depends on
httpapi.dll 2.0, which is not available in Wine. I found a workaround to
replace this dependency completely with a managed implementation. If
anyone's still trying to get KeePassHttp to work with Wine, you can
checkout my forked repo at https://github.com/jasonxh/keepasshttp.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#121 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfQxeA_2wK8lUQMp-kOhvl81s7AnI9mks5qpP10gaJpZM4AvLJr
.

@jasonxh
Copy link

jasonxh commented Oct 16, 2016

@pfn yeah it's been fairly stable for me for more than a month. I've opened PR #289

@nifr
Copy link

nifr commented Oct 17, 2016

Nice PR @jasonxh - thanks for the contribution!

@oit63
Copy link

oit63 commented Jul 11, 2019

@pfn @jasonxh thanks, works fine on macOS 10.14.5

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

7 participants