# Mobile App - "invalid password"

**URL:** <https://community.passbolt.com/t/mobile-app-invalid-password/6209>\
**Category:** Installation Issues\
**Created:** [December 14, 2022, 10:43pm UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209 "2022-12-14T22:43:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![distrust](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@distrust](https://community.passbolt.com/u/distrust)\
**Post date:** [December 14, 2022, 10:43pm UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/1 "2022-12-14T22:43:52Z")

</div>

Is there a problem with Mobile App. I have added the two env variables to my docker container. I can setup the phone key until i get to enter the password. All I get is an invalid password. I have verified that the password is right, and timing is correct (GPG Key timing). but I can not finish the mobile setup. Below is docker container.

version: ‘3.9’  
services:  
db:  
image: mariadb:10.3  
restart: unless-stopped  
environment:  
MYSQL\_RANDOM\_ROOT\_PASSWORD: “true”  
MYSQL\_DATABASE: “passbolt”  
MYSQL\_USER: “passbolt”  
MYSQL\_PASSWORD: “password”  
volumes:  
- database\_volume:/var/lib/mysql

passbolt:  
image: passbolt/passbolt:latest-ce  
#Alternatively you can use rootless:  
#image: passbolt/passbolt:latest-ce-non-root  
restart: unless-stopped  
depends\_on:  
- db  
environment:  
APP\_FULL\_BASE\_URL: ##VALID URL HERE###  
DATASOURCES\_DEFAULT\_HOST: “db”  
DATASOURCES\_DEFAULT\_USERNAME: “username”  
DATASOURCES\_DEFAULT\_PASSWORD: “password”  
DATASOURCES\_DEFAULT\_DATABASE: “passbolt”  
PASSBOLT\_PLUGINS\_JWT\_AUTHENTICATION\_ENABLED: TRUE  
PASSBOLT\_PLUGINS\_MOBILE\_ENABLED: TRUE  
EMAIL\_DEFAULT\_FROM\_NAME: “Support”  
EMAIL\_DEFAULT\_FROM: “WORKS”  
EMAIL\_TRANSPORT\_DEFAULT\_HOST: “[smtp.sendgrid.net](http://smtp.sendgrid.net)”  
EMAIL\_TRANSPORT\_DEFAULT\_PORT: “587”  
EMAIL\_TRANSPORT\_DEFAULT\_TLS:  
EMAIL\_TRANSPORT\_DEFAULT\_USERNAME: “apikey”  
EMAIL\_TRANSPORT\_DEFAULT\_PASSWORD: “KEYHERE”  
PASSBOLT\_PLUGINS\_JWT\_AUTHENTICATION\_ENABLED: TRUE  
PASSBOLT\_PLUGINS\_MOBILE\_ENABLED: TRUE

```
volumes:
  - gpg_volume:/etc/passbolt/gpg
  - jwt_volume:/etc/passbolt/jwt
command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
ports:
  - 90:80
  - 1243:443
#Alternatively for non-root images:   
# - 8080:80
# - 4443:433

```

volumes:  
database\_volume:  
gpg\_volume:  
jwt\_volume:

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 14, 2022, 11:12pm UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/2 "2022-12-14T23:12:36Z")

</div>

Hi @distrust Welcome to the forum!

No one else has said anything yet. I had this problem awhile back because I was unknowingly pasting a space. Are there any errors in `/var/log/passbolt`?

Also here is the main reference for mobile troubleshooting, like debug logs. If you can produce a log and list that would be helpful. [Passbolt Help | iOS / Android Mobile FAQ](https://help.passbolt.com/faq/hosting/mobile-faq?pk_vid=ea548da7809e0cbc1671059421e0871d)

---

<div class="post-metadata">

**Author:** ![distrust](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@distrust](https://community.passbolt.com/u/distrust)\
**Post date:** [December 14, 2022, 11:30pm UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/3 "2022-12-14T23:30:05Z")

</div>

error.log file is empty

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/passbolt/original/2X/e/ea314757424d23167fdadbbe428fcc477a6d447c.png)

---

<div class="post-metadata">

**Author:** ![distrust](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@distrust](https://community.passbolt.com/u/distrust)\
**Post date:** [December 15, 2022, 12:43am UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/4 "2022-12-15T00:43:32Z")

</div>

docker logs shows this when trying to connect (unhelpful)  
72.19.0.1 - - [15/Dec/2022:00:42:46 +0000] “POST /auth/jwt/login.json HTTP/1.1” 400 250 “-” “okhttp/4.9.3”  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3026 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3028 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3031 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3033 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3036 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3038 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3040 (exit status 0)  
2022-12-15 00:42:46,905 INFO reaped unknown pid 3042 (exit status 0)  
2022/12/15 00:42:46 [info] 158#158: \*275 client 172.19.0.1 closed keepalive connection

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 15, 2022, 4:33am UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/5 "2022-12-15T04:33:14Z")

</div>

But this is helpful to see and confirms what you are saying. How about debug logs in mobile app?

---

<div class="post-metadata">

**Author:** ![distrust](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@distrust](https://community.passbolt.com/u/distrust)\
**Post date:** [December 15, 2022, 4:47am UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/6 "2022-12-15T04:47:57Z")

</div>

here are the debugs, after a ‘Successful’ login

```auto
Device: samsung SM-S908U1
Android 13 (33)
Passbolt 1.10.0-13

10:45:14 PM --> PUT https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json h2 (41-byte body)
10:45:14 PM <-- 200 https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json (71ms, unknown-length body)
10:45:14 PM --> PUT https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json h2 (41-byte body)
10:45:14 PM <-- 200 https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json (66ms, unknown-length body)
10:45:15 PM --> PUT https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json h2 (41-byte body)
10:45:15 PM <-- 200 https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json (67ms, unknown-length body)
10:45:16 PM --> PUT https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json h2 (41-byte body)
10:45:16 PM <-- 200 https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json (76ms, unknown-length body)
10:45:16 PM Saving private key.
10:45:16 PM --> PUT https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json?contain%5Buser.profile%5D=1 h2 (38-byte body)
10:45:16 PM <-- 200 https://pass.secone.llc/mobile/transfers/3df10faa-2be2-4785-9cab-44b593cf0c56/d27c1ff0-88a2-46fc-ba44-fce9347be747.json?contain%5Buser.profile%5D=1 (161ms, unknown-length body)
10:45:18 PM Checking biometry state
10:45:41 PM Passphrase cache cleared
10:45:41 PM Passphrase cached
10:45:41 PM Getting server pgp and rsa keys
10:45:41 PM --> GET https://pass.secone.llc/auth/verify.json h2
10:45:41 PM <-- 200 https://pass.secone.llc/auth/verify.json (117ms, unknown-length body)
10:45:41 PM --> GET https://pass.secone.llc/auth/jwt/rsa.json h2
10:45:42 PM <-- 200 https://pass.secone.llc/auth/jwt/rsa.json (118ms, unknown-length body)
10:45:42 PM Getting server pgp and rsa keys succeeded
10:45:42 PM Verifying server fingerprint
10:45:42 PM Server key fingerprint is valid
10:45:42 PM Preparing sign in challenge
10:45:42 PM Prepared sign in challenge
10:45:42 PM Signing in
10:45:42 PM --> POST https://pass.secone.llc/auth/jwt/login.json h2 (1639-byte body)
10:45:42 PM <-- 400 https://pass.secone.llc/auth/jwt/login.json (215ms, unknown-length body)
10:45:42 PM Failure during sign in: The credentials are invalid.

```

---

<div class="post-metadata">

**Author:** ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/garrett/32/545_2.png) [@garrett](https://community.passbolt.com/u/garrett)\
**Post date:** [December 15, 2022, 6:31am UTC](https://community.passbolt.com/t/mobile-app-invalid-password/6209/7 "2022-12-15T06:31:50Z")

</div>

Thank you this is very helpful for the team as they review your posts.
