Hi, I have updated my self-hosted Passbolt, CentOS 7 and script based, to the latest Master version.
I have also updated the Android App to the latest 1.13.2 version.
After having succesfully trasnfered the access with the QR code to the mobile, as soon as I login with my password the app crashes without returning any error, it simply closes down.
Steps to reproduce:
- Transfer the account credentials with the QR code
- Open the App and type my Password
- Deny the usage of fingerprints
- Deny the usage of auto-fill
- The app seems opening when suddently closes down, crashing with no errors to the user. Impossibile to do anything before that.
Any advice?
Thank you
Hi @zipelkopf Welcome to the forum!
Can you confirm the model of your Android device and/or which Android version it’s running?
Also try to find passbolt logs on the server side indicating what is happening. If you can’t find them, how did you install your passbolt? Via package or source?
Hi @garrett and thanks for your quick engagement.
The mobile I’m using is a Samsung Galaxy S21, running Android 13.
I succesfully updated Passbolt using the script and following the official tutorial at Passbolt Help | Update passbolt on Centos 7 (installation script)
Everything else works perfectly fine, only the Android app presents this issue.
I repeated the process and looked into the logs but the folder is empty
[root@missioncontrol logs]# ll
total 0
I manage to trap the error in Android for reporting puproses, see details below:
- Exception class name:
java.time.format.DateTieParseException
- Source file:
DateTimeFormatter.java
- Source class:
java.time.format.DateTimeFormatter
- Source method:
parseResolved0
- Line number:
2044
Stack trace attached as image:
Thanks and kind regards
My first thought is to check the device time compared to the server time. They need to both be accurate. Servers are more likely to be off, typically.
Thanks, I checked the server time Vs mobile phone and they are both spot on!
Also, I guess if the server time wasn’t right then I would not be able to login from other desktop/laptops.
The issue points to a parsing error in Java… it seems more an unhandled exception to me… isnt’t it?
How can I contact the Passbolt Android developers to forward the stack trace?
Best regards
@zipelkopf You could report it on github for bugs or they might respond here.
Hello @zipelkopf , we have the exact same issue reported on GitHub: App Crashes After Login (DateTimeParseException) · Issue #4 · passbolt/mobile-passbolt-android · GitHub concerning installation from source; Basically, for some reason, there is no time zone information in the dates received from the backend and mobile uses ZonedDateTime for parsing, so it treats the date as invalid. We’ll see how to proceed with that and let you know.
2 Likes
@garrett / @mmichalek thanks a mill!
I have subscribed the GitHub issue so to follow up on progress.
Cheers
1 Like
Hello @zipelkopf ,
as a back-end developer, I am trying to reproduce your issue, with no success. You say you use CentOS7.
-
Which PHP version do you use?
php -v
-
What is the output of the following command:
/usr/share/php/passbolt/bin/cake passbolt version
-
Which database engine do you use, and which version?
-
If you call the url on your browser
/resources.json?contain[permission]=1&contain[favorite]=1&contain[tag]=1&contain[permissions.group]=1&limit=1
without pasting the complete output here, can you indicate the format in which the dates created
and modified
are returned?
Thanks a lot!
1 Like
Hi @pabloelcolombiano,
please find more details below:
PHP Version
[root@missioncontrol ~]# php -v
PHP 7.4.33 (cli) (built: Nov 8 2022 15:16:44) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
Passbolt Version
[root@missioncontrol ~]# /home/missioncontrol/public_html/passbolt/bin/cake passbolt version
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
Passbolt CE 4.0.0
Cakephp 4.2.9
Datetime format from resources.json
"created": "2023-02-20T16:07:41",
"modified": "2023-05-19T10:00:52",
Thank you and let me know if I can be of any help in testing a pre-release APK of the Android App.