Can anyone suggest any tweaks to get this working?
Additional information
I logged out of my hosted Gmail account (in FireFox), closed and reopened my browser, went to my atom feed site: (example) http://mail.google.com/a/hosteddomain.com/feed/atom
It then asked me for my username and password which I provided. It then returned:
Unauthorized
Error 401
I logged back into my hosted Gmail account (in FireFox) and was then able to access the atom feed correctly (via FireFox) without being prompted for a username or password.
This makes me think that there is something wrong with authorization with Gmails atom feeds.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not really sure why the latest SVN shouldn't be working, but ...
Make sure you're definitely using the latest version; make sure you're using the -hosted=[domain] commandline flag; try removing ~/.checkgmail and starting again.
If none of these work, please email me and I'll see what I can do,
Cheers,
Owen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting this error with the latest CheckGmail (I used checkgmail -update and deleted the .checkgmail directory). I am also having the problem EarloftheWest had with the feed link. The gmail account is through a college (ASU), which uses it's own authentication, so I was wondering if this might be the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So, it seems my college has taken the hosted domain route, but their authentication method seems more complex then the standard hosted method, which despite having 1.13svn still doesn't work for me. I seem to need at least four cookies (two college cookies and the HID and GMAIL_AT) to login.
After some alteration of the code I feel I am very close, but I need some help. I can provide source code if necessary -- Huck.Berry[at]gmail[dot]com
~Huckle
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have worked the problem down to the fact that Google returns a javascript redirected page from their ACS server. Maybe the simplest fix is to parse out the SAML value and post it manually back to the hosted domain?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I still can't get this to work with hosted domains.
Here is what is in my pref.xml file:
Code:
<opt archive_as_read="0"
atomfeed_address="mail.google.com/a/hosteddomain.com/feed/atom"
delay="120000"
gmail_command="firefox %u"
hosted="hosteddomain.com"
language="English"
nomail_command=""
notify_command=""
passwd="password"
popup_delay="6000"
save_passwd="1"
show_popup_delay="250"
time_24="0"
user="username">
<label_delay></label_delay>
</opt>
Can anyone suggest any tweaks to get this working?
Additional information
I logged out of my hosted Gmail account (in FireFox), closed and reopened my browser, went to my atom feed site: (example)
http://mail.google.com/a/hosteddomain.com/feed/atom
It then asked me for my username and password which I provided. It then returned:
Unauthorized
Error 401
I logged back into my hosted Gmail account (in FireFox) and was then able to access the atom feed correctly (via FireFox) without being prompted for a username or password.
This makes me think that there is something wrong with authorization with Gmails atom feeds.
Please try revision 30 from svn and let me know if this works ... (just run "checkgmail -update" from the commandline to update to the latest svn)
Cheers,
Owen
Owen,
I ran:
sudo checkgmail -update
as you suggested. It appears that it did update. My code now says 1.13svn
It didn't work however. I still received the same error.
However, I changed line 730 as suggested by lembregtse and that solved my problem.
If you want to have another look at the svn, I'll give it a try again.
Thanks for your great work on this nifty program. This is just what I needed. :)
The latest version of SVN (rev 30) should work -- it's the same as the fix reported here, see here:
http://checkgmail.svn.sourceforge.net/viewvc/checkgmail/checkgmail?sortdir=down&r1=29&r2=30&sortby=log
If you're sure you're really using revision 30, and it's still not working, please let me know ...
Cheers,
Owen
It works.
I updated, then deleted my prefs.xml file and then ran checkgmail:
checkgmail -hosted=[domain.com]
and it worked fine.
Recently i did a svn checkout,
and I still get 401 Unathorized
with hosted domain.
checkgmail -v says:
CheckGmail v1.13svn
Copyright é 2005-7 Owen Marshall
Initialisation complete
Logging in to Gmail ...
Any suggestion?
Thanks
Hi,
Not really sure why the latest SVN shouldn't be working, but ...
Make sure you're definitely using the latest version; make sure you're using the -hosted=[domain] commandline flag; try removing ~/.checkgmail and starting again.
If none of these work, please email me and I'll see what I can do,
Cheers,
Owen
I am getting this error with the latest CheckGmail (I used checkgmail -update and deleted the .checkgmail directory). I am also having the problem EarloftheWest had with the feed link. The gmail account is through a college (ASU), which uses it's own authentication, so I was wondering if this might be the problem?
So, it seems my college has taken the hosted domain route, but their authentication method seems more complex then the standard hosted method, which despite having 1.13svn still doesn't work for me. I seem to need at least four cookies (two college cookies and the HID and GMAIL_AT) to login.
After some alteration of the code I feel I am very close, but I need some help. I can provide source code if necessary -- Huck.Berry[at]gmail[dot]com
~Huckle
I have worked the problem down to the fact that Google returns a javascript redirected page from their ACS server. Maybe the simplest fix is to parse out the SAML value and post it manually back to the hosted domain?