You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for you report and the suggested code change, I confirm the issue.
I adapted it a bit, but I cannot validate it now as it requires a further investigation. It returns a false positive if the server doesn't point to this base but passbolt is configured with.
Healthcheck fullBaseUrlReachable returning an incorrect error
-- Operating system: FreeBSD 11.4
-- PHP: 7.3.27
-- Web server: Apache 2.4.46
-- Database server: MariaDB 10.3.27
What you did
Manual installation with the help of https://help.passbolt.com/hosting/install/ce/from-source.html and a healthcheck.
Config was 'fullBaseUrl' => 'https://192.168.1.23' and 'base' => '/passbolt'
What happened
The healthcheck showed errors for the fullBaseUrlReachable check.
What you expected to happen
No errors as the URL is available under the base.
Suggested change
Take the App.base into account.
src/Utility/Healthchecks.php:175
Old:
$url = Configure::read('App.fullBaseUrl') . '/healthcheck/status.json';
New:
$url = Configure::read('App.fullBaseUrl') . Configure::read('App.base') . '/healthcheck/status.json';
The text was updated successfully, but these errors were encountered: