Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. Vaultwarden - Can not send email anymore (STARTTLS error)

Vaultwarden - Can not send email anymore (STARTTLS error)

Scheduled Pinned Locked Moved Solved Vaultwarden
vaultwardenemailsmtpstarttlsbitwarden
16 Posts 3 Posters 5.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrmxM mrmx

    Just tried to invite someone to my Bitwarden instance and always reports the error: SMTP Client error: internal client error: STARTTLS is not supported on this server.

    The other apps can send mail btw.

    It just worked before, may be the latest Cloudron version update?

    Vaultwarden 1.23.0
    Cloudron v7.0.4 (Ubuntu 18.04.3 LTS)

    girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #2

    @mrmx Just tried this and it does work on a new install. Can you go the Location view and click Save without making any changes and then try to invite someone again?

    mrmxM 1 Reply Last reply
    0
    • girishG girish

      @mrmx Just tried this and it does work on a new install. Can you go the Location view and click Save without making any changes and then try to invite someone again?

      mrmxM Offline
      mrmxM Offline
      mrmx
      wrote on last edited by mrmx
      #3

      @girish Done and stays the same, here you are the log:

      [2021-11-25 10:23:04.602][vaultwarden::mail][ERROR] SMTP Client error: internal client error: STARTTLS is not supported on this server

      Te installation was done a month ago or so, and it's not used until now that we need it. I could reinstall for sure, but I this error can be fixed it would be better for Cloudron 😉

      girishG 1 Reply Last reply
      0
      • mrmxM mrmx

        @girish Done and stays the same, here you are the log:

        [2021-11-25 10:23:04.602][vaultwarden::mail][ERROR] SMTP Client error: internal client error: STARTTLS is not supported on this server

        Te installation was done a month ago or so, and it's not used until now that we need it. I could reinstall for sure, but I this error can be fixed it would be better for Cloudron 😉

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #4

        @mrmx thanks, just to quickly test, can you install a new vaultwarden instance and see if it has the same problem? If so, this looks like some problem with the new Cloudron 7 update (not sure what that is yet though). In the meantime, I am trying to reproduce this by updating from Cloudron 6.3 to 7 with vaultwarden installed.

        mrmxM 1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #5

          OK, I did a full test and this works fine for me .

          Just to double check, have you configured anything mail related in /app/data/config.env ? If you like I can debug this further, if you write to support@cloudron.io and give us remote access.

          mrmxM arshsahzadA 2 Replies Last reply
          0
          • girishG girish

            @mrmx thanks, just to quickly test, can you install a new vaultwarden instance and see if it has the same problem? If so, this looks like some problem with the new Cloudron 7 update (not sure what that is yet though). In the meantime, I am trying to reproduce this by updating from Cloudron 6.3 to 7 with vaultwarden installed.

            mrmxM Offline
            mrmxM Offline
            mrmx
            wrote on last edited by
            #6

            @girish Yep a fresh install works like a charm.
            I tried with a previous backup and it's not the the data, so it seems an instance networking problem.

            1 Reply Last reply
            0
            • girishG girish

              OK, I did a full test and this works fine for me .

              Just to double check, have you configured anything mail related in /app/data/config.env ? If you like I can debug this further, if you write to support@cloudron.io and give us remote access.

              mrmxM Offline
              mrmxM Offline
              mrmx
              wrote on last edited by
              #7

              @girish Nope, I'm sorry but keep the fresh instance and deleted the failing one, so this problem will be in the unknown... 😉

              arshsahzadA 1 Reply Last reply
              1
              • mrmxM mrmx

                @girish Nope, I'm sorry but keep the fresh instance and deleted the failing one, so this problem will be in the unknown... 😉

                arshsahzadA Offline
                arshsahzadA Offline
                arshsahzad
                wrote on last edited by arshsahzad
                #8

                same problem with me...

                1 Reply Last reply
                0
                • girishG girish

                  OK, I did a full test and this works fine for me .

                  Just to double check, have you configured anything mail related in /app/data/config.env ? If you like I can debug this further, if you write to support@cloudron.io and give us remote access.

                  arshsahzadA Offline
                  arshsahzadA Offline
                  arshsahzad
                  wrote on last edited by
                  #9

                  @girish I have to invite someone, after the recent update of vaultwarden, my SMTP is not working in vaultwarden, earlier it was working, I didn't make any changes, I'm getting below error:-

                  An error has occurred.
                  SMTP 5xx error: permanent error (535) - Authentication credentials invalid
                  
                  girishG 1 Reply Last reply
                  0
                  • arshsahzadA arshsahzad

                    @girish I have to invite someone, after the recent update of vaultwarden, my SMTP is not working in vaultwarden, earlier it was working, I didn't make any changes, I'm getting below error:-

                    An error has occurred.
                    SMTP 5xx error: permanent error (535) - Authentication credentials invalid
                    
                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #10

                    @arshsahzad are you still facing this issue? Can you tell me which version of Cloudron you are on? I thought we sorted the STARTTLS issues out in Cloudron 7.0.4

                    arshsahzadA 1 Reply Last reply
                    0
                    • girishG girish

                      @arshsahzad are you still facing this issue? Can you tell me which version of Cloudron you are on? I thought we sorted the STARTTLS issues out in Cloudron 7.0.4

                      arshsahzadA Offline
                      arshsahzadA Offline
                      arshsahzad
                      wrote on last edited by arshsahzad
                      #11

                      @girish I'm using Cloudron v7.0.4 and vaultwarden 1.23.1, When installing the new vaultwarden, it's working fine but the existing vault producing the above-mentioned error.

                      girishG 1 Reply Last reply
                      0
                      • arshsahzadA arshsahzad

                        @girish I'm using Cloudron v7.0.4 and vaultwarden 1.23.1, When installing the new vaultwarden, it's working fine but the existing vault producing the above-mentioned error.

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #12

                        @arshsahzad If you like, I can debug the instance to find out what's happening. Please drop us a mail at support@cloudorn.io. I initially suspected that maybe vaultwarden is caching env vars in the database or something but that doesn't seem to be the case. The env vars explicitly disable STARTTLS and TLS.

                        arshsahzadA 1 Reply Last reply
                        0
                        • girishG girish

                          @arshsahzad If you like, I can debug the instance to find out what's happening. Please drop us a mail at support@cloudorn.io. I initially suspected that maybe vaultwarden is caching env vars in the database or something but that doesn't seem to be the case. The env vars explicitly disable STARTTLS and TLS.

                          arshsahzadA Offline
                          arshsahzadA Offline
                          arshsahzad
                          wrote on last edited by
                          #13

                          @girish I have mailed for support request, with the subject - SMTP Error

                          girishG 2 Replies Last reply
                          0
                          • arshsahzadA arshsahzad

                            @girish I have mailed for support request, with the subject - SMTP Error

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #14

                            @arshsahzad thanks, was just investigating. It seems vaultwarden has two sources of configs - env vars and config.json . The latter is editing via the admin/ui interface and overrides the former. In Cloudron package, we use env vars. In your config, I see that SMTP variables are set which means that they have now gone out of sync with the env vars.

                            https://github.com/dani-garcia/vaultwarden/wiki/Configuration-overview

                            I am fixing Cloudron package to use config.json instead of be consistent.

                            1 Reply Last reply
                            3
                            • arshsahzadA arshsahzad

                              @girish I have mailed for support request, with the subject - SMTP Error

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by girish
                              #15

                              @arshsahzad I have pushed a new package. Can you try now? I already updated your instance.

                              arshsahzadA 1 Reply Last reply
                              3
                              • girishG girish

                                @arshsahzad I have pushed a new package. Can you try now? I already updated your instance.

                                arshsahzadA Offline
                                arshsahzadA Offline
                                arshsahzad
                                wrote on last edited by
                                #16

                                @girish Thanks for a quick fix, It's now working

                                1 Reply Last reply
                                1
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search