Cannot login after fresh installation

PHP: 5.6.30
OS: debian 8 jessie
MySQL: Ver 14.14 Distrib 5.5.58

I just installed Passbolt on my local server and registered first user. Server authenticates normally wih the client and I finish creating new user through web client. After finishing on /auth/login subpage I input my master password and input fields are replaced by rolling gear along with the title “Logging in please wait” which is short after replaced by another rolling gear with different tile of “Checking server key”. After that I am back to normal input fields for user and password.

Did the healthcheck in web client which passed with no problem. I am not sure how to check the logs directly inside passbolt framework, apache doesn’t show any problems.

Thanks for the help.

Do you forbid 3rd party cookies in your browser settings? It looks like it could be the issue:

I am using chrome as a client. All sites are allowed to save and read cookie data and option block third-party cookies is not selected. If I browse saved cookies I can find saved cookie from my server with name CAKEPHP.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.

Do you see anything in the log of cakephp? They are in /app/tmp/logs

Can you try to open the browser console and see if there is any information there?

  • Go to chrome://extensions
  • Click on inspect view bellow the passbolt entry
  • Go to console tab
  • Try to log in a see if there is any error message showing up in the console

Can you also tell us about your setup: did you create the client key during the setup or did you import it? Did you try to create another user / use another browser / another computer to sees if there is an issue with that too?

I did check the console, the only thing in console after unsuccessful login is “Navigated to https://pass.X.YZ/auth/login

In error log there is only one report which appers to show only when I open the login page and not when I try to login unsuccessfully. That error states “2018-01-02 00:23:22 Error: [ForbiddenException] You need to login to access this location
Request URL: /auth/checkSession.json”.

I created the client key during setup using this ( tutorial.

In Firefox I get “The server was unable to respect the authentication protocol! There was a problem when trying to communicate with the server (HTTP Code:500)” error. Apache log does not show any errors regarding communication.

Having a similar issue myself. Any luck fixing this?

@jcbreel which error do you you get? Can you check the clock on your server and client? We’ve seen that if the server clock is behind the client’s this can be a cause of this.

Hi Remy,

Thanks for this. It seems it got us one step further. :slight_smile:

I have set my server clock to match client clock and I still encounter same problem. Any other ideas why this could be happening?

@jcbreel any other problems after solving this one?

Sorry I can’t help, it did the trick for me…

All browsers have default inbuilt certificate list of various SSL’s (secure socket layer). In SSL , clocks are used for certificate validation . Certificates used by websites which are considered to be secure (their URL begins with “https://”) are only issued for a certain period of time. If a website presents a certificate with a validity period that doesn’t match the current value of your system’s clock, browsers can’t verify that the connection is secure. Any mismatch in the certificates causes SSL Connection Error in the browser.