# Email polling error with Google Apps

**URL:** https://meta.discourse.org/t/email-polling-error-with-google-apps/47714
**Category:** Support
**Created:** [July 24, 2016, 12:43pm UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714 "2016-07-24T12:43:03Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 24, 2016, 12:43pm UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/1 "2016-07-24T12:43:03Z")

</div>

I’m getting the following warning on my Discourse dashboard:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/9/4935ada38d07a308803d7817453f75ac23af8a7c.png)

And this is the log:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/7/d77d4302083589d8b5a5ad42003c6a1b502eccda.png)

I’m not sure what, if anything, to do about this.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 24, 2016, 9:26pm UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/2 "2016-07-24T21:26:37Z")

</div>

What does the “info” tab say when you look at that particular error?

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 25, 2016, 8:52am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/3 "2016-07-25T08:52:35Z")

</div>

Info:

```plaintext
Job exception: -ERR [SYS/TEMP] Temporary system problem. Please try again later.

```

Backtrace:

```plaintext
/usr/local/lib/ruby/2.3.0/net/pop.rb:1006:in `check_response_auth'
/usr/local/lib/ruby/2.3.0/net/pop.rb:905:in `auth'
/usr/local/lib/ruby/2.3.0/net/pop.rb:567:in `do_start'
/usr/local/lib/ruby/2.3.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:34:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:16:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

```

Env:

```plaintext

hostname	connect-app
process_id	[31169, 95, 698, 17513, 14817, 16461]
application_version	[8c51d34100a98d2b1548965bc4a9c5432913a5e7, 2f3ee3b6586dbec793d5b2605b45a2cc8c462827, 4d65370797d87d90741f2f3774b7c6dccdb6a7ae, 802b502818ced8530e5dca3c8aeda477d9c7d74b]
current_db	default
current_hostname	connect.amicalnet.org
job	Jobs::PollMailbox
message	Signing in to poll incoming emails.
opts	

```

Does any of this help? 😕

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 25, 2016, 8:57am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/4 "2016-07-25T08:57:05Z")

</div>

Are you polling from GMail by any chances?

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 25, 2016, 9:10am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/5 "2016-07-25T09:10:30Z")

</div>

Yes, we’re using Google Apps for polling.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 25, 2016, 9:31am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/6 "2016-07-25T09:31:45Z")

</div>

Make sure you enable “access from less secure apps”.

> [@Set up reply by email with POP3 polling](https://meta.discourse.org/t/set-up-reply-by-email-with-pop3-polling/14003/1):
>
> Note 2: If you are using a Google Apps mailbox (e.g. a Google mailbox @  
> [yourdomain.com](http://yourdomain.com) not @gmail.com), you will need to enable “access from less  
> secure apps” in Google Account settings. If not, you will receive a “POP3  
> authentication failed” error in Discourse. Access from “less secure apps”  
> is disabled by default for Google Apps customers.

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 25, 2016, 9:47am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/7 "2016-07-25T09:47:28Z")

</div>

I had it turned on for the `reply by email address` (the polling address), but not for the `notification email`. I turned it on for that as well, though I don’t think it matters.

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 25, 2016, 9:48am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/8 "2016-07-25T09:48:18Z")

</div>

I don’t mind if emails were delayed, but might this issue have prevent emails from going out or coming in altogether?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 25, 2016, 9:53am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/9 "2016-07-25T09:53:12Z")

</div>

It’s just for incoming emails.

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 25, 2016, 10:06am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/10 "2016-07-25T10:06:06Z")

</div>

OK. So I’m assuming that this is just a glitch, that Google decided not to play nice for a bit. Because a user just sent in a post via email. Sound reasonable?

If so, would the polling (when it continued) pick up on the email(s) that were sent during the glitch?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 25, 2016, 10:07am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/11 "2016-07-25T10:07:44Z")

</div>

> [@alehandrof](#):
>
> Google decided not to play nice for a bit.

We’ve found that Google would requires us to re-login every two months or so. Not sure why though ☹

> [@alehandrof](#):
>
> If so, would the polling (when it continued) pick up on the email(s) that were sent during the glitch?

Yes, it will poll all the emails it hasn’t seen yet.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 25, 2016, 10:09am UTC](https://meta.discourse.org/t/email-polling-error-with-google-apps/47714/12 "2016-07-25T10:09:31Z")

</div>


