SMTP not connecting: SMTP IO error: Resource temporarily unavailable (os error 11) #2741

Closed
opened 2026-04-06 04:02:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jean-io on 10/28/2020

Hello,

For some reason sending email with SMTP is not working with bitwarden_rs latest image. I get the following error in my log file: SMTP IO error: Resource temporarily unavailable (os error 11). My understanding is this error is caused by the host and not from the remote SMTP server.
No luck on troubleshooting this issue so far...

Environment

  • Bitwarden_rs version: 1.17.0
  • Install method: Docker (latest)
  • Clients used: web ui

Extract of my docker compose file:

version: "3"

services:
  bitwarden_rs:
    hostname: 'XXX-BITWARDEN-CONTAINER'
    container_name: bitwarden_xxx
    image: bitwardenrs/server:latest
    ports:
      - "127.0.0.1:8004:80/tcp"
    environment:
      DOMAIN: "https://xxx"
      SIGNUPS_ALLOWED: "false"
      DATABASE_URL: "mysql://bitwarden:xxx@xxx/xxx"
      ENABLE_DB_WAL: "false"
      SMTP_HOST: "xxx"
      SMTP_FROM: "xxx"
      SMTP_PORT: 465
      SMTP_SSL: "true"
      SMTP_USERNAME: "xxx"
      SMTP_PASSWORD: "xxx"
      #LOG_LEVEL: "warn"
    volumes:
      - '/etc/hosts:/etc/hosts'
      - './bw_data/:/data/'
    restart: unless-stopped

Relevant logs

[2020-10-28 13:56:49.011][request][INFO] POST /api/accounts/verify-email
[2020-10-28 13:57:09.604][bitwarden_rs::api::core::accounts][ERROR] Error sending delete account email: SMTP IO error: Resource temporarily unavailable (os error 11)
[2020-10-28 13:57:09.604][response][INFO] POST /api/accounts/verify-email (post_verify_email) => 200 OK
[2020-10-28 14:39:58.788][request][INFO] POST /api/organizations/XXX/users/XXX/reinvite
[2020-10-28 14:40:18.619][error][ERROR] SMTP IO error: Resource temporarily unavailable (os error 11)
[2020-10-28 14:40:18.619][response][INFO] POST /api/organizations/<org_id>/users/<user_org>/reinvite (reinvite_user) => 400 Bad Request
*Originally created by @jean-io on 10/28/2020* Hello, For some reason sending email with SMTP is not working with bitwarden_rs latest image. I get the following error in my log file: `SMTP IO error: Resource temporarily unavailable (os error 11)`. My understanding is this error is caused by the host and not from the remote SMTP server. No luck on troubleshooting this issue so far... ### Environment * Bitwarden_rs version: 1.17.0 * Install method: Docker (latest) * Clients used: web ui Extract of my docker compose file: ``` version: "3" services: bitwarden_rs: hostname: 'XXX-BITWARDEN-CONTAINER' container_name: bitwarden_xxx image: bitwardenrs/server:latest ports: - "127.0.0.1:8004:80/tcp" environment: DOMAIN: "https://xxx" SIGNUPS_ALLOWED: "false" DATABASE_URL: "mysql://bitwarden:xxx@xxx/xxx" ENABLE_DB_WAL: "false" SMTP_HOST: "xxx" SMTP_FROM: "xxx" SMTP_PORT: 465 SMTP_SSL: "true" SMTP_USERNAME: "xxx" SMTP_PASSWORD: "xxx" #LOG_LEVEL: "warn" volumes: - '/etc/hosts:/etc/hosts' - './bw_data/:/data/' restart: unless-stopped ``` ### Relevant logs ``` [2020-10-28 13:56:49.011][request][INFO] POST /api/accounts/verify-email [2020-10-28 13:57:09.604][bitwarden_rs::api::core::accounts][ERROR] Error sending delete account email: SMTP IO error: Resource temporarily unavailable (os error 11) [2020-10-28 13:57:09.604][response][INFO] POST /api/accounts/verify-email (post_verify_email) => 200 OK [2020-10-28 14:39:58.788][request][INFO] POST /api/organizations/XXX/users/XXX/reinvite [2020-10-28 14:40:18.619][error][ERROR] SMTP IO error: Resource temporarily unavailable (os error 11) [2020-10-28 14:40:18.619][response][INFO] POST /api/organizations/<org_id>/users/<user_org>/reinvite (reinvite_user) => 400 Bad Request ```
MrUnknownDE added the questionbetter for forumtroubleshootingquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionquestionbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumbetter for forumtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshootingtroubleshooting labels 2026-04-06 04:02:36 +02:00
Sign in to join this conversation.
No Label better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum better for forum question question question question question question question question question question question question question question question question question question question question question question question question troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting troubleshooting
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#2741