Deltachat-desktop: cannot connect via SSL on mac

Created on 1 Oct 2018  路  10Comments  路  Source: deltachat/deltachat-desktop

when i try to login on mac, i get the error message Could not connect to IMAP-server imap.server.org:993 using SSL. (Error #43).
in the core, the error is issued at https://github.com/deltachat/deltachat-core/blob/master/src/dc_imap.c#L1125 and error #43 is MAILIMAP_ERROR_SSL which is returned from libetpan if ssl fails.

i tried this with @deltachat.de and @librechat.net addresses, on desktop/linux, the addresses work.
(for @librechat.net the DC_EVENT_HTTP_GET works btw and gets the server names from https://autoconfig.librechat.net/ :)

maybe openssl is not working properly on mac.

would be interesting if non-ssl connection will work, however, currently, there are no options to make advances settings.


EDIT: Lets write some action points below and tick them off one by one until mac works.

bug help wanted mac

All 10 comments

Ah bummer, but can't say that I'm surprised. Maybe we should look into getting LibreSSL, mac on travis reports the following:

screenshot from 2018-10-01 16-23-52

I have no idea how to address this.

Now I have an idea. Given that:

We should be able to build the desktop app on mac using LibreSSL, which potentially might make ssl work.

This issue is strange. Building with LibreSSL doesn't fix it either. https://github.com/deltachat/deltachat-desktop/pull/295

I'm out of ideas again.

in the core, the error is issued at https://github.com/deltachat/deltachat-core/blob/master/src/dc_imap.c#L1125 and error #43 is MAILIMAP_ERROR_SSL which is returned from libetpan if ssl fails.

@r10s Could you re-post that link to a fixed commit instead? (Master has changed and it's pointing somewhere else)

Ok, have some new ideas. I was playing around with deltachat-node locally and made a simple test file. We can use this file together with debug environment on Travis to get more information. Also, I think it's easier to test with the node bindings first.

Problem was, that the brew package of libetpan was broken. @dignifiedquire fixed it with https://github.com/Homebrew/homebrew-core/pull/35546 . We need to wait for upstream and add a proper install instruction for mac to the Readme.

This is a core/node bindings problem. Closing in favor of https://github.com/deltachat/deltachat-core/issues/494

Sorry, but I think issues like this should be closed when the underlying problem has been solved. Even though the fix is elsewhere. You can then link to the release when it was fixed and we have a better connected story of when something happened and what the fix was.

@ralphtheninja i'm fine with this, actually it makes very much sense to keep this open for the mac milestone. Sorry for closing this :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IHateMicroSoft picture IHateMicroSoft  路  4Comments

prokopiy picture prokopiy  路  4Comments

Jikstra picture Jikstra  路  7Comments

r10s picture r10s  路  6Comments

webratte picture webratte  路  3Comments