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

MacPassHTTP has high response time on MacPass 0.7.1 (17630) #47

Open
mbrucco opened this issue Nov 19, 2017 · 23 comments
Open

MacPassHTTP has high response time on MacPass 0.7.1 (17630) #47

mbrucco opened this issue Nov 19, 2017 · 23 comments

Comments

@mbrucco
Copy link

mbrucco commented Nov 19, 2017

Hi,
yesterday I upgraded MacPass to new release, but now integration from "ChromeIPass" on Chrome and "PassIFox" on FireFox are not working...

I deleted "Shared enchription keys" and "Stored permission", I connected browser extensions again, but they are not working.

Please, any idea to solve it?

BR
Maurizio

@mstarke
Copy link
Member

mstarke commented Nov 19, 2017

Have you updated MacPassHTTP to version 0.3?

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017

Yes I did it. It is not working... no entries returned and filled.

@mbrucco mbrucco closed this as completed Nov 20, 2017
@mbrucco mbrucco reopened this Nov 20, 2017
@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

That is strange, since others report it works.

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

Can you check any logs/output from MacPass or the extensions on what they try to do and what fails?

  • Does the MacPassHTTP Webserver work? (try to connect via telnet for example
  • Are port settings correct? (take a look at the settings)
  • Can you manually delete the KeePassHTTP Settings entry in the root group?

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017 via email

@mbacodes
Copy link

From Update Notice of MacPass:

Version 0.7.x breaks the old plugin API. Thus you need to update any plugins to work again!

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

@mbacodes @mbrucco stated that he has updated to 0.3.

@mbrucco: Is MacPassHTTP displayed in the plugin settings of MacPass? Did you try to telnet into the server?

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017 via email

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

Can you post some statistics on you database? Is the file very large? Can you test the setup with a clean and simple example database?

The plugin is not my main focus - MacPass is so I'm very open to any suggestions on how to debug this.

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017 via email

@mstarke mstarke changed the title MacPassHTTP on MacPass 0.7.1 (17630) MacPassHTTP has high response time on MacPass 0.7.1 (17630) Nov 20, 2017
@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

I ran a small test to see what might have caused the change. Do you use a simple entries or use those entries a lot of references and/or placeholders?

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

And did you consider just using Autotype with window associations? This might match multiple URLs better but you lose some of the comfort of the plugin.

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017 via email

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

Again, do you use References or plain copies of the entries?

I just ran a test with a database with 256 entries with the same url added in 16 nested groups and the response time was instant. No reference or placeholders though. This might be the bottleneck since reference resolving was changed since the last release and is not really optimised for speed.

@mbrucco
Copy link
Author

mbrucco commented Nov 20, 2017 via email

@mstarke
Copy link
Member

mstarke commented Nov 20, 2017

I changed the setup with a database with 256 entries all with references to the same entry but the request is still very fast. I cannot get the low speed responses. Is the database file located anywhere special? Can you try to create a simple test database that has the same issues so I can investigate any further?

@mbrucco
Copy link
Author

mbrucco commented Nov 21, 2017 via email

@mstarke
Copy link
Member

mstarke commented Nov 21, 2017

Sorry for the inconvenience but I highly appreciate the effort!

@mstarke
Copy link
Member

mstarke commented Nov 27, 2017

Any progress on your end?

@mbrucco
Copy link
Author

mbrucco commented Nov 27, 2017 via email

@mstarke
Copy link
Member

mstarke commented Nov 27, 2017

You can disable the history and MacPass will clean all the history of all entries. Another way is to save the file as .kdb since kdb does not support history but you will lose other things too that might contribute to your long response times. Forget that, do not try to clean up your DB. We should focus on creating a dummy on that mirrors your setup.

I can create that dummy DB for you and you can try to use this one and see what response times you get.

You said you use a lot of references - what kind of reference are you using? UUID based or do you query other fields of entries? This way I might be able to create a setup that represents yours and can determine where the time gets used up the most.

@mbrucco
Copy link
Author

mbrucco commented Nov 27, 2017 via email

@mbrucco
Copy link
Author

mbrucco commented Dec 9, 2017

Hi, had you opportunity to complete dummy db?

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

No branches or pull requests

3 participants