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

Error: Connection to IMAP server failed: b'* BYE Auth process broken' #568

Open
VladislavGatsenko opened this issue Aug 20, 2024 · 10 comments

Comments

@VladislavGatsenko
Copy link

VladislavGatsenko commented Aug 20, 2024

Impacted versions

  • Distribution: Debian 12
  • Arch: 64 Bits
  • Database: PostgreSQL / MySQL
  • Modoboa: 2.3.1

Steps to reproduce

clean install with let encrypt certs

Webmail module Error:
Error: Connection to IMAP server failed: b'* BYE Auth process broken'

Снимок экрана 2024-08-20 в 18 04 27
Снимок экрана 2024-08-20 в 18 05 54

I tried under different accounts - the result is the same

@abond21-bond
Copy link

same problem

@tonioo
Copy link
Member

tonioo commented Sep 6, 2024

Do you see anything useful in logs?

@abond21-bond
Copy link

Do you see anything useful in logs?

nope, nothing

@tonioo
Copy link
Member

tonioo commented Sep 6, 2024

Could you try to increase logging level in dovecot?

@abond21-bond
Copy link

abond21-bond commented Sep 6, 2024

tail -f /var/log/dovecot.log
Sep 06 08:36:16 auth: Panic: file http-client.c: line 646 (http_client_context_close): assertion failed: (cctx->clients_list == NULL)
Sep 06 08:36:16 auth: Error: Raw backtrace: #0 t_askpass[0x7f7207389be0] -> #1 backtrace_append[0x7f7207389e50] -> #2 backtrace_get[0x7f7207389fe0] -> #3 execvp_const[0x7f72073951d0] -> #4 i_syslog_fatal_handler[0x7f7207395b40] -> #5 i_panic[0x7f72072eb0d4] -> #6 [unw_get_proc_name() failed: -10] -> #7 io_loop_set_current[0x7f72073abc00] -> #8 [unw_get_proc_name() failed: -10] -> #9 [unw_get_proc_name() failed: -10] -> #10 io_loop_call_io[0x7f72073aceb0] -> #11 io_loop_handler_run_internal[0x7f72073aebb0] -> #12 io_loop_handler_run[0x7f72073aed40] -> #13 io_loop_run[0x7f72073aef10] -> #14 [unw_get_proc_name() failed: -10] -> #15 [unw_get_proc_name() failed: -10] -> #16 passdb_cache_deinit[0x55fdd624b190] -> #17 auths_init[0x55fdd622d300] -> #18 main[0x55fdd622b920] -> #19 __libc_init_first[0x7f720702c1d0] -> #20 __libc_start_main[0x7f720702c280] -> #21 _start[0x55fdd622bea0]
Sep 06 08:36:16 master: Error: service(auth): command startup failed, throttling for 2.000 secs
Sep 06 08:36:16 auth: Fatal: master: service(auth): child 4711 killed with signal 6 (core dumps disabled - https://dovecot.org/bugreport.html#coredumps)

@abond21-bond
Copy link

it't clean VPS from Hetzner. Tried fresh install several times

@abond21-bond
Copy link

tail -f /var/log/dovecot-info.log
Sep 06 08:34:52 master: Info: Dovecot v2.3.19.1 (9b53102964) starting up for imap, lmtp, sieve (core dumps disabled)
Sep 06 08:36:16 imap-login: Info: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<RYn1TG8hWpZ/AAAB>

@tonioo
Copy link
Member

tonioo commented Sep 6, 2024

Could you try with dovecot version coming from testing? (using backports)

@abond21-bond
Copy link

It worked!!!

sudo nano /etc/apt/sources.list

add this line:
deb http://deb.debian.org/debian bookworm-backports main

sudo apt update

apt-cache policy dovecot-core

dovecot-core:
Installed: 1:2.3.19.1+dfsg1-2.1+deb12u1
Candidate: 1:2.3.19.1+dfsg1-2.1+deb12u1
Version table:
1:2.3.21.1+dfsg1-1~bpo12+1 100
100 http://deb.debian.org/debian bookworm-backports/main amd64 Packages
*** 1:2.3.19.1+dfsg1-2.1+deb12u1 500
500 http://deb.debian.org/debian bookworm/main amd64 Packages
500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages

sudo apt install -t bookworm-backports dovecot-core dovecot-imapd dovecot-pop3d

@tonioo
Copy link
Member

tonioo commented Sep 6, 2024

Great. Now we need to update the installer...

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

3 participants