MacPassHTTP icon indicating copy to clipboard operation
MacPassHTTP copied to clipboard

MacPassHTTP has high response time on MacPass 0.7.1 (17630)

Open mbrucco opened this issue 8 years ago • 23 comments

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

mbrucco avatar Nov 19 '17 20:11 mbrucco

Have you updated MacPassHTTP to version 0.3?

mstarke avatar Nov 19 '17 22:11 mstarke

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

mbrucco avatar Nov 20 '17 06:11 mbrucco

That is strange, since others report it works.

mstarke avatar Nov 20 '17 07:11 mstarke

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?

mstarke avatar Nov 20 '17 07:11 mstarke

Sorry, I tried to locate logs.. but without success.

Can you please help me to locate them?

I tried to reinstall both without positive results.

On 20 Nov 2017, at 08:53, Michael Starke [email protected] wrote:

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

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-345616871, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB933KxJReYzsaoJAZ9wG2226sjqzGLks5s4TAGgaJpZM4Qjhbs.

mbrucco avatar Nov 20 '17 09:11 mbrucco

From Update Notice of MacPass:

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

mbacodes avatar Nov 20 '17 11:11 mbacodes

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

mstarke avatar Nov 20 '17 11:11 mstarke

Hi, I try to attach print screen

I have 0.3 version installed and visible…

Leaving a web page open on login form, I noticed that after a very huge amount of minutes a notification appears… so now… it works… but too much slow….

How can be fixed the incredible delay?

BR Maurizio

On 20 Nov 2017, at 12:54, Michael Starke [email protected] wrote:

@mbacodes https://github.com/mbacodes @mbrucco https://github.com/mbrucco stated that he has updated to 0.3.

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-345674609, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB938GsKrV9-jyVvRDsIOQWA7OxzFSYks5s4WiQgaJpZM4Qjhbs.

mbrucco avatar Nov 20 '17 12:11 mbrucco

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.

mstarke avatar Nov 20 '17 13:11 mstarke

Thank a lot!!!! Your idea is good… issue is related to number of password stored, I tested with single entry and it work immediately

But my problem now is… how can I manage it? I have about 300 entries. Main reason is impossibility to add url alternatives, so I’ve to replicate entries for each possible url for same credentials.

I think something changed in how application reply to plug-in.

On 20 Nov 2017, at 14:37, Michael Starke [email protected] wrote:

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-345697480, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB93zRArvAaCAK6Td7m7T0_gDB6T1noks5s4YCmgaJpZM4Qjhbs.

mbrucco avatar Nov 20 '17 13:11 mbrucco

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 avatar Nov 20 '17 14:11 mstarke

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.

mstarke avatar Nov 20 '17 14:11 mstarke

Yes I know.. but plug-in is a must for me…

On 20 Nov 2017, at 15:21, Michael Starke [email protected] wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-345709378, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB9330e_mbUciKp40Y7bpA8PGO4Pu4qks5s4YsBgaJpZM4Qjhbs.

mbrucco avatar Nov 20 '17 14:11 mbrucco

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.

mstarke avatar Nov 20 '17 14:11 mstarke

I use a lot of reference

Inviato da iPhone

Il giorno 20 nov 2017, alle ore 15:38, Michael Starke [email protected] ha scritto:

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

mbrucco avatar Nov 20 '17 14:11 mbrucco

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?

mstarke avatar Nov 20 '17 17:11 mstarke

Ok, thanks.

Now I’m trying to prepare test database, it requires a lot time for me… as soon as I have it I’ll share with you.

Thanks again Maurizio

On 20 Nov 2017, at 15:38, Michael Starke [email protected] wrote:

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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-345714233, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB936sYS-N_ShcQ2WACwiqHpQCWTMBzks5s4Y7jgaJpZM4Qjhbs.

mbrucco avatar Nov 21 '17 08:11 mbrucco

Sorry for the inconvenience but I highly appreciate the effort!

mstarke avatar Nov 21 '17 08:11 mstarke

Any progress on your end?

mstarke avatar Nov 27 '17 08:11 mstarke

HI, Unfortunately no… I started getting my actual db, but I realised there are too much entries to clean password… but I discovered that I’ve to clean history too…

Is there any alternatives to perform it manually?

BR Maurizio

On 27 Nov 2017, at 09:13, Michael Starke [email protected] wrote:

Any progress on your end?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MacPass/MacPassHTTP/issues/47#issuecomment-347107382, or mute the thread https://github.com/notifications/unsubscribe-auth/ANB9399Geti4gRjWEmPAwXte3N5qsF4Yks5s6m8qgaJpZM4Qjhbs.

mbrucco avatar Nov 27 '17 08:11 mbrucco

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.

mstarke avatar Nov 27 '17 08:11 mstarke

Ho. Thanks.

I use uuid ref for user and password

Maurizio

Inviato da iPhone

Il giorno 27 nov 2017, alle ore 09:24, Michael Starke [email protected] ha scritto:

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.

I can create a 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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

mbrucco avatar Nov 27 '17 08:11 mbrucco

Hi, had you opportunity to complete dummy db?

mbrucco avatar Dec 09 '17 11:12 mbrucco