Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snappymail on nextcloud mailbox access forbidden #788

Closed
franconianmetal opened this issue Dec 22, 2022 · 7 comments
Closed

snappymail on nextcloud mailbox access forbidden #788

franconianmetal opened this issue Dec 22, 2022 · 7 comments

Comments

@franconianmetal
Copy link

Describe the bug
running nextcloud 25.0.2
if updating to snappymail 2.23.1 I am forwarded to snappymail login page with my login-user displayed.
if entering my correct password the access is forbidden

To Reproduce
Steps to reproduce the behavior:

  1. Update snappymail from 2.23.0 to 2.23.1
  2. in nextcloud click on 'snappymail'

Expected behavior
If clicking on snappymail-icon within nextcloud immediate display of mailbox-inbox as configured.
this is the past behaviour

Screenshots
none

Please complete the following information:

  • Browser: firefox,chromium
  • SnappyMail Version: 2.23.0
  • nextcloud: 25.0.2
  • PHP version:

PHP 7.4.33 (cli) (built: Nov 8 2022 11:35:02) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

@the-djmaze
Copy link
Owner

What happens when you enable logging/debugging?
Do you notice errors in Browser Console or server logs?

@the-djmaze the-djmaze added the needs feedback Further information is requested label Dec 22, 2022
@franconianmetal
Copy link
Author

franconianmetal commented Dec 22, 2022

catched browser's console as attached
browser_console.txt

log:

[2022-12-22 16:13:08.684][23c438f5] SERVICE[WARNING]: AuthError[102] #0 /var/www/nextcloud/apps/snappymail/app/snappymail/v/2.23.1/app/libraries/RainLoop/Actions/Folders.php(46): RainLoop\Actions->initMailClientConnection() #1 /var/www/nextcloud/apps/snappymail/app/snappymail/v/2.23.1/app/libraries/RainLoop/ServiceActions.php(155): RainLoop\Actions->DoFolders() #2 /var/www/nextcloud/apps/snappymail/app/snappymail/v/2.23.1/app/libraries/RainLoop/Service.php(123): RainLoop\ServiceActions->ServiceJson() #3 /var/www/nextcloud/apps/snappymail/app/snappymail/v/2.23.1/app/libraries/RainLoop/Service.php(15): RainLoop\Service::RunResult() #4 /var/www/nextcloud/apps/snappymail/lib/Util/SnappyMailHelper.php(141): RainLoop\Service::Handle() #5 /var/www/nextcloud/apps/snappymail/lib/Controller/PageController.php(115): OCA\SnappyMail\Util\SnappyMailHelper::startApp() #6 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(225): OCA\SnappyMail\Controller\PageController->indexPost() #7 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(133): OC\AppFramework\Http\Dispatcher->executeController() #8 /var/www/nextcloud/lib/private/AppFramework/App.php(172): OC\AppFramework\Http\Dispatcher->dispatch() #9 /var/www/nextcloud/lib/private/Route/Router.php(298): OC\AppFramework\App::main() #10 /var/www/nextcloud/lib/base.php(1047): OC\Route\Router->match() #11 /var/www/nextcloud/index.php(36): OC::handleRequest() #12 {main}

@the-djmaze
Copy link
Owner

Please fill in your passphrase manually and see if that works.
Somehow the passphrase seems to be incorrect.

@franconianmetal
Copy link
Author

as I wrote when startung this issue:

entering my correct password the access is forbidden

@the-djmaze
Copy link
Owner

Ok, then:

  1. go to Nextcloud -> Admin -> Additional Settings.
  2. Enable the SnappyMail debug mode
  3. Login attempt
  4. Disable the SnappyMail debug mode
  5. Look at SnappyMail log

It should give you a very detailed log why IMAP login fails.

@franconianmetal
Copy link
Author

imap connect sucess
imap disconnect success
but snappymail does not forward me to mailbox.

log-2022-12-22.txt

@franconianmetal
Copy link
Author

updating from 2.23.0 to 2.24.0:
error does not appear.
login works as expected when clicking snappy-icon in nextcloud

@the-djmaze the-djmaze removed the needs feedback Further information is requested label Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants