I’m have run the install from source code on SUSE Linux Enterprise Server 15 SP3 with some success
The server works perfectly with Any browser I tried, and the healthcheck states that all is good.
But when trying to configure the mobile access via Android, I get to the login part and it fails with the following message: “Something went wrong”.
I’ve turned on debug log on the mobile client, and the following is logged:
03.09.33 Getting server pgp and rsa keys
03.09.33 --> GET https://server.domain.com/auth/verify.json http/1.1
03.09.34 <-- 200 OK https://server.domain.com/auth/verify.json (254ms, 2131-byte body)
03.09.34 --> GET https://server.domain.com/auth/jwt/rsa.json http/1.1
03.09.34 <-- 500 Internal Server Error https://server.domain.com/auth/jwt/rsa.json (251ms, 261-byte body)
03.09.34 retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
03.09.34 Generic error occurred03.11.30 Checking biometry state
03.11.46 Getting server pgp and rsa keys03.11.46 --> GET https://server.domain.com/auth/verify.json http/1.1
03.11.47 <-- 200 OK https://server.domain.com/auth/verify.json (955ms, 2131-byte body)
03.11.48 --> GET https://server.domain.com/auth/jwt/rsa.json http/1.1
03.11.48 <-- 500 Internal Server Error https://server.domain.com/auth/jwt/rsa.json (311ms, 261-byte body)
03.11.48 retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
03.11.48 Generic error occurred
03.12.07 Checking biometry state
What springs into mind is the Error 500 with jwt - and I read something about Apache and problems with the authentication part and my apache .conf is as follows now:
retrofit2.HttpException: HTTP 500 Internal Server Error at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
16.45.03 Generic error occurred
16.45.05 Getting server pgp and rsa keys
16.45.06 → GET https://server.domain.com/auth/verify.json http/1.1
16.45.06 ← 200 OK https://server.domain.com/auth/verify.json (154ms, 2131-byte body)
16.45.06 → GET https://server.domain.com/auth/jwt/rsa.json http/1.1
16.45.06 ← 500 Internal Server Error https://server.domain.com/auth/jwt/rsa.json (164ms, 261-byte body)
16.45.06 retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
retrofit2.HttpException: HTTP 500 Internal Server Error at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
16.45.06 Generic error occurred
16.45.34 Getting server pgp and rsa keys
16.45.34 → GET https://server.domain.com/auth/verify.json http/1.1
16.45.35 ← 200 OK https://server.domain.com/auth/verify.json (185ms, 2131-byte body)
16.45.35 → GET https://server.domain.com/auth/jwt/rsa.json http/1.1
16.45.35 ← 500 Internal Server Error https://server.domain.com/auth/jwt/rsa.json (152ms, 261-byte body)
16.45.35 retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
retrofit2.HttpException: HTTP 500 Internal Server Error
at retrofit2.KotlinExtensions$await$2$2.onResponse(SourceFile:53)
at retrofit2.OkHttpCall$1.onResponse(SourceFile:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:504)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)16.45.35 Generic error occurred
@BlackAdderDK Just throwing this in here if it might help… I had a similar error due to a malformed public server key (had two blank lines before closing tag instead of one). The pesky part was the browser extension didn’t mind and there were no other clues other than 500 failure at jwt fetching.
2022-01-31 15:47:16 Alert: The key pair for JWT Authentication is not complete.
2022-01-31 15:47:16 Error: The following file could not be read: /webdata/passbolt/config/jwt/jwt.pem.
2022-01-31 15:47:16 Error: [Passbolt\JwtAuthentication\Error\Exception\AccessToken\InvalidJwtKeyPairException] The key pair for JWT Authentication is not complete. in /webdata/passbolt/plugins/Passbolt/JwtAuthentication/src/Service/AccessToken/JwtAbstractService.php on line 58
Request URL: /auth/jwt/rsa.json
[PASS] The JWT Authentication plugin is enabled
[PASS] The /webdata/passbolt/config/jwt/ directory is not writable.
[PASS] A valid JWT key pair was found
Thanks for all your help - everything is fine now… there’s a message in the installer that might need to be changed
During the creation of the jwt keypair (Passbolt Help | How to generate JWT key pair manually), it’s stated that the owner should be root:www… And I guess I made a mistake here… instead of the group: “www” I have used the name of user “wwwrun”… and there’s also a group named that… so no error in the command
But all is good now - so again, thanks for your help