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

"Syncing your mailbox" doesn't retrieve any emails after letting the app sync all night -- IMAP /always/ times out

Open ck-jrd opened this issue 9 years ago • 81 comments

Are there any related issues?

I initially wrote about this problem at https://github.com/nylas/N1/issues/3179#issuecomment-275509034. but #3198 could be related?

What operating system are you using?

macOS 10.12

What version of N1 are you using?

1.0.15

--

Bug?

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

None

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

Only tested Gmail.

--

Since originally getting my Gmail account added, I let Nylas run overnight so it could sync all my messages. However, after 16 hours, no emails have been synced. My All Mail tab gives me 'No Messages', and I still get a 'Syncing to your mailbox...' notice.

nylas-sync

Running Nylas Mail in dev mode doesn't rise any errors or flags.

ck-jrd avatar Jan 27 '17 13:01 ck-jrd

My inbox has been syncing for a few minutes now and I've yet to see one message. I know it's early, but I'd expect to see at least one message come through.

Labels appeared, but no email.

TwisterMc avatar Jan 27 '17 13:01 TwisterMc

hey folks, in order to diagnose this, could you do the following:

  1. Open the Activity Window via cmd+alt+i

  2. In the Activity Window, open Dev Tools via cmd+alt+w

  3. Select the Console tab

  4. Send me a screenshot of your Console as it is

  5. Then select the Filter icon image

  6. Then Filter by Errors screen shot 2017-01-27 at 9 53 41 am

  7. Send me a screenshot of your Console filtered by errors

If you prefer not to share the screenshots here, feel free to send them to [email protected] and mention Juan

Thanks!

jstejada avatar Jan 27 '17 17:01 jstejada

@jstejada ran with and without debug flags.. there are no errors being reported but i also only see 3 requests instead of 4

yannick-mamudo avatar Jan 27 '17 18:01 yannick-mamudo

@yannick-mamudo do you see anything in the Console at all?

jstejada avatar Jan 27 '17 18:01 jstejada

screen shot 2017-01-27 at 12 34 45 nothing that looks suspicious to me

yannick-mamudo avatar Jan 27 '17 18:01 yannick-mamudo

My Nylas inspector looks the exact same as @yannick-mamudo's.

My Activity console (unfiltered): nylas-activity1

And filtered: nylas-activity2

ck-jrd avatar Jan 27 '17 18:01 ck-jrd

thanks!!

@yannick-mamudo , is that the Console in your Activity Window? Do you not see any other log's like in @v0wels Console?

jstejada avatar Jan 27 '17 18:01 jstejada

screen shot 2017-01-27 at 12 53 53 unfortunately no errors being reported

yannick-mamudo avatar Jan 27 '17 18:01 yannick-mamudo

Stuck on sync on a specific month. CPU still going. No progress for hours. No errors.

jweinstein avatar Jan 28 '17 01:01 jweinstein

+1

EQuimper avatar Jan 28 '17 17:01 EQuimper

I have my emails pulled in and displayed, but N1 is still stuck in a perpetual "Syncing your mailbox..." loop. I too do not see any errors in the console, but a tail of the log shows lines like the following spewing out every ~20 milliseconds:

{"host":"us163957","timestamp":"2017-01-28T18:32:37.030Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}
{"host":"us163957","timestamp":"2017-01-28T18:32:37.297Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}
{"host":"us163957","timestamp":"2017-01-28T18:32:37.416Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}
{"host":"us163957","timestamp":"2017-01-28T18:32:37.433Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}
{"host":"us163957","timestamp":"2017-01-28T18:32:37.446Z","payload":["ActionBridge: default Action Bridge Received: db-store-trigger"]}

I installed and setup N1 last night for 2 GApps accounts (one with Google login and the other with an enterprise login for my work) both accounts have been in the "Syncing your mailbox..." with each account showing both "All" & "Spam" as "In Progress".

In Mac's Activity Monitor, there are 2 separate "Nylas Mail Helper" processes that are each hovering (non-stop) at around 45% CPU.

Please let me know if there is anything else I can gather or look into.

erraggy avatar Jan 28 '17 18:01 erraggy

This may be the activity behind the log messages I posted above: image It is from the Delta Streaming filter in the Activity window.

erraggy avatar Jan 28 '17 18:01 erraggy

I'm having this issue. Installed Nylas for the first time today and logged in with an outlook.com account. The folder names have appeared but no email has been synced at all (it's now been several hours, and I've tried adding, re-authorising, and removing the account more than once).

@jstejada There doesn't seem to be anything interesting in the console or activity log.

Full console: screen shot 2017-01-28 at 19 15 18

Filtered: screen shot 2017-01-28 at 19 15 30

Activity: screen shot 2017-01-28 at 19 15 42

averixus avatar Jan 28 '17 19:01 averixus

I have the problem live @grinich if useful to screen share. DM/email me.

jweinstein avatar Jan 28 '17 22:01 jweinstein

thanks for the info everyone! we're going to look into it.

@JayAvery that is the Console from the Activity Window right?

jstejada avatar Jan 29 '17 03:01 jstejada

@jstejada oops. My keyboard shortcuts seem to be switched around so I got the wrong idea - those screenshots were the console of the main window.

Here is the console from the activity window. Unfiltered: screen shot 2017-01-29 at 13 07 38

Filtered: screen shot 2017-01-29 at 13 08 03

averixus avatar Jan 29 '17 13:01 averixus

Here's mine. I'm going to let it sit all day and we'll see what happens. I do have a lot of email.

nylas

TwisterMc avatar Jan 29 '17 15:01 TwisterMc

@TwisterMc can you open the Console in the Activity Window instead?

jstejada avatar Jan 29 '17 20:01 jstejada

oops. My bad. Sending an email with a new screenshot now.

TwisterMc avatar Jan 29 '17 23:01 TwisterMc

At me if I can be any help, still same issue (stuck syncing on a specific month) after this morning's update.

jweinstein avatar Jan 30 '17 18:01 jweinstein