Re: [MlMt] Status: Gmail authentication issues

2016-09-07 Thread Benny Kjær Nielsen

On 7 Sep 2016, at 1:08, Mark Derricutt wrote:


On 7 Sep 2016, at 3:04, Kee Hinckley wrote:

It stopped for me on my last report. It's been fine since. I really 
suspect a Google issue.


All good here now as well, surprisingly timed all around the OS/X 
security update - can't remember if the problems started BEFORE or 
AFTER the update tho off hand.


I agree that the issue in MailMate was probably triggered by a Google 
issue, but that does not change the fact that MailMate did not handle it 
well. I need it to work better before Google has a similar issue again.


(I don't think it was related to the security update although it's not 
impossible.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-06 Thread Mark Derricutt
On 7 Sep 2016, at 3:04, Kee Hinckley wrote:

> It stopped for me on my last report. It's been fine since. I really suspect a 
> Google issue.

All good here now as well, surprisingly timed all around the OS/X security 
update - can't remember if the problems started BEFORE or AFTER the update tho 
off hand.

-- 
Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-06 Thread Kee Hinckley
It stopped for me on my last report. It's been fine since. I really suspect a 
Google issue.

--iPhoned

> On Sep 2, 2016, at 10:43 PM, Benny Kjær Nielsen  
> wrote:
> 
> I've gotten surprisingly little feedback on this problem (for some users it 
> has simply disappeared) and I've got no example logs yet (logs as described 
> in the original message further below).
> 
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-06 Thread Benny Kjær Nielsen

Hi,

another update on the Gmail issue experienced by some users last week. 
I've gotten no more reports (and no logs), but I've located some 
potential issues when/if Google has issues with returning new refresh 
and/or access tokens. At the same time I moved part of the code to a 
separate thread. Unfortunately this also means an increased likelihood 
that I've introduced new issues.


Here is a direct download for any users with Gmail accounts who would 
like to help me verify that I haven't broken something: 
https://updates.mailmate-app.com/archives/MailMate_r5261.tbz


(It's not available via the Software Update mechanism in MailMate.)

Thanks in advance.

--
Benny

On 3 Sep 2016, at 7:43, Benny Kjær Nielsen wrote:


Hi everybody,

I've gotten surprisingly little feedback on this problem (for some 
users it has simply disappeared) and I've got no example logs yet 
(logs as described in the original message further below).


One hint is a user reporting that MailMate did not update the keychain 
with new tokens after re-authentication, but this user no longer has 
the issue. My current theory (*based on very little*) is that the 
problem is something like this:


1. Google has a temporary problem and rejects valid refresh tokens.
2. Google has a temporary problem and rejects returning a new refresh 
token (when re-authenticting).

3. MailMate fails to report when 2. fails.

I'm mainly writing to the list, because I have very little time for 
work today. I'll be looking into item number 3 tomorrow.


--
Benny

On 2 Sep 2016, at 9:31, Benny Kjær Nielsen wrote:


Hi everybody,

based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried 
to fix it after the first reports (before the 1.9.5 beta was 
released). I'll do my best today to learn more and hopefully fix or 
workaround something. (Don't expect replies to any other issues until 
after this is resolved.)


Read on if you have issues with MailMate asking to re-authenticate 
Gmail accounts. I'll start out with possible ways to make it stop and 
then I'll describe how to help me (if you have time).


# Possible workarounds

## Switch to an older release of MailMate

The public version: 
http://updates.mailmate-app.com/archives/MailMate_r5234.tbz
The last test version before the 1.9.5 features (almost as old as the 
public version): 
http://updates.mailmate-app.com/archives/MailMate_r5249.tbz
The last version before I changed anything OAuth2 related: 
http://updates.mailmate-app.com/archives/MailMate_r5255.tbz


## Switch to password based access

Open the IMAP account editor via the File menu and disable OAuth2 
authentication. This is **only** going to work if Google allows it 
for the particular account. I think this can be configured somewhere 
in the Gmail web settings, but Google regularly tightens the screw on 
this one.


# How to help

I'm still not seeing any issues with my own 2 Gmail accounts and 
therefore I cannot reproduce it. Here's how to generate as much data 
as possible for me with the current debug variables.


defaults write com.freron.MailMate MmLoggingEnabled -bool YES
defaults write com.freron.MailMate MmDebugXOAUTH2 -bool YES

Then launch MailMate like this (if MailMate is in `/Applications`):

/Applications/MailMate.app/Contents/MacOS/MailMate

Wait until you have seen the issue once or twice and then

* Use “Help ▸ Send Server Logs”.
* Include the output from the Terminal window.
* State the OS version and MailMate version used (I'm interested in 
any MailMate version having this issue in order to narrow it down).


Thanks in advance. Don't forget to disable the debug output:

defaults delete com.freron.MailMate MmLoggingEnabled
defaults delete com.freron.MailMate MmDebugXOAUTH2

# Other ideas?

I'm open for ideas, but I'm also a bit swamped by emails. Keep it 
short :)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-04 Thread Benny Kjær Nielsen

On 3 Sep 2016, at 22:27, Richard Rettke wrote:

Just wanted to report than I just had the same google problem that I 
had last night (I think it was last nigh?) occur again, except it 
absolutely DID NOT involve Mailmate. It happened on a gmail address 
which is used exclusively by my iPhone, and does not appear in any 
other device. Seems to me to exonerate Mailmate.


I'm still not convinced. MailMate plays some role in this, but I haven't 
figured out exactly how yet. Hopefully someone can get me some logs at 
some point.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-03 Thread Richard Rettke
On 2 Sep 2016, at 2:31, Benny Kjær Nielsen mailingl...@freron.com  
wrote:



Hi everybody,
based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried 
to fix it after the first reports (before the 1.9.5 beta was 
released). I'll do my best today to learn more and hopefully fix or 
workaround something. (Don't expect replies to any other issues until 
after this is resolved.)


I know your partying (at least you should be) so ignore this until 
another day.


Just wanted to report than I just had the same google problem that I had 
last night (I think it was last nigh?) occur again, except it absolutely 
DID NOT involve Mailmate. It happened on a gmail address which is used 
exclusively by my iPhone, and does not appear in any other device. Seems 
to me to exonerate Mailmate.


__*Richard Rettke*__
*Laus Deo*
*Non sibi sed patriae*

https://about.me/rerettke

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-03 Thread Paul Sture

On 3 Sep 2016, at 7:43, Benny Kjær Nielsen wrote:


Hi everybody,

I've gotten surprisingly little feedback on this problem (for some 
users it has simply disappeared) and I've got no example logs yet 
(logs as described in the original message further below).


One hint is a user reporting that MailMate did not update the keychain 
with new tokens after re-authentication, but this user no longer has 
the issue. My current theory (*based on very little*) is that the 
problem is something like this:


1. Google has a temporary problem and rejects valid refresh tokens.
2. Google has a temporary problem and rejects returning a new refresh 
token (when re-authenticting).

3. MailMate fails to report when 2. fails.


From the lateral thinking department:

Applying Thursday's OS X Security Update required a reboot.  I have no 
idea whether a reboot could reset "something" involved here, but I 
thought it worth mentioning.

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-02 Thread Benny Kjær Nielsen

Hi everybody,

I've gotten surprisingly little feedback on this problem (for some users 
it has simply disappeared) and I've got no example logs yet (logs as 
described in the original message further below).


One hint is a user reporting that MailMate did not update the keychain 
with new tokens after re-authentication, but this user no longer has the 
issue. My current theory (*based on very little*) is that the problem is 
something like this:


1. Google has a temporary problem and rejects valid refresh tokens.
2. Google has a temporary problem and rejects returning a new refresh 
token (when re-authenticting).

3. MailMate fails to report when 2. fails.

I'm mainly writing to the list, because I have very little time for work 
today. I'll be looking into item number 3 tomorrow.


--
Benny

On 2 Sep 2016, at 9:31, Benny Kjær Nielsen wrote:


Hi everybody,

based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried 
to fix it after the first reports (before the 1.9.5 beta was 
released). I'll do my best today to learn more and hopefully fix or 
workaround something. (Don't expect replies to any other issues until 
after this is resolved.)


Read on if you have issues with MailMate asking to re-authenticate 
Gmail accounts. I'll start out with possible ways to make it stop and 
then I'll describe how to help me (if you have time).


# Possible workarounds

## Switch to an older release of MailMate

The public version: 
http://updates.mailmate-app.com/archives/MailMate_r5234.tbz
The last test version before the 1.9.5 features (almost as old as the 
public version): 
http://updates.mailmate-app.com/archives/MailMate_r5249.tbz
The last version before I changed anything OAuth2 related: 
http://updates.mailmate-app.com/archives/MailMate_r5255.tbz


## Switch to password based access

Open the IMAP account editor via the File menu and disable OAuth2 
authentication. This is **only** going to work if Google allows it for 
the particular account. I think this can be configured somewhere in 
the Gmail web settings, but Google regularly tightens the screw on 
this one.


# How to help

I'm still not seeing any issues with my own 2 Gmail accounts and 
therefore I cannot reproduce it. Here's how to generate as much data 
as possible for me with the current debug variables.


defaults write com.freron.MailMate MmLoggingEnabled -bool YES
defaults write com.freron.MailMate MmDebugXOAUTH2 -bool YES

Then launch MailMate like this (if MailMate is in `/Applications`):

/Applications/MailMate.app/Contents/MacOS/MailMate

Wait until you have seen the issue once or twice and then

* Use “Help ▸ Send Server Logs”.
* Include the output from the Terminal window.
* State the OS version and MailMate version used (I'm interested in 
any MailMate version having this issue in order to narrow it down).


Thanks in advance. Don't forget to disable the debug output:

defaults delete com.freron.MailMate MmLoggingEnabled
defaults delete com.freron.MailMate MmDebugXOAUTH2

# Other ideas?

I'm open for ideas, but I'm also a bit swamped by emails. Keep it 
short :)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-02 Thread Benny Kjær Nielsen

On 2 Sep 2016, at 9:37, Richard Rettke wrote:

On 2 Sep 2016, at 2:31, Benny Kjær Nielsen mailingl...@freron.com  
wrote:


based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried 
to fix it after the first reports (before the 1.9.5 beta was 
released). I'll do my best today to learn more and hopefully fix or 
workaround something. (Don't expect replies to any other issues until 
after this is resolved.)


Just an FYI Benny. When I received the batch of google messages this 
morning, I was NOT running the latest Mailmate with the patch for this 
issue. I have since upgraded.


Ok, but I also have reports on r5260 and some stating that it started 
after upgrading. I doubt that it's a coincidence even though I had a few 
reports before releasing r5260.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] Status: Gmail authentication issues

2016-09-02 Thread Richard Rettke
On 2 Sep 2016, at 2:31, Benny Kjær Nielsen mailingl...@freron.com  
wrote:


based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried 
to fix it after the first reports (before the 1.9.5 beta was 
released). I'll do my best today to learn more and hopefully fix or 
workaround something. (Don't expect replies to any other issues until 
after this is resolved.)


Just an FYI Benny. When I received the batch of google messages this 
morning, I was NOT running the latest Mailmate with the patch for this 
issue. I have since upgraded.


__*Richard Rettke*__
*Laus Deo*
*Non sibi sed patriae*

https://about.me/rerettke

___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] Status: Gmail authentication issues

2016-09-02 Thread Benny Kjær Nielsen

Hi everybody,

based on the number of emails during the night about Gmail 
authentication issues then I'm now going to assume this is a MailMate 
issue. Possibly a new issue or something that got worse when I tried to 
fix it after the first reports (before the 1.9.5 beta was released). 
I'll do my best today to learn more and hopefully fix or workaround 
something. (Don't expect replies to any other issues until after this is 
resolved.)


Read on if you have issues with MailMate asking to re-authenticate Gmail 
accounts. I'll start out with possible ways to make it stop and then 
I'll describe how to help me (if you have time).


# Possible workarounds

## Switch to an older release of MailMate

The public version: 
http://updates.mailmate-app.com/archives/MailMate_r5234.tbz
The last test version before the 1.9.5 features (almost as old as the 
public version): 
http://updates.mailmate-app.com/archives/MailMate_r5249.tbz
The last version before I changed anything OAuth2 related: 
http://updates.mailmate-app.com/archives/MailMate_r5255.tbz


## Switch to password based access

Open the IMAP account editor via the File menu and disable OAuth2 
authentication. This is **only** going to work if Google allows it for 
the particular account. I think this can be configured somewhere in the 
Gmail web settings, but Google regularly tightens the screw on this one.


# How to help

I'm still not seeing any issues with my own 2 Gmail accounts and 
therefore I cannot reproduce it. Here's how to generate as much data as 
possible for me with the current debug variables.


defaults write com.freron.MailMate MmLoggingEnabled -bool YES
defaults write com.freron.MailMate MmDebugXOAUTH2 -bool YES

Then launch MailMate like this (if MailMate is in `/Applications`):

/Applications/MailMate.app/Contents/MacOS/MailMate

Wait until you have seen the issue once or twice and then

* Use “Help ▸ Send Server Logs”.
* Include the output from the Terminal window.
	* State the OS version and MailMate version used (I'm interested in any 
MailMate version having this issue in order to narrow it down).


Thanks in advance. Don't forget to disable the debug output:

defaults delete com.freron.MailMate MmLoggingEnabled
defaults delete com.freron.MailMate MmDebugXOAUTH2

# Other ideas?

I'm open for ideas, but I'm also a bit swamped by emails. Keep it short 
:)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate