question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syncing hangs, never completes

See original GitHub issue
Are there any related issues?

#3232

What operating system are you using?

Ubuntu 14.04, macOS 10.12.4

What version of Nylas Mail are you using?

2.0.16 on macOS 2.0.15 on Ubuntu

Bug?

Do you have any third-party plugins installed? If so, which ones?

no

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

I only have gmail accounts

Is the issue reproducible with a particular attachment, message, signature, etc?

The problem I am encountering is similar to #3232. My Nylas-mail fetched the most recent several hundreds/thousands of emails and then hanged without being able to make any progress over the past several hours. Occasionally new error will show up in the console, such as

internal/process/warning.js:24


(node:3158) Warning: Possible Event Emitter memory leak detected. 51 trigger listeners added. Use emitter.setMaxListeners() to increase limit

or

error-logger.js:101


APIError: Error checking sync health: Bad username or password(...)

but during this period I never touch the account setting so I am totally clueless why this error message would show up. Also, Nylas-mail still does receive new incoming emails, but syncing of the older emails never completes, and the point where Nylas started to hang varies (I did multiple installation/uninstallation on multiple platforms).

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jonesdecommented, Apr 27, 2017

I saw the same issue with 2.0.15 on Ubuntu 16.10. I was hoping the 2.0.28 update would fix this but it seems to have the same issue. I have 2 gmail/gsuite accounts with a fairly large number of messages (the bigger has nearly 100,000) and syncing in N1 worked fine but Nylas Mail (2.0.x) series runs into this issue.

One symptom I noticed is a LOT of disk activity with very little network activity. I see the disk activity from Nylas Mail writing 5-10MB per second while there is barely a trickle of data over the network. It looks like it is rewriting the whole mail history for each email it downloads, or something along those lines.

0reactions
fcristelcommented, Dec 10, 2017

@franzos Thank you. Didn’t realized it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A OneDrive file or folder never finishes synchronization
When you view files in the local folder where files are synchronized, some folders or files continue to display the blue syncing indicator...
Read more >
What do I do if Sync is stuck indexing (or not syncing)?
1. Click the Sync icon in your system tray or menu bar. · 2. Click Preferences · 3. Under Network tab, click “Clear...
Read more >
Sync is getting stuck and won't complete - Dropbox Community
Solved: Sync never finishes, Every morning I check the status in the Dropbox app. It's the same 26GB that never completes. I am...
Read more >
iCloud drive get stuck and never finish sync - Apple Discussions
Try going to System Preferences/iCloud and stop syncing. Wait a couple of minutes, then recheck syncing. Time Machine.
Read more >
Backup and sync never finishes - Google Photos Community
I had the same problem and I was able to fix it by combing through my photos and finding non photo files that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found