pykolab.imap WARNING Could not connect to Cyrus IMAP server 'imaps://localhost:993'



  • Yes I have a cert from namecheap.

    nmap status is "Host is up".



  • @Constin said:

    @alex_lau said:

    I am running Kolab as a virtual machin on a vmware server.

    this is the answer on my question about server.

    Ok, please provide commands:

    netstat -nlpt
    cat /etc/hosts
    cat /etc/selinux/config 
    

    it happened again today, please advise what can i do to fix the problem?



  • cat /var/log/guam/error.log



  • 2016-06-21 03:04:17.029 [error] <0.12009.11> gen_server <0.12009.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 03:04:17.029 [error] <0.12009.11> CRASH REPORT Process <0.12009.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 03:04:17.029 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.12009.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:26.675 [error] <0.31450.11> gen_server <0.31450.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:26.676 [error] <0.31450.11> CRASH REPORT Process <0.31450.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:26.676 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31450.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:26.887 [error] <0.31471.11> SSL: hello: tls_handshake.erl:123:Fatal error: protocol version
    2016-06-21 14:00:26.887 [error] <0.31484.11> gen_server <0.31484.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:26.887 [error] <0.31484.11> CRASH REPORT Process <0.31484.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:26.888 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31484.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:27.087 [error] <0.31456.11> gen_server <0.31456.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:27.087 [error] <0.31456.11> CRASH REPORT Process <0.31456.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:27.087 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31456.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:27.090 [error] <0.31411.11> SSL: hello: tls_handshake.erl:123:Fatal error: protocol version
    2016-06-21 14:00:27.091 [error] <0.31493.11> gen_server <0.31493.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:27.091 [error] <0.31493.11> CRASH REPORT Process <0.31493.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:27.091 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31493.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:27.175 [error] <0.31488.11> gen_server <0.31488.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:27.176 [error] <0.31488.11> CRASH REPORT Process <0.31488.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:27.176 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31488.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:27.497 [error] <0.31465.11> gen_server <0.31465.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:27.497 [error] <0.31465.11> CRASH REPORT Process <0.31465.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:27.498 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31465.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated
    2016-06-21 14:00:27.587 [error] <0.31480.11> SSL: certify: ssl_alert.erl:92:Fatal error: bad certificate
    2016-06-21 14:00:27.588 [error] <0.31469.11> gen_server <0.31469.11> terminated with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504
    2016-06-21 14:00:27.588 [error] <0.31469.11> CRASH REPORT Process <0.31469.11> with 0 neighbours exited with reason: no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in gen_server:terminate/7 line 792
    2016-06-21 14:00:27.588 [error] <0.91.0> Supervisor {<0.91.0>,kolab_guam_listener} had child session started with {kolab_guam_session,start_link,undefined} at <0.31469.11> exit with reason no function clause matching inet:tcp_close({sslsocket,nil,{#Port<0.1369>,{config,{ssl_options,tls,[{3,3},{3,2},{3,1}],verify_none,{#Fun<ssl.7...>,...},...},...}}}) line 1504 in context child_terminated



  • same shit as i have here: https://kolab.org/hub/topic/85/guam-crashed-1-2-times-in-month ))

    Waiting for maintainers answer.
    I could not resolve this, because guam is kolab maintainers software. No documentation or error database or some similar



  • Please update this post once you got reply from maintainers.



  • My question is: do we need Guam? Which clients are you using that benefit from Guam? Thunderbird, Outlook?

    Can we implement Guam in another language, so that more people can maintain it? Python?

    At the moment Aaron and Jeroen seem to be the only people that know Erlang, and from the community noone knows it? https://git.kolab.org/diffusion/G/

    Erlang is supposed to be faster for that purpose (https://exote.ch/blogs/aseigo/2015/12/10/guam-an-imap-session-filterproxy/), but for the community version, speed might not be such a big issue.

    I wonder if we should separate the needs of the community from the needs of enterprise level.



  • @timotheus said:

    My question is: do we need Guam? Which clients are you using that benefit from Guam? Thunderbird, Outlook?

    Can we implement Guam in another language, so that more people can maintain it? Python?

    At the moment Aaron and Jeroen seem to be the only people that know Erlang, and from the community noone knows it? https://git.kolab.org/diffusion/G/

    Erlang is supposed to be faster for that purpose (https://exote.ch/blogs/aseigo/2015/12/10/guam-an-imap-session-filterproxy/), but for the community version, speed might not be such a big issue.

    I wonder if we should separate the needs of the community from the needs of enterprise level.

    Hello! I use guam for Thunderbird and android/ios default mail clients.



  • Can some one explain more on the function of Guam?



  • @alex_lau said:

    Can some one explain more on the function of Guam?

    This article explains it in detail: https://exote.ch/blogs/aseigo/2015/12/10/guam-an-imap-session-filterproxy/

    Some relevant quotes:

    The first practical use case Guam is fulfilling is selective hiding of folders from IMAP clients. Kolab stores groupware data such as calendars, notes, tags and more in plain old IMAP folders. Clients that connect over IMAP to a Kolab server which are not aware of this get shown all those folders. I've even heard of users who have seen these folders and delete them thinking they were not supposed to be there, only to then wonder where the heck their calendars went. ;)

    But Guam can be used for much more than this simple, if rather practical, use case. Rules could be written that prevent downloading of attachments from mobile devices, or accessing messages marked as top-secret when being accessed from outside an organization's firewall. Or they could limit message listings to just the most recent or unread ones and provide access to that as a special service on a non-standard port. They could round-robin between IMAP servers, or direct different users to different IMAP servers transparently. And all of these can be chained in whichever order suits you.



  • Sounds not bad... but we have to wait for his fix?



  • @timotheus said:

    My question is: do we need Guam? Which clients are you using that benefit from Guam? Thunderbird, Outlook?

    Can we implement Guam in another language, so that more people can maintain it? Python?

    At the moment Aaron and Jeroen seem to be the only people that know Erlang, and from the community noone knows it? https://git.kolab.org/diffusion/G/

    Erlang is supposed to be faster for that purpose (https://exote.ch/blogs/aseigo/2015/12/10/guam-an-imap-session-filterproxy/), but for the community version, speed might not be such a big issue.

    I wonder if we should separate the needs of the community from the needs of enterprise level.

    Wouldn't it better to remove guam and write a patch for dovecot or cyrus?
    For example. we start a few service of dovecot
    127.0.01 9143/9993 for kolab with special folders
    0.0.0.0 143/993 for other clients w/o special folders



  • @timotheus said:

    Can we implement Guam in another language, so that more people can maintain it? Python?

    Python is absolutely the wrong sort of language for this. Not because Python is bad, it isn't. It's awesome. But it's a hammer, and this needs a saw. You can't cut a plan with a hammer and expect anything but splinters and broken dreams. ;)

    So we could have something that a few more people may contribute to, but which does not work well in practice because the tool chosen is not up for the job.

    Or we can have something that has a chance of working well, even if fewer people work on it.

    That said, Erlang is not difficult to get into .. and we'll be writing a lot more code in future with Elixir, which runs on the Erlang VM, and can therefore use Erlang code (and vice versa), just as e.g. Scala operates on the JVM. It's a very enjoyable language to work in: high productivity, a perfect tool for writing scalable servers ... community member may want to look at it.

    Jeroen didn't exactly invest in thick textbooks to get to the point of being able to hack some Erlang: he picked it up while reading the code and (I assume, anyways) some of the great tutorials online ... and applying what he knows of other programming languages. There's increasingly more and more functional programming in languages like Python, so it is not the Great Leap it once was, tbh.



  • @Constin said:

    No documentation

    Docs are in the source repository: https://git.kolab.org/diffusion/G/browse/master/docs/

    As this "cools off" (we are still iterating releases rather quickly at the moment), that will get transferred to and augmented on docs.kolab.org.

    or error database or some similar

    Do you mean a bug tracker? If so, those were are on the usual bugzilla; this is currently being transitioned over to Phabricator though ...

    If you mean "a list of possible errors" and what to do about them, a troubleshooting guide is indeed lacking and on Guam's task board on Phabricator. Until then, we have these forums, too.



  • .. ah, and the original issue in this thread is almost certainly addressed in guam 0.8.3 (which is available in Winterfell, Kolab 16 and KE14)

    .. also made a small improvement to implicit_tls listeners today (still in code review, though) to increase connect speed under load, but that's more of a pause than a "stops".



  • @aseigo Do you mean that there is an update available to fix this issue now?


Log in to reply