nylas-mail icon indicating copy to clipboard operation
nylas-mail copied to clipboard

The new 'Nylas Mail' app is unable to sync and results in leaving the computer frozen

Open yadav-avanish opened this issue 9 years ago • 14 comments

Hi,

I was running Nylas N1 fine with the sync-engine running on my machine but since yesterday when I switched to the free Nylas Mail app, my Gmail and Outlook.com are giving a false error that "Nylas Mail is offline" whereas the mails do sync. Although, it's resulting in leaving my computer (OS X El Capitan Version 10.11.6) frozen such that the mouse and keyboard are left useless. Below is a screenshot of Nylas Mail app on my machine:

nylas mail syncing issue

I re-installed the app but it didn't make any difference

yadav-avanish avatar Jan 19 '17 20:01 yadav-avanish

Hi @avanish0509 thanks for reporting this! We're releasing a new version today that should fix an issue that made the app freeze (3e85aa4).

If you can, can you open the activity window with cmd+alt+w and then dev tools with cmd+alt+i, select the Console and send me a screenshot of any errors you see there? You can also send it to [email protected]

Thanks for your patience!

jstejada avatar Jan 21 '17 00:01 jstejada

Hi @avanish0509 just released 1.0.11, let me know if you are still having issues! Thanks

jstejada avatar Jan 21 '17 01:01 jstejada

@jstejada I'm seeing a similar problem. I'm running 1.0.11, and

  • My iCloud account reports syncing errors nearly constantly,
  • the client is always syncing,
  • the client is pegging at least two cores—CPU utilization of ~250%,
  • and after a reboot this morning, doesn't load up at all (screenshot attached). I tried to toggle the developer tools but nothing happened.

unresponsive-nylas

I'm running 10.12.2, btw. I'll see if I can get more information from another machine and report back.

ravasthi avatar Jan 22 '17 18:01 ravasthi

Hi @jstejada I'm still seeing the same issue although unlike @ravasthi my screen doesn't freeze any longer but I still continue to have the connectivity issues. Below is the error message, followed by it's screenshot:

Error at new APIError (/src/flux/errors.es6:28:19) at _priorityUiCoordinator2.default.settle.then (/src/flux/nylas-api-request.es6:177:30) at tryCatcher (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:510:31) at Promise._settlePromise (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:567:18) at Promise._settlePromiseCtx (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/promise.js:604:10) at Async._drainQueue (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:138:12) at Async._drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues (/Applications/Nylas Mail.app/Contents/Resources/app.asar/node_modules/bluebird/js/release/async.js:17:14) at tryOnImmediate (timers.js:554:5) at processImmediate [as _immediateCallback] (timers.js:533:5)

nylas- error console screenshot

Note:

  1. I've upgraded to the latest Version 1.0.11 (1.0.11).
  2. I've tried to re-authenticate my gmail several times but it didn't improve things for me. Also, I'm seeing the same issues on my home computer (iMac running El Capitan) so I can rule out any problems with the machine.

yadav-avanish avatar Jan 23 '17 17:01 yadav-avanish

I was able to get the app to restart running with debug flags after force quitting it, but didn't get anything too useful. Including the screenshot in case it is:

unresponsive-nylas-02

Two other console windows pop up but they're empty.

ravasthi avatar Jan 23 '17 18:01 ravasthi

Same issues here

jweinstein avatar Jan 25 '17 20:01 jweinstein

possibly related to #3178

jstejada avatar Jan 25 '17 21:01 jstejada

we've released v 1.0.15 today-- are folks still seeing this issue?

jstejada avatar Jan 26 '17 19:01 jstejada

The latest update 1.0.15 fixed the syncing issue. Now both my gmail and outlook.com sync fine and the cpu usage is low as well. But as soon as the Nylas window looses focus i.e. when I switch to another app, it shows the "Nylas is offline" message. Below is a screenshot. Although it is to be noted that even with this error shown, the emails do come in. image

By the way, thanks for fixing the issue so sooner. I think the main issue can be closed now. What say the Nylas team?

yadav-avanish avatar Jan 26 '17 20:01 yadav-avanish

I won't have a chance to check the machine on which the app is completely unresponsive until later, but on one of the machines it still runs on on, I still see the sync error message. The error message with stack trace is:

Sync Error:

{
  "message": "Mailbox does not exist",
  "source": "protocol",
  "stack": "Error: Mailbox does not exist\\n    at Connection._resTagged (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Connection.js:1497:11)\\n    at Parser.<anonymous> (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Connection.js:193:10)\\n    at emitOne (events.js:96:13)\\n    at Parser.emit (events.js:188:7)\\n    at Parser._resTagged (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Parser.js:175:10)\\n    at Parser._parse (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Parser.js:139:16)\\n    at Parser._tryread (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Parser.js:82:15)\\n    at TLSSocket.Parser._cbReadable (/Applications/Nylas Mail.app/Contents/Resources/app.asar/internal_packages/local-sync/node_modules/isomorphic-core/node_modules/imap/lib/Parser.js:53:12)\\n    at emitNone (events.js:86:13)\\n    at TLSSocket.emit (events.js:185:7)\\n    at emitReadable_ (_stream_readable.js:432:10)\\n    at emitReadable (_stream_readable.js:426:7)\\n    at readableAddChunk (_stream_readable.js:187:13)\\n    at TLSWrap.onread (net.js:543:20)\\n    at Socket.ondata (_stream_wrap.js:58:20)\\n    at emitOne (events.js:96:13)\\n    at Socket.emit (events.js:188:7)\\n    at readableAddChunk (_stream_readable.js:176:18)\\n    at TCP.onread (net.js:543:20)",
  "textCode": "NONEXISTENT",
  "type": "no"
}

Obviously the mailbox does exist, because it does sync, even though it reports syncing errors.

Also, if it's useful to know, I think that the iCloud account is the last one in the account list on each of the three machines I've got Nylas Mail installed on, each of which, when the app loads, have this syncing issue.

ravasthi avatar Jan 26 '17 20:01 ravasthi

great, thanks for the details! @ravasthi , so this error is being thrown exclusively for your iCloud account?

jstejada avatar Jan 26 '17 21:01 jstejada

@jstejada Yes, exclusively for that account. I'll report back about the unresponsive client later tonight.

ravasthi avatar Jan 26 '17 21:01 ravasthi

@jstejada Happy to report that the totally unresponsive client is now loading, and the only remaining issue is the syncing error described above.

ravasthi avatar Jan 27 '17 00:01 ravasthi

thanks! I'm going to close this issue for now. Feel free to open another issue for icloud syncing issues (we are working on it anyway)

jstejada avatar Jan 28 '17 01:01 jstejada