# Error "This server is not configured to provide password hints"

**URL:** <https://vaultwarden.discourse.group/t/error-this-server-is-not-configured-to-provide-password-hints/2707>\
**Category:** Help\
**Created:** [June 4, 2023, 10:58am UTC](https://vaultwarden.discourse.group/t/error-this-server-is-not-configured-to-provide-password-hints/2707 "2023-06-04T10:58:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldeimosl](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@ldeimosl](https://vaultwarden.discourse.group/u/ldeimosl)\
**Post date:** [June 4, 2023, 10:58am UTC](https://vaultwarden.discourse.group/t/error-this-server-is-not-configured-to-provide-password-hints/2707/1 "2023-06-04T10:58:56Z")

</div>

Hi all! Please help. Situation:  
Installing from docker-compose:

```auto
version: "3"

services:
  vaultwarden:
    container_name: vaultwarden
    dns:
      - 1.1.1.1
    environment:
      #- ADMIN_TOKEN=/run/secrets/vaultwarden-admin-pw
      - globalSettings __mail__ replyToEmail=<EMAIL>
      - globalSettings __mail__ smtp__host=smtp.gmail.com
      - globalSettings __mail__ smtp__username=<EMAIL>
      - globalSettings __mail__ smtp__password=<PASSWORD>
      - globalSettings __mail__ smtp__ssl=true
      - globalSettings __mail__ smtp__port=587
      - globalSettings__disableUserRegistration=true
      - WEBSOCKET_ENABLED=true
      - ROCKET_ENV=prod
      - ROCKET_WORKERS=10
      - TZ=Europe/Berlin
      - LOG_LEVEL=error
      - EXTENDED_LOGGING=true
    hostname: vaultwarden
    ports:
      - 9565:80
    image: vaultwarden/server:latest
    labels:
      com.centurylinklabs.watchtower.monitor-only: true
    restart: unless-stopped
    volumes:
      - /mnt/docker-volumes/vaultwarden:/data
  
  vaultwarden-backup:
    container_name: vaultwarden-backup
    image: bruceforce/vaultwarden-backup:latest
    restart: unless-stopped
    init: true
    depends_on:
      - vaultwarden
    labels:
      com.centurylinklabs.watchtower.monitor-only: true
    volumes:
      - /mnt/docker-volumes/vaultwarden:/data/
      - /mnt/docker-volumes/vaultwarden/backup:/myBackup
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    environment:
      - TIMESTAMP=true
      - DELETE_AFTER=30
      - UID=0
      - GID=1000
      - TZ=Europe/Berlin
      - BACKUP_DIR=/myBackup
      - CRON_TIME=50 3 * * *

```

After successful installation, I sent a subdomain to a port in nginx:

```auto
server {
  server_name vault.site.com; # your host name
  location / {
    proxy_pass http://localhost:9565;
  }

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/vault.site.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/vault.site.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = vault.site.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot

  server_name vault.site.com;
    listen 80;
    #return 404; # managed by Certbot
}

```

I go to the subdomain, the system prompts you to enter an email. I enter, the system says - “Enter your account email to receive a hint for the master password.”. I enter, send and get an error:

```auto
vaultwarden | [2023-06-04 13:46:36.996][vaultwarden::api::core::accounts][ERROR] This server is not configured to provide password hints.

```

---

<div class="post-metadata">

**Author:** ![stefan0xC](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/stefan0xc/32/1765_2.png) [@stefan0xC](https://vaultwarden.discourse.group/u/stefan0xC)\
**Post date:** [June 4, 2023, 11:27am UTC](https://vaultwarden.discourse.group/t/error-this-server-is-not-configured-to-provide-password-hints/2707/2 "2023-06-04T11:27:50Z")

</div>

The environment variables for your SMTP configuration seem to be taken [from the bitwarden FAQ](https://bitwarden.com/help/hosting-faqs/#q-how-do-i-use-gmail-as-an-smtp-mail-server) and are not compatible with vaultwarden.

> **[SMTP Configuration](https://github.com/dani-garcia/vaultwarden/wiki/SMTP-Configuration)**
>
> Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden\_rs - dani-garcia/vaultwarden

You either need to set `SHOW_PASSWORD_HINT=true` (which is generally [not recommended](https://github.com/dani-garcia/vaultwarden/blob/445680fb84d238aa432fdec271235933043410e4/.env.template#L314-L317)) or configure SMTP correctly for password hints to work.

---

<div class="post-metadata">

**Author:** ![ldeimosl](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@ldeimosl](https://vaultwarden.discourse.group/u/ldeimosl)\
**Post date:** [June 4, 2023, 12:00pm UTC](https://vaultwarden.discourse.group/t/error-this-server-is-not-configured-to-provide-password-hints/2707/3 "2023-06-04T12:00:04Z")

</div>

> [@stefan0xC](#):
>
> SHOW\_PASSWORD\_HINT=true

Thank you so much! It works!
