Mailspring: Unable to connect to Yandex mail

Created on 20 Feb 2018  Â·  22Comments  Â·  Source: Foundry376/Mailspring

Mail connection is described here:
https://yandex.com/support/mail/mail-clients.html

Mailspring error is the following:
Account is missing required fields:imap_allow_insecure_ssl

The error occurs during account set up.

needs-reproduction

Most helpful comment

https://github.com/Foundry376/Mailspring/issues/712#issuecomment-368630638

Mailsping version is 1.1.4

Small workaround:

  • check "Allow insecure SSL" in both sections
  • press button "connect account"
  • uncheck "Allow insecure SSL"

After that the original error disappears. However another one occurs:
___An unexpected mailsync error occurred (134)___

image

Waiting for Account JSON:

Waiting for Identity JSON:
info: Identity created at 1518966295 - using ID Schema 1
critical: 
 ***
 *** A JSON exception occurred during program execution: 
 *** [json.exception.type_error.302] type must be string, but is null
 ***

critical: 
 ***
 *** A JSON exception occurred during program execution: 
 *** [json.exception.type_error.302] type must be string, but is null
 ***

critical:  *** Stack trace (line numbers are approximate):
 *** ??:?  void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
 *** ??:?  decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
 *** ??:?  void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
 *** ??:?  void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
 *** ??:?  string nlohmann::basic_json::get() const
 *** ??:?  Account::SMTPSecurity()
 *** ??:?  MailUtils::configureSessionForAccount(mailcore::SMTPSession&, shared_ptr)
 *** ??:?  runTestAuth(shared_ptr)
 *** ??:?  main
 ***

critical:  *** Stack trace (line numbers are approximate):
 *** ??:?  void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
 *** ??:?  decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
 *** ??:?  void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
 *** ??:?  void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
 *** ??:?  string nlohmann::basic_json::get() const
 *** ??:?  Account::SMTPSecurity()
 *** ??:?  MailUtils::configureSessionForAccount(mailcore::SMTPSession&, shared_ptr)
 *** ??:?  runTestAuth(shared_ptr)
 *** ??:?  main
 ***

/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 4: 28984 Aborted                 (core dumped) SASL_PATH="$(dirname $(realpath $0))" LD_LIBRARY_PATH="$(dirname $(realpath $0));$LD_LIBRARY_PATH" "$(dirname $0)/mailsync.bin" "$@"

All 22 comments

Same problem with 1and1 server.

I am using Ubuntu 17.10 and mailspring snap app.
My account set up is ok (I'm using it with mailspring with another computer)

mailspring_error

Hey - thanks for filing this, I'll see if I can reproduce this and let you know if I narrow it down.

Hey folks—can you confirm you're using the latest version of Mailspring (1.1.4)? I was able to go through account setup with a yandex test account without seeing that error and I'm not sure how it could be possible looking at the code. This was an issue with an older release though.

Hello, I've same situation (last version of mailspring, 1.1.4) using a custom imap/smtp settings
schermata del 2018-02-26 21-50-55

Further this, if I try to connect, I got this:

An unexpected mailsync error occurred (134)

this is the error log

Waiting for Account JSON:

Waiting for Identity JSON:
info: Identity created at 1514557442 - using ID Schema 0
critical:


* A JSON exception occurred during program execution:
*
[json.exception.type_error.302] type must be string, but is null


critical:


* A JSON exception occurred during program execution:
*
[json.exception.type_error.302] type must be string, but is null


critical: * Stack trace (line numbers are approximate):
??:? void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
??:? decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
??:? void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
??:? void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
??:? string nlohmann::basic_json::get() const
??:? Account::IMAPSecurity()
??:? MailUtils::configureSessionForAccount(mailcore::IMAPSession&, shared_ptr)
??:? runTestAuth(shared_ptr)
*
??:? main


critical: * Stack trace (line numbers are approximate):
??:? void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
??:? decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
??:? void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
??:? void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
??:? string nlohmann::basic_json::get() const
??:? Account::IMAPSecurity()
??:? MailUtils::configureSessionForAccount(mailcore::IMAPSession&, shared_ptr)
??:? runTestAuth(shared_ptr)
*
??:? main


/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 4: 3671 Aborted (core dumped) SASL_PATH="$(dirname $(realpath $0))" LD_LIBRARY_PATH="$(dirname $(realpath $0));$LD_LIBRARY_PATH" "$(dirname $0)/mailsync.bin" "$@"

https://github.com/Foundry376/Mailspring/issues/712#issuecomment-368630638

Mailsping version is 1.1.4

Small workaround:

  • check "Allow insecure SSL" in both sections
  • press button "connect account"
  • uncheck "Allow insecure SSL"

After that the original error disappears. However another one occurs:
___An unexpected mailsync error occurred (134)___

image

Waiting for Account JSON:

Waiting for Identity JSON:
info: Identity created at 1518966295 - using ID Schema 1
critical: 
 ***
 *** A JSON exception occurred during program execution: 
 *** [json.exception.type_error.302] type must be string, but is null
 ***

critical: 
 ***
 *** A JSON exception occurred during program execution: 
 *** [json.exception.type_error.302] type must be string, but is null
 ***

critical:  *** Stack trace (line numbers are approximate):
 *** ??:?  void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
 *** ??:?  decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
 *** ??:?  void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
 *** ??:?  void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
 *** ??:?  string nlohmann::basic_json::get() const
 *** ??:?  Account::SMTPSecurity()
 *** ??:?  MailUtils::configureSessionForAccount(mailcore::SMTPSession&, shared_ptr)
 *** ??:?  runTestAuth(shared_ptr)
 *** ??:?  main
 ***

critical:  *** Stack trace (line numbers are approximate):
 *** ??:?  void nlohmann::detail::from_json(nlohmann::basic_json const&, nlohmann::basic_json::string_t&)
 *** ??:?  decltype ((from_json({parm#1}, {parm#2})),((void)())) nlohmann::detail::from_json_fn::call(nlohmann::basic_json const&, string&, nlohmann::detail::priority_tag) const
 *** ??:?  void nlohmann::detail::from_json_fn::operator()(nlohmann::basic_json const&, string&) const
 *** ??:?  void nlohmann::adl_serializer::from_json(nlohmann::basic_json const&, string&)
 *** ??:?  string nlohmann::basic_json::get() const
 *** ??:?  Account::SMTPSecurity()
 *** ??:?  MailUtils::configureSessionForAccount(mailcore::SMTPSession&, shared_ptr)
 *** ??:?  runTestAuth(shared_ptr)
 *** ??:?  main
 ***

/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 4: 28984 Aborted                 (core dumped) SASL_PATH="$(dirname $(realpath $0))" LD_LIBRARY_PATH="$(dirname $(realpath $0));$LD_LIBRARY_PATH" "$(dirname $0)/mailsync.bin" "$@"

Getting the same exact error as described by vbitner87 with 'zoho.eu' account.

I got the same error as @vbitner87

Here the same error... here the before and after:
own SMTP IMAP server

before


after

Same problem here

Me also

I noticed using an unsecure option from webmail client setup of my domain worked fine , the problem is with secure connections

same issue here.. using the snap most recent version of mailspring.. super annoying

Is this only an issue for mac users?

I had it using snap/Ubuntu

Op 6 mrt. 2018 om 10:38 heeft James Berry notifications@github.com het volgende geschreven:

Is this only an issue for mac users?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

debian

windows here

Ubuntu Trusty

Windows 10 and Linux Mint. Also using latest version 1.1.4 on both systems, trying to connect to my university email. On my lapotop my account is already connected (since a few months) and works just fine even after updating Mailspring to a newer version.

I think this issue is related to #292.

with the last version
1.1.5-5834c99f
it's work on:
Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14) x86_64 GNU/Linux

Hi guys! I think I've found a solution to the problem: to get access to yandex mail with your custom domain you must use app passwords (in russian: пароли приложений). Just create new app password and enter it in the password field. In any case, it helped me

Hi guys! I think I've found a solution to the problem: to get access to yandex mail with your custom domain you must use app passwords (in russian: пароли приложений). Just create new app password and enter it in the password field. In any case, it helped me

You can also authenticate using the Portal Password (your regular password) without setting up the App Password. Go to Mail → All settings → Email clients and enable Portal password at IMAP authorization method.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

applesea2 picture applesea2  Â·  3Comments

imbrn picture imbrn  Â·  3Comments

DanielRios549 picture DanielRios549  Â·  3Comments

LeandroStanger picture LeandroStanger  Â·  3Comments

dgattey picture dgattey  Â·  3Comments