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. SnappyMail
  3. Authentication error

Authentication error

Scheduled Pinned Locked Moved Solved SnappyMail
10 Posts 2 Posters 1.6k 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.
  • S Offline
    S Offline
    shrey
    wrote on last edited by
    #1

    Would anyone here have any idea/experience regarding this issue?

    https://github.com/the-djmaze/snappymail/issues/1245

    1 Reply Last reply
    0
    • S shrey marked this topic as a question on
    • S shrey

      @girish

      [2023-09-19 22:21:41.933][c13dcc0d] JSON[INFO]: Action: DoLogin
      [2023-09-19 22:21:41.933][c13dcc0d] POST[INFO]: {"Email":"<my-email>","Password":"*******","language":"","signMe":"0","Action":"Login"}
      [2023-09-19 22:21:41.933][c13dcc0d] PLUGIN[INFO]: Hook: login.credentials
      [2023-09-19 22:21:46.930][c13dcc0d] SERVICE[WARNING]: AuthError[102]
      #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
      #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
      #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
      #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
      #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
      #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
      #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
      #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
      #8 /app/code/index.php(11): include('...')
      #9 {main}
      [2023-09-19 22:21:46.930][c13dcc0d] [NOTICE]: RainLoop\Exceptions\ClientException: AuthError[102] in /app/data/_data_/_default_/plugins/white-list/index.php:33
      Stack trace:
      #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
      #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
      #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
      #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
      #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
      #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
      #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
      #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
      #8 /app/code/index.php(11): include('...')
      #9 {main}
      [2023-09-19 22:21:46.930][c13dcc0d] JSON[INFO]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","epoch":1695142306}
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #9

      @shrey are you using some whitelist plugin ? not sure what it is, but that's what the stacktrace says.

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

        @shrey in snappymail, are you putting in the email address (i.e mailbox name) and not user name?

        S 1 Reply Last reply
        0
        • girishG girish

          @shrey in snappymail, are you putting in the email address (i.e mailbox name) and not user name?

          S Offline
          S Offline
          shrey
          wrote on last edited by
          #3

          @girish Yes, the full email address, because i've disabled the "short login" option:

          4e807a3d-78a1-4408-a541-4c96b6319452-image.png

          girishG 1 Reply Last reply
          0
          • S shrey

            @girish Yes, the full email address, because i've disabled the "short login" option:

            4e807a3d-78a1-4408-a541-4c96b6319452-image.png

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

            @shrey ok... I am confused 😕

            I want to double check the setup:

            • Email is hosted on cloudron
            • You have created some mailboxes
            • SnappyMail is installed on same cloudron
            • You are trying to login as the mailbox created above

            Is this setup correct? If so, you don't have to configure anything. It's all auto-configured. You just install SnappyMail and login.

            S 1 Reply Last reply
            0
            • girishG girish

              @shrey ok... I am confused 😕

              I want to double check the setup:

              • Email is hosted on cloudron
              • You have created some mailboxes
              • SnappyMail is installed on same cloudron
              • You are trying to login as the mailbox created above

              Is this setup correct? If so, you don't have to configure anything. It's all auto-configured. You just install SnappyMail and login.

              S Offline
              S Offline
              shrey
              wrote on last edited by shrey
              #5

              @girish
              So, the email (test@my-domain.com) is managed by an external mail service (Mailcheap, in this case)

              • SnappyMail is installed on Cloudron
              • the email domain (my-domain.com) has been added in SnappyMail under the Domains section
              • IMAP/SMTP settings have also been configured appropriately and tested (via the credentials for test@my-domain.com)
              • after all the configuration, when i actually try to log into the email inbox of test@my-domain.com, in the SnappyMail login page, i get the Authentication Failed
              1 Reply Last reply
              0
              • S Offline
                S Offline
                shrey
                wrote on last edited by
                #6

                Hi @girish , any ideas/feedback regarding this issue?

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

                  @shrey I recommend turning on logging to debug. In data/default/configs/application.ini , change the log level to 7. Then, you will see detailed logs in /tmp/logs/<file> (you have to use web terminal to see that file).

                  S 1 Reply Last reply
                  0
                  • girishG girish

                    @shrey I recommend turning on logging to debug. In data/default/configs/application.ini , change the log level to 7. Then, you will see detailed logs in /tmp/logs/<file> (you have to use web terminal to see that file).

                    S Offline
                    S Offline
                    shrey
                    wrote on last edited by
                    #8

                    @girish

                    [2023-09-19 22:21:41.933][c13dcc0d] JSON[INFO]: Action: DoLogin
                    [2023-09-19 22:21:41.933][c13dcc0d] POST[INFO]: {"Email":"<my-email>","Password":"*******","language":"","signMe":"0","Action":"Login"}
                    [2023-09-19 22:21:41.933][c13dcc0d] PLUGIN[INFO]: Hook: login.credentials
                    [2023-09-19 22:21:46.930][c13dcc0d] SERVICE[WARNING]: AuthError[102]
                    #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
                    #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
                    #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
                    #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
                    #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
                    #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
                    #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
                    #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
                    #8 /app/code/index.php(11): include('...')
                    #9 {main}
                    [2023-09-19 22:21:46.930][c13dcc0d] [NOTICE]: RainLoop\Exceptions\ClientException: AuthError[102] in /app/data/_data_/_default_/plugins/white-list/index.php:33
                    Stack trace:
                    #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
                    #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
                    #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
                    #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
                    #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
                    #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
                    #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
                    #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
                    #8 /app/code/index.php(11): include('...')
                    #9 {main}
                    [2023-09-19 22:21:46.930][c13dcc0d] JSON[INFO]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","epoch":1695142306}
                    
                    girishG 1 Reply Last reply
                    0
                    • S shrey

                      @girish

                      [2023-09-19 22:21:41.933][c13dcc0d] JSON[INFO]: Action: DoLogin
                      [2023-09-19 22:21:41.933][c13dcc0d] POST[INFO]: {"Email":"<my-email>","Password":"*******","language":"","signMe":"0","Action":"Login"}
                      [2023-09-19 22:21:41.933][c13dcc0d] PLUGIN[INFO]: Hook: login.credentials
                      [2023-09-19 22:21:46.930][c13dcc0d] SERVICE[WARNING]: AuthError[102]
                      #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
                      #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
                      #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
                      #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
                      #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
                      #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
                      #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
                      #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
                      #8 /app/code/index.php(11): include('...')
                      #9 {main}
                      [2023-09-19 22:21:46.930][c13dcc0d] [NOTICE]: RainLoop\Exceptions\ClientException: AuthError[102] in /app/data/_data_/_default_/plugins/white-list/index.php:33
                      Stack trace:
                      #0 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Plugins/Manager.php(314): WhiteListPlugin->FilterLoginCredentials()
                      #1 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(109): RainLoop\Plugins\Manager->RunHook()
                      #2 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/UserAuth.php(121): RainLoop\Actions->resolveLoginCredentials()
                      #3 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Actions/User.php(44): RainLoop\Actions->LoginProcess()
                      #4 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/ServiceActions.php(142): RainLoop\Actions->DoLogin()
                      #5 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(132): RainLoop\ServiceActions->ServiceJson()
                      #6 /app/code/snappymail/v/2.28.4/app/libraries/RainLoop/Service.php(14): RainLoop\Service::RunResult()
                      #7 /app/code/snappymail/v/2.28.4/include.php(143): RainLoop\Service::Handle()
                      #8 /app/code/index.php(11): include('...')
                      #9 {main}
                      [2023-09-19 22:21:46.930][c13dcc0d] JSON[INFO]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","epoch":1695142306}
                      
                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #9

                      @shrey are you using some whitelist plugin ? not sure what it is, but that's what the stacktrace says.

                      S 1 Reply Last reply
                      0
                      • girishG girish

                        @shrey are you using some whitelist plugin ? not sure what it is, but that's what the stacktrace says.

                        S Offline
                        S Offline
                        shrey
                        wrote on last edited by shrey
                        #10

                        @girish Indeed, that was the case! Thanks 🙂

                        I'd installed the plugins, but didn't check them yet.

                        The plugin had a placeholder (invalid) value set as the default.

                        1 Reply Last reply
                        2
                        • S shrey has marked this topic as solved on
                        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