Open bnsblue opened 7 years ago
On Opensuse Tumbleweed with version 2.0.16 I get new mails but when sync has been running now for 2 days without completing.
I had a similar issue yesterday. I currently have 3 Fastmail accounts set-up and they stopped synchronizing yesterday morning. After I realized this, I reset the Email Cache, to prompt the sync engine to re-download all emails.
Settings > General > Local Data > Reset Email Cache
After I've done that, Nylas Mail pulled the latest email data but 2/3 accounts are now stuck and don't synchronize any new mail. I verified this by sending an Email to myself. According tho what Nylas Mail reports, all is good:
However, while the email now shows up in Fastmail (Sent and Inbox - Good), Nylas Mail shows no trace, neither in the send folder, nor in the Inbox.
20009:50:31 RunCopycurl -X GET "http://localhost:2578/health"
20009:47:26 RunCopycurl -X POST -d '{"hostname":"Macberry","cpus":8,"arch":"x64","platform":"darwin","version":"2.0.16","nylasId":"9ayelfz2p8o1zr86qmsox8zs","accountId":"5903e1311eb1914826bcff55197cc0c075fd2885f53f1a33415891cc772250e6","action":"syncback-task-run","actionTimeMs":2645,"type":"EnsureMessageInSentFolder","provider":"fastmail","processWorkingSetSize":238020,"processPrivateBytes":149260,"processSharedBytes":85556}' "https://n1.nylas.com/ingest-metrics"
20009:47:22 RunCopycurl -X POST -d '{"version":0,"value":"{\"tracked\":true,\"uid\":\"local-b4a6606b-e98b\",\"links\":[]}","objectType":"message"}' "https://n1.nylas.com/metadata/6b7667b2b49359b3879c20c5b53e9977706abe9c477b515a7812f1ba306944c3/link-tracking"
20009:47:21 RunCopycurl -X POST -d '{"version":0,"value":"{\"open_count\":0,\"open_data\":[],\"uid\":\"local-b4a6606b-e98b\"}","objectType":"message"}' "https://n1.nylas.com/metadata/6b7667b2b49359b3879c20c5b53e9977706abe9c477b515a7812f1ba306944c3/open-tracking"
20009:47:20 RunCopycurl -X POST -d '{"customSentMessage":true}' "http://localhost:2578/ensure-message-in-sent-folder/6b7667b2b49359b3879c20c5b53e9977706abe9c477b515a7812f1ba306944c3"
20009:47:22 RunCopycurl -X POST -d '{"hostname":"Macberry","cpus":8,"arch":"x64","platform":"darwin","version":"2.0.16","nylasId":"9ayelfz2p8o1zr86qmsox8zs","accountId":"e30f55ccd1059bd86276e4c1fcb4294e79ade6a9c2187e3780c868427549187c","provider":"fastmail","action":"send-draft","actionTimeMs":3924,"succeeded":true,"processWorkingSetSize":234464,"processPrivateBytes":144640,"processSharedBytes":87604}' "https://n1.nylas.com/ingest-metrics"
20009:47:22 RunCopycurl -X POST -d '{"hostname":"Macberry","cpus":8,"arch":"x64","platform":"darwin","version":"2.0.16","nylasId":"9ayelfz2p8o1zr86qmsox8zs","accountId":"5903e1311eb1914826bcff55197cc0c075fd2885f53f1a33415891cc772250e6","action":"syncback-task-run","actionTimeMs":1788,"type":"SendMessage","provider":"fastmail","processWorkingSetSize":230556,"processPrivateBytes":142780,"processSharedBytes":85556}' "https://n1.nylas.com/ingest-metrics"
20009:47:16 RunCopycurl -X POST -d '{"client_id":"local-b4a6606b-e98b","server_id":null,"object":"draft","account_id":"5903e1311eb1914826bcff55197cc0c075fd2885f53f1a33415891cc772250e6","metadata":[{"plugin_id":"link-tracking","version":0,"value":{"tracked":true,"uid":"local-b4a6606b-e98b","links":[]},"id":"link-tracking"},{"plugin_id":"open-tracking","version":0,"value":{"open_count":0,"open_data":[],"uid":"local-b4a6606b-e98b"},"id":"open-tracking"}],"to":[{"client_id":"local-adbbac47-b7f1","server_id":"f6a6c0476218e3be91067c5e0daa77544453aa7c00332a76b0fe6deef776975b","object":"contact","account_id":"5903e1311eb1914826bcff55197cc0c075fd2885f53f1a33415891cc772250e6","name":"Franz Geffke","email":"m@f-a.nz","thirdPartyData":{},"is_search_indexed":true,"search_index_id":21,"id":"f6a6c0476218e3be91067c5e0daa77544453aa7c00332a76b0fe6deef776975b"}],"cc":[],"bcc":[],"from":[{"client_id":"local-f8ce3640-49c0","account_id":"5903e1311eb1914826bcff55197cc0c075fd2885f53f1a33415891cc772250e6","name":"Franz Geffke","email":"m@f-a.nz","thirdPartyData":{},"is_search_indexed":false,"id":"local-f8ce3640-49c0"}],"reply_to":[],"date":1492760806.514,"body":"Test<img class=\"n1-open\" width=\"0\" height=\"0\" style=\"border:0; width:0; height:0;\" src=\"https://n1.nylas.com/open/MESSAGE_ID\">","files":[],"uploads":[],"events":[],"thread_id":null,"subject":"Test","draft":true,"pristine":false,"version":0,"reply_to_message_id":null,"categories":[],"id":"local-b4a6606b-e98b","file_ids":[]}' "http://localhost:2578/send"
20009:46:49 RunCopycurl -X POST -d '{"hostname":"Macberry","cpus":8,"arch":"x64","platform":"darwin","version":"2.0.16","nylasId":"9ayelfz2p8o1zr86qmsox8zs","accountId":"e30f55ccd1059bd86276e4c1fcb4294e79ade6a9c2187e3780c868427549187c","action":"open-composer-window","actionTimeMs":415,"processWorkingSetSize":282156,"processPrivateBytes":139004,"processSharedBytes":141064}' "https://n1.nylas.com/ingest-metrics"
20009:45:31 RunCopycurl -X GET "http://localhost:2578/health"
After further testing, this is what I can see:
From Nylas Mail Sending: A to B
Sending: A to A
From Fastmail: Sending: A to B
Sending: A to A
My initial sync took days.. and now at various times throughout the day the app starts to sync a few messages/reads and just gets stuck in a sync and doesn't receive further emails. so i then miss emails until i figure out its stuck and then shut it down!
Same on Windows including the warning mentioned by @bnsblue
Same on Ubuntu Gnome 17.04 64bit
Same on Windows but with outlook IMAP (@live.com). Syncing never makes any progress or finishes. Mail seems to appear, but cannot move, delete, or send, and new mail almost never appears. GSuite email address works fine, it's only the outlook one.
Interesting, thanks for the info
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.
same issue on 2.0.32. I have the same issue... the activity window shows no error whatsoever. Sometimes the UI hangs on startup itself. i have two gmail accounts too. one of which has lots of emails. Ubuntu 17.04 with 4.10.0-22-generic.
Getting the same problem on Fedora 26, so I think it's safe to assume that this is not an OS specific issue. I also noticed the same behavior as @jonesde in that Nylas seems to be using a lot of processing power and very little bandwidth.
To start off with I had added 3 Gmail accounts simultaneously and this problem occurred. To see if I could fix it I attempted to reset everything and just add 1 account, but the issue is still occuring. I have left it unattended overnight (approx. 8 hours) and it still shows as syncing.
Checking the console it shows several DatabaseStore._executeInBackground took more than 100ms - 162msec
type errors. I also got a EventEmitter memory leak detected. 51 trigger listeners added. Use emitter.setMaxListeners() to increase limit
.
Hoping this gets fixed soon, I love Nylas, but it's unusable right now.
So, 8 months and no solution to this?
I am getting the same error on Windows 10, and with Yahoo accounts. Gmail seems to work fine. Version of Nylas Mail is 2.0.32
The error I get is this one:
Several of your accounts are having issues
And from the developer console, I have this one:
(node:1952) Warning: Possible EventEmitter memory leak detected. 51 trigger listeners added. Use emitter.setMaxListeners() to increase limitprocess.on @ internal/process/warning.js:24 2https://.emltrk.com/?d=43514412449 Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Did someone resolve this issue? I am running for more than 3 days and the error is still there. I would hate to switch to another app.
Thank you.
@fcristel Nylas Mail is pretty much dead: https://github.com/nylas/nylas-mail/issues/3621
@franzos Thank you. Didn't realized it.
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
or
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).