Passbolt - Google Chrome slow

Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[x ] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[ x] I describe the steps I have taken to trouble shoot the problem
[x ] I describe the steps on how to reproduce the issue

Hi everyone ,
I recently installed Passbolt in a Debian 12 - AWS instance with MariaDB 10.11.6, Wildcard certificate. It works really well when using it with Firefox (no delay, no waiting times), but with Google Chrome is really slow. It takes 1-2 minutes to connect the extension and same when you type your passphrase and log in.
I’ve readed the tutorials, other topics about Passbolt being slow, configured the DB config to make it performant but nothing helped .

____                  __          ____
/ __ \____  _____ ____/ /_  ____  / / /_

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/
/ _
,
/
//./_//__/

Open source password manager for teams

Healthcheck shell

Environment

[PASS] PHP version 8.2.18.
[PASS] PHP version is 8.1 or above.
[PASS] PCRE compiled with unicode support.
[PASS] Mbstring extension is installed.
[PASS] Intl extension is installed.
[PASS] GD or Imagick extension is installed.
[PASS] The temporary directory and its content are writable and not executable.
[PASS] The logs directory and its content are writable.

Config files

[PASS] The application config file is present
[PASS] The passbolt config file is present

Core config

[PASS] Cache is working.
[PASS] Debug mode is off.
[PASS] Unique value set for security.salt
[PASS] Full base url is set to https://my-url.com
[PASS] App.fullBaseUrl validation OK.
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[HELP] Check that the domain name is correct in /etc/passbolt/passbolt.php
[HELP] Check the network settings

SSL Certificate

[WARN] SSL peer certificate does not validate.
[WARN] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate.
[HELP] Check Troubleshooting SSL/TLS | Passbolt documentation.

SMTP settings

[PASS] The SMTP Settings plugin is enabled.
[PASS] SMTP Settings coherent. You may send a test email to validate them.
[PASS] The SMTP Settings source is: database.
[WARN] The SMTP Settings plugin endpoints are enabled.
[HELP] It is recommended to disable the plugin endpoints.
[HELP] Set the PASSBOLT_SECURITY_SMTP_SETTINGS_ENDPOINTS_DISABLED environment variable to true.
[HELP] Or set passbolt.security.smtpSettings.endpointsDisabled to true in /etc/passbolt/passbolt.php.

JWT Authentication

[PASS] The JWT Authentication plugin is enabled.
[PASS] The /etc/passbolt/jwt/ directory is not writable.
[PASS] A valid JWT key pair was found.

GPG Configuration

[PASS] PHP GPG Module is installed and loaded.
[PASS] The environment variable GNUPGHOME is set to /var/lib/passbolt/.gnupg.
[PASS] The directory /var/lib/passbolt/.gnupg containing the keyring is writable by the webserver user.
[PASS] The server OpenPGP key is not the default one.
[PASS] The public key file is defined in /etc/passbolt/passbolt.php and readable.
[PASS] The private key file is defined in /etc/passbolt/passbolt.php and readable.
[PASS] The server key fingerprint matches the one defined in /etc/passbolt/passbolt.php.
[PASS] The server public key defined in the /etc/passbolt/passbolt.php (or environment variables) is in the keyring.
[PASS] There is a valid email id defined for the server key.
[PASS] The public key can be used to encrypt a message.
[PASS] The private key can be used to sign a message.
[PASS] The public and private keys can be used to encrypt and sign a message.
[PASS] The private key can be used to decrypt a message.
[PASS] The private key can be used to decrypt and verify a message.
[PASS] The public key can be used to verify a signature.
[PASS] The server public key format is Gopengpg compatible.
[PASS] The server private key format is Gopengpg compatible.

Application configuration

[PASS] Using latest passbolt version (4.7.0).
[PASS] Passbolt is configured to force SSL use.
[PASS] App.fullBaseUrl is set to HTTPS.
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[INFO] The Self Registration plugin is enabled.
[INFO] Registration is closed, only administrators can add users.
[PASS] The deprecated self registration public setting was not found in /etc/passbolt/passbolt.php.
[WARN] Host availability checking is disabled.
[HELP] Make sure this instance is not publicly available on the internet.
[HELP] Or set the PASSBOLT_EMAIL_VALIDATE_MX environment variable to true.
[HELP] Or set passbolt.email.validate.mx to true in /etc/passbolt/passbolt.php.
[PASS] Serving the compiled version of the javascript app.
[WARN] Some email notifications are disabled by the administrator.
[PASS] The database schema up to date.

Database

[PASS] The application is able to connect to the database
[PASS] 31 tables found.
[PASS] Some default content is present.

[FAIL] 1 error(s) found. Hang in there!

Hello @ChrisVille, welcome to our community :slight_smile:

I would like to know if you could share the output of the datacheck:
sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt datacheck --hide-success-details" www-data

Also, do you have any other chrome extensions running? Do you have Memory Saver active? (Chrome Settings > Performances > Memory Saver)

Hi @antony,
thanks for your answer.
I’ve checked the config and Memory Saver in Chrome is deactivated, i’ve tried with clean Chrome profiles without any other extension installed with same results.
Here the output from datacheck:
sudo su -s /bin/bash -c “/usr/share/php/passbolt/bin/cake passbolt datacheck --hide-success-details” www-data

 ____                  __          ____
/ __ \____  _____ ____/ /_  ____  / / /_

/ // / __ `/ / / __ / __ / / _/
/ / // ( |
) /
/ / /
/ / / /
/
/ _
,
/
//./_//__/

Open source password manager for teams

Data check shell
[PASS] Data integrity for AuthenticationTokens.
[PASS] Can validate: 55/55
[PASS] Data integrity for Comments.
[PASS] Can validate: 0/0
[PASS] Data integrity for Favorites.
[PASS] Can validate: 0/0
[PASS] Data integrity for Gpgkeys.
[PASS] Can encrypt: 5/5
[PASS] Pass validation service checks: 5/5
[PASS] Entity data and armored key data matches: 5/5
[PASS] Is not expired: 5/5
[PASS] Is armored key format valid: 5/5
[PASS] Data integrity for Groups.
[PASS] Can validate: 1/1
[PASS] Data integrity for Profiles.
[PASS] Can validate: 7/7
[PASS] Data integrity for Resources.
[PASS] Can validate: 4/4
[PASS] Data integrity for Secrets.
[PASS] Can validate: 16/16
[PASS] Data integrity for Users.
[PASS] Can validate: 7/7

Regards,
Chris

Maybe this helps, here is the debug log of the Passbolt Chrome extension:
index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/users): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): No content script application acknowledged presence on worker runtime memory port. Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at index.min.js:2:3744

at new Promise ()

at f.request (index.min.js:2:3560)

at exec (index.min.js:2:582287)

index.min.js:2 The pagemod “Recover” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Setup” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Auth” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “App” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “QuickAccess” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormCallToAction” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormMenu” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “AccountRecovery” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Recover” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Setup” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Auth” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “App” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “QuickAccess” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormCallToAction” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormMenu” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “AccountRecovery” should implement canBeAttachedTo. Default false.

index.min.js:2 TabService::exec(id: 1361579375): Trigger pagemods identification process.

index.min.js:2 Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369075)

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Uncaught (in promise) Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369151)

emit @ index.min.js:2

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 TabService::exec(id: 1361579101): Trigger pagemods identification process.

index.min.js:2 Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369075)

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Uncaught (in promise) Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369151)

emit @ index.min.js:2

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/users): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): Content script application acknowledged presence on worker runtime memory port.

index.min.js:2 The pagemod “Recover” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Setup” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Auth” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “App” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “QuickAccess” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormCallToAction” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormMenu” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “AccountRecovery” should implement canBeAttachedTo. Default false.

index.min.js:2 TabService::exec(id: 1361579375): Trigger pagemods identification process.

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/users): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): Content script application acknowledged presence on worker runtime memory port.

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/users): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): Content script application acknowledged presence on worker runtime memory port.

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/users): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): Content script application acknowledged presence on worker runtime memory port.

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/passwords): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): Content script application acknowledged presence on worker runtime memory port.

index.min.js:2 Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369075)

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Uncaught (in promise) Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369151)

emit @ index.min.js:2

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 TabService::exec(id: 1361579101, url: https://my-url.com/app/administration/mfa): Navigation detected.

index.min.js:2 TabService::exec(id: 1361579101): No content script application acknowledged presence on worker runtime memory port. Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at index.min.js:2:3744

at new Promise ()

at f.request (index.min.js:2:3560)

at exec (index.min.js:2:582287)

index.min.js:2 The pagemod “Recover” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Setup” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “Auth” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “App” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “QuickAccess” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormCallToAction” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “InFormMenu” should implement canBeAttachedTo. Default false.

index.min.js:2 The pagemod “AccountRecovery” should implement canBeAttachedTo. Default false.

index.min.js:2 Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369075)

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Uncaught (in promise) Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at gl._exec (index.min.js:2:369151)

emit @ index.min.js:2

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at Hu._exec (index.min.js:2:420392)

at async f. (index.min.js:2:420869)

_exec @ index.min.js:2

await in _exec (asíncrono)

(anónimo) @ index.min.js:2

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 Uncaught (in promise) Error: Attempting to use a disconnected port object

at f.emit (index.min.js:2:3412)

at Hu._exec (index.min.js:2:420468)

at async f. (index.min.js:2:420869)

emit @ index.min.js:2

_exec @ index.min.js:2

await in _exec (asíncrono)

_onMessage @ index.min.js:2

(anónimo) @ index.min.js:2

index.min.js:2 TabService::exec(id: 1361579101): Trigger pagemods identification process.

index.min.js:2 TabService::exec(id: 1361579098): Content script application acknowledged presence on worker runtime memory port.

I am really surprised to see performances issues with that low amount of resources, since it is not happening on Firefox, I think that this is most likely related to the client’s Chrome. Are you the only one having this issue on Chrome or all of your users as well?

If you are the only one, what are the OS configuration ? Also thanks for the logs but if you can, please share the errors if any from the browser extension logs

Hi @antony,
sorry for the delay. I’ve tried with M1 MacBook Pro and Intel MacBook Pro, all users have the same problem with Chrome.

Here the HAR file of the Passbolt Chrome extension.

I haven’t found any reveleant information in the browser extension logs that could explain the issues you are encountering.

After censoring any sensitive information, could you share the output of the server logs? It should be located in /var/log/passbolt/error.log

Also have you disabled the hardware acceleration on Chrome? Do you have any other extensions running on Chrome as well?

Hi @antony ,

I’ve tried with Chrome profiles with other addons and without any other addons, same result.
Hardware acceleration is activated.
I’ve upgraded today to version 4.8.0 but the problem persists.
As requested, here the/var/log/passbolt/error.log

2024-04-30 09:27:30 warning: file_get_contents(/etc/passbolt/gpg/serverkey.asc): Failed to open stream: No such file or directory

Request URL: /install/system_check

Referer URL: https://my-url.com/install

Client IP: X.X.X.X

2024-04-30 09:27:30 warning: file_get_contents(/etc/passbolt/gpg/serverkey_private.asc) [function.file-get-contents]: Failed to open stream: No such file or directory

Request URL: /install/system_check

Referer URL: https://my-url.com/install

Client IP: X.X.X.X

2024-04-30 09:32:13 warning: chmod(): Operation not permitted

Request URL: /install/installation/do_install.json

Referer URL: https://my-url.com/install/installation

Client IP: X.X.X.X

2024-04-30 09:32:13 warning: chmod() [function.chmod]: Operation not permitted

Request URL: /install/installation/do_install.json

Referer URL: https://my-url.com/install/installation

Client IP: X.X.X.X

2024-04-30 09:32:13 warning: chmod() [function.chmod]: Operation not permitted

Request URL: /install/installation/do_install.json

Referer URL: https://my-url.com/install/installation

Client IP: X.X.X.X

2024-04-30 09:32:13 warning: chmod() [function.chmod]: Operation not permitted

Request URL: /install/installation/do_install.json

Referer URL: https://my-url.com/install/installation

Client IP: X.X.X.X

2024-04-30 09:32:13 warning: chmod() [function.chmod]: Operation not permitted

Request URL: /install/installation/do_install.json

Referer URL: https://my-url.com/install/installation

Client IP: X.X.X.X

2024-04-30 10:53:09 error: [Cake\Routing\Exception\MissingRouteException] A route matching “/install/installation” could not be found. in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 248

Request URL: /install/installation

Client IP: X.X.X.X

2024-04-30 11:00:42 error: [Cake\Http\Exception\NotFoundException] This user does not exist or has been deleted. Please contact your administrator. in /usr/share/php/passbolt/src/Service/Users/UserRecoverService.php on line 203

Request URL: /users/recover.json?api-version=v2

Referer URL: https://my-url.com/users/recover?locale=de-DE

Client IP: X.X.X.X

2024-04-30 11:00:42 error: [Cake\Http\Exception\ForbiddenException] The self registration is disabled. in /usr/share/php/passbolt/plugins/PassboltCe/SelfRegistration/src/Service/DryRun/SelfRegistrationEmailDomainsDryRunService.php on line 65

Request URL: /self-registration/dry-run.json?api-version=v2

Referer URL: https://my-url.com/users/recover?locale=de-DE

Client IP: X.X.X.X

2024-04-30 11:02:36 error: [Cake\Routing\Exception\MissingRouteException] A route matching “/administration” could not be found. in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 248

Request URL: /administration

Client IP: X.X.X.X

2024-04-30 11:35:50 error: [App\Error\Exception\CustomValidationException] The authentication token is not valid. in /usr/share/php/passbolt/src/Service/AuthenticationTokens/AuthenticationTokenGetService.php on line 113

Request URL: /setup/recover/fae96c8f-3ff3-4d6a-8130-4d51f7ed9f54/d4af1ff3-6d0f-47b7-9b20-b54480d1b2b1.json?api-version=v2

Referer URL: https://my-url.com/setup/recover/start/fae96c8f-3ff3-4d6a-8130-4d51f7ed9f54/d4af1ff3-6d0f-47b7-9b20-b54480d1b2b1

Client IP: X.X.X.X

2024-04-30 13:12:45 error: [Cake\Routing\Exception\MissingRouteException] A route matching “/70501c97b33df95adb32.json” could not be found. in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Routing/RouteCollection.php on line 248

Request URL: /70501c97b33df95adb32.json

Referer URL: https://my-url.com/

Client IP: X.X.X.X

2024-05-02 07:09:26 error: [App\Error\Exception\CustomValidationException] The authentication token is not valid. in /usr/share/php/passbolt/src/Service/AuthenticationTokens/AuthenticationTokenGetService.php on line 113

Request URL: /setup/recover/fae96c8f-3ff3-4d6a-8130-4d51f7ed9f54/98f16dde-f917-430e-a54a-4269b1b93aa0.json?api-version=v2

Referer URL: https://my-url.com/setup/recover/start/fae96c8f-3ff3-4d6a-8130-4d51f7ed9f54/98f16dde-f917-430e-a54a-4269b1b93aa0

Client IP: X.X.X.X

2024-05-02 07:10:40 error: [App\Error\Exception\CustomValidationException] The authentication token is not valid. in /usr/share/php/passbolt/src/Service/AuthenticationTokens/AuthenticationTokenGetService.php on line 113

Request URL: /setup/recover/start/fae96c8f-3ff3-4d6a-8130-4d51f7ed9f54/98f16dde-f917-430e-a54a-4269b1b93aa0.json?api-version=v2

Client IP: X.X.X.X

2024-05-03 11:21:19 error: [Cake\Http\Exception\NotFoundException] This user does not exist or has been deleted. Please contact your administrator. in /usr/share/php/passbolt/src/Service/Users/UserRecoverService.php on line 203

Request URL: /users/recover.json?api-version=v2

Referer URL: https://my-url.com/auth/login?locale=es-ES

Client IP: X.X.X.X

2024-05-03 11:21:19 error: [Cake\Http\Exception\ForbiddenException] The self registration is disabled. in /usr/share/php/passbolt/plugins/PassboltCe/SelfRegistration/src/Service/DryRun/SelfRegistrationEmailDomainsDryRunService.php on line 65

Request URL: /self-registration/dry-run.json?api-version=v2

Referer URL: https://my-url.com/auth/login?locale=es-ES

Client IP: X.X.X.X

2024-05-15 08:38:14 error: Could not connect to Database.

2024-05-15 08:38:19 error: Could not connect to Database.

2024-05-15 08:38:19 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 144

Caused by: [PDOException] SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 132

Request URL: /auth/login.json?api-version=v2

Client IP: X.X.X.X

2024-05-15 08:38:19 error: Could not connect to Database.

2024-05-15 08:38:19 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 144

Caused by: [PDOException] SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 132

Request URL: /auth/verify.json?api-version=v2

Client IP: X.X.X.X

2024-05-15 08:38:19 error: Could not connect to Database.

2024-05-15 08:38:19 error: Could not connect to Database.

2024-05-15 08:38:25 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 144

Caused by: [PDOException] SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 132

Request URL: /auth/login.json?api-version=v2

Client IP: X.X.X.X

2024-05-15 08:38:25 error: Could not connect to Database.

2024-05-15 08:38:34 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 144

Caused by: [PDOException] SQLSTATE[HY000] [1130] Host ‘127.0.0.1’ is not allowed to connect to this MariaDB server in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 132

Request URL: /auth/verify.json?api-version=v2

Client IP: X.X.X.X

2024-05-15 08:38:38 error: Could not connect to Database.

2024-05-15 08:38:38 error: Could not connect to Database.

Hello @ChrisVille sorry for the delay here :slight_smile:

I see that there is some issues regarding the server not being able to connect to the database but it seems it works on firefox and the healthChecks are green, I assume they are older logs.

Actually, since you mentioned being on macOS, we’ve seen similar issues when the hardware acceleration was activated, just in case could you try to deactivate it?

Also, is the issues persisting with the latest update which is v4.8.1 ?

Hi @antony thanks for your reply.

Yes, the DB connection issues are old and are resolved.
I’ve tried with hardware acceleration activated and deactivated, the plugin version v4.8.1 seems to work really fast in both scenarios!

Thank you very much!

3 Likes