# POP3 polling error

**URL:** https://meta.discourse.org/t/pop3-polling-error/87394
**Category:** Support
**Created:** [May 14, 2018, 2:03am UTC](https://meta.discourse.org/t/pop3-polling-error/87394 "2018-05-14T02:03:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![thisnthat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thisnthat/32/164804_2.png) [@thisnthat](https://meta.discourse.org/u/thisnthat)
#### Post date: [May 14, 2018, 2:03am UTC](https://meta.discourse.org/t/pop3-polling-error/87394/1 "2018-05-14T02:03:56Z")

</div>

I am having issues tracking down a problem.

In my admin panel I am seeing the following message

```plaintext
Some problems have been found with your installation of Discourse:

* Email polling has generated 4 errors in the past 24 hours. Look at [the logs] for more details.

```

on /logs I am seeing

5 Job exception: -ERR [AUTH] Username and password not accepted.

This is the backtrace data

```plaintext
/usr/local/lib/ruby/2.4.0/net/pop.rb:1006:in `check_response_auth'
/usr/local/lib/ruby/2.4.0/net/pop.rb:905:in `auth'
/usr/local/lib/ruby/2.4.0/net/pop.rb:567:in `do_start'
/usr/local/lib/ruby/2.4.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:41:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:16:in `execute'
/var/www/discourse/app/jobs/base.rb:134:in `block (2 levels) in perform'
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-2.0.4/lib/rails_multisite/connection_management.rb:63:in `with_connection'
/var/www/discourse/app/jobs/base.rb:129:in `block in perform'
/var/www/discourse/app/jobs/base.rb:125:in `each'
/var/www/discourse/app/jobs/base.rb:125:in `perform'
/var/www/discourse/app/jobs/base.rb:180:in `perform'
/var/www/discourse/lib/scheduler/manager.rb:91:in `process_queue'
/var/www/discourse/lib/scheduler/manager.rb:37:in `block in initialize'

```

I have verified using ruby net/pop that my credentials works. The polling interval is also set to 5 minutes and it has only failed 5 times in 24 hours. It has been happening for about 2 days now and I am just not having any luck tracking down the issue.

Anyone have any suggestions?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [May 14, 2018, 2:49am UTC](https://meta.discourse.org/t/pop3-polling-error/87394/2 "2018-05-14T02:49:44Z")

</div>

If your e-mail provider is intermittently failing to accept the username and password given to it, you probably want to talk to the operators of the e-mail service.

---

<div class="post-metadata">

### Author: ![thisnthat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thisnthat/32/164804_2.png) [@thisnthat](https://meta.discourse.org/u/thisnthat)
#### Post date: [May 14, 2018, 3:25am UTC](https://meta.discourse.org/t/pop3-polling-error/87394/3 "2018-05-14T03:25:41Z")

</div>

I will be contacting google as well since this is a gmail account. I have been digging through the logs on the server and I can not seem to find an entry for these errors in any of my logs so I do not have timestamps for each instance of a failure that I can take to them. I am hoping I am overlooking a log somewhere.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 14, 2018, 6:52pm UTC](https://meta.discourse.org/t/pop3-polling-error/87394/4 "2018-05-14T18:52:27Z")

</div>

> [@thisnthat](#):
>
> I will be contacting google as well since this is a gmail account.

If it’s a regular Gmail account then using it to deliver Discourse email is a violation of Google’s terms. I think it should work for G-Suite, however.

You’ll almost certainly be better off with a service like Mailgun.

---

<div class="post-metadata">

### Author: ![thisnthat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thisnthat/32/164804_2.png) [@thisnthat](https://meta.discourse.org/u/thisnthat)
#### Post date: [May 14, 2018, 6:56pm UTC](https://meta.discourse.org/t/pop3-polling-error/87394/5 "2018-05-14T18:56:09Z")

</div>

I am using G-Suite, I believe I have been able to resolve the issue by increasing polling interval.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [October 29, 2020, 1:01am UTC](https://meta.discourse.org/t/pop3-polling-error/87394/6 "2020-10-29T01:01:34Z")

</div>



---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [October 29, 2020, 1:30am UTC](https://meta.discourse.org/t/pop3-polling-error/87394/7 "2020-10-29T01:30:41Z")

</div>


