Jeffersonepic / google-sites-liberation

Automatically exported from code.google.com/p/google-sites-liberation
0 stars 0 forks source link

Invalid User Credentials error no matter which arguments I enter #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I tried at least 20 different combinations of host, domain, webspace, 
username and password but every time I get "Invalid User Credentials".
1.  I run the Jar file and enter in the host domain and webspace.
2.  My site is http://sites.google.com/a/lilybclayton.org/www so I put 
host=sites.google.com domain=lilybclayton.org, webspace=www
For username I tried including just my user id and also adding the domain 
to the end but either way it does not work.  

I am using Google Apps so it looks like domain is required.  

What is the expected output? What do you see instead?
I am trying to export a copy of my web site.

What version of the product are you using? On what operating system?
The latest version 1.0.1 on Windows XP.  I just downloaded Java 1.6 today 
since I got other errors with Java 1.5.

Please provide any additional information below.

Original issue reported on code.google.com by hollyshi...@yahoo.com on 26 Jan 2010 at 9:12

GoogleCodeExporter commented 9 years ago
I have EXACTLY the same problem as discussed above in Issue 42. 
My site is http://sites.google.com/a/poyry.com/padur-oil-storage-caverns. 

Original comment by kaelin.j...@gmail.com on 27 Jan 2010 at 10:52

GoogleCodeExporter commented 9 years ago
here is my site - http://sites.google.com/site/valushop

and I tried several combinations but I keep geeting invalid credentials error.

Original comment by nidhivi...@gmail.com on 4 Mar 2010 at 9:29

GoogleCodeExporter commented 9 years ago
Same problem here. I'm using 1.0.1 on Linux with Sun Java 6 runtime. 

Original comment by joe.brit...@gmail.com on 5 Mar 2010 at 5:31

GoogleCodeExporter commented 9 years ago
Finally I was able to make it work -
Host: sites.google.com
Domain: site
Webspace: <<name which you registered with google sites>>. In my case, its 
valushop
Username: google account name, try adding @gmail.com
Password

2 Important things to note -
Export- downloads the files from google.
Secondly, This program does not work through firewall. So if you have a proxy 
setting to access internet, it won't work. It did not work from my office m/c.

Original comment by nidhivi...@gmail.com on 6 Mar 2010 at 5:21

GoogleCodeExporter commented 9 years ago
HELLO

Original comment by tomdwye...@gmail.com on 8 Mar 2010 at 2:28

GoogleCodeExporter commented 9 years ago
hey tom

Original comment by gfarrell...@gmail.com on 9 Jun 2010 at 5:20

GoogleCodeExporter commented 9 years ago
Hi I have the exact same problem. I tried all combinations for domain, 
username, webspace and all I get is Invalid credentials. I tried on XP-Java1.6 
and Mac with Java 1.6 with and without proxy, I still have the same problem. I 
have a domain name. 
Please advice..

Original comment by shilpasm...@gmail.com on 22 Jul 2010 at 9:13

GoogleCodeExporter commented 9 years ago
Same problem here
Java (build 1.6.0_21-b07), Liberation tool 1.0.3 jar   Windows Vista SP2 

Original comment by ricpie...@gmail.com on 9 Nov 2010 at 6:02

GoogleCodeExporter commented 9 years ago
Same problem... Java (build 1.6.0_22-b04) Windows XP SP 3 error "Invalid user 
credential"

Original comment by mpi...@gmail.com on 3 Jan 2011 at 10:27

GoogleCodeExporter commented 9 years ago
Hey great, finally got it to work - I would suggest making the import and 
export buttons clearer - took me ages to work it out.

(how about 'download from net' and 'upload to net' ?)

matt mars london

https://sites.google.com/site/abriefhistoryofTimelessness/

Original comment by MattTime...@gmail.com on 28 Mar 2011 at 3:47

GoogleCodeExporter commented 9 years ago
Not able to work with google site that has external domain name just like 
hollyshi...@yahoo.com,
where the google domain name is http://sites.google.com/a/blabla.org/

not able to export.

has any body been able to crack this ? 

Thanks in advance

Original comment by valv...@gmail.com on 13 Apr 2011 at 11:19

GoogleCodeExporter commented 9 years ago
Hi!
I notice the same problem reported in comment #4:
http://code.google.com/p/google-sites-liberation/issues/detail?id=42#c4
Seems like there is no way to make it work under a proxy: I always get "Invalid 
User Credentials".
My version is 1.0.4.
Also, it would be nice to have a way to report any error in more detail (a 
stack trace, for example).

Thanks!

Original comment by starnutoditopo on 2 Aug 2011 at 2:25

GoogleCodeExporter commented 9 years ago
I was able to the tool to work through our corporate proxy for our corporate 
apps domain (https).  To enable proxy support, launch the jar file from the 
command line, with the additional proxy parameters.

Example:

java -Dhttps.proxyHost=your.proxy.com -Dhttps.proxyPort=1080 
google-sites-liberation-1.0.4.jar

Original comment by tim.step...@gmail.com on 26 Sep 2012 at 10:21

GoogleCodeExporter commented 9 years ago
Comment No. 4 was very helpful! Thanks, now it works.

Original comment by hp.zehrf...@gmail.com on 7 Jan 2013 at 11:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Steps from 
https://code.google.com/p/google-sites-liberation/issues/detail?id=42#c4 worked 
great!

Original comment by drak...@gmail.com on 1 Apr 2013 at 5:42

GoogleCodeExporter commented 9 years ago
If you have 2-step verification turn on for your account it will interrupt the 
export process.

So turn off 2-step verification just to export (then turn it back on) or create 
a new gmail account, add it as an owner of the site, and complete the export 
with that account's details.

Original comment by mattda...@google.com on 5 Apr 2013 at 3:30

GoogleCodeExporter commented 9 years ago
I had problems until I realised that 2-step verification was turned on for my 
account.  As in comment #17 the UI complains of Invalid Credentials and there 
is no clue that access is being blocked by Google's 2-step verification 
process.  Here's another way to deal with this without turning 2-step 
verification off or creating a new account.  First of all sign into the google 
account in question, navigate to security, 2-step verification, manage your 
application-specific passwords.  Then generate a new application-specific 
password specifically for google-sites-liberation.  You'll need to keep this 
page open so you can copy this into the password box of the 
google-sites-liberation UI (cut&paste didn't work for me so I had to copy it by 
eye&hand).  

Then to dump data from the site https://sites.google.com/site/mywebspace/ I use:

Host: sites.google.com
Domain: site
Webspace: mywebspace
Import/Export Revisions: unchecked
Username: <myusername>@gmail.com
Password: <myapplicationspecificpassword>

That's it : thanks for a Really Useful piece of code!  

Original comment by patrickb...@gmail.com on 27 Jul 2013 at 11:41

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Shutdown your firewall, it worked for my

Original comment by ingh...@gmail.com on 2 Oct 2013 at 9:35

GoogleCodeExporter commented 9 years ago
ya , for me too it worked.

Original comment by cpandya2909 on 13 Nov 2013 at 3:55

GoogleCodeExporter commented 9 years ago
Thanks very much to Mattda for the 2 step verification advice which worked 
nicely

Original comment by nicola.a...@gmail.com on 7 Jan 2014 at 6:38

GoogleCodeExporter commented 9 years ago
If you still have problem, check this link, and enable the less security access 
of your account, you can disable it after you export your sites.

https://www.google.com/settings/security/lesssecureapps

Original comment by int...@gmail.com on 24 Oct 2014 at 2:17

GoogleCodeExporter commented 9 years ago
thanks to #23; after enabling less secure access the import worked for me

Original comment by roman.st...@gmail.com on 5 Dec 2014 at 9:26

GoogleCodeExporter commented 9 years ago
thanks to #23; after enabling less secure access the import worked for me

Original comment by chihuahuasweetplanet on 10 Jan 2015 at 5:21

GoogleCodeExporter commented 9 years ago
For people with 2-step authentication :

Steps described by patrick worked great : 
https://code.google.com/p/google-sites-liberation/issues/detail?id=42#c18

(Setting another account as owner and using this account didn't work for me.)

Original comment by vdau...@gmail.com on 30 Mar 2015 at 8:52

GoogleCodeExporter commented 9 years ago
At last !..... thanks to #23; after enabling less secure access the import 
worked for me

Original comment by Aenriqu...@gmail.com on 8 Apr 2015 at 5:22

GoogleCodeExporter commented 9 years ago
This still appears to be an issue with 1.0.4 on Linux.

I have a Google Apps-hosted site and therefore I don't have the "less secure 
access" option. I've followed all the above instructions and I'm certain that 
my settings are correct. 

Is this tool still supported for Google Apps customers?

Original comment by r...@bluecellenergy.com on 1 Jun 2015 at 12:40

GoogleCodeExporter commented 9 years ago
I've had a daily job running with 1.0.4 on Ubuntu Linux for months now which 
exports my site using the command line.

I have a Google Apps site.

A few days ago I started seeing this error happening every time I attempt an 
export:

Jun 02, 2015 3:00:04 AM com.google.sites.liberation.export.Main doMain
SEVERE: Invalid User Credentials!
Exception in thread "main" java.lang.RuntimeException: 
com.google.gdata.util.AuthenticationException: Error authenticating (check 
service name)
        at com.google.sites.liberation.export.Main.doMain(Main.java:89)
        at com.google.sites.liberation.export.Main.main(Main.java:97)
Caused by: com.google.gdata.util.AuthenticationException: Error authenticating 
(check service name)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:614)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:490)
        at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:336)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
        at com.google.sites.liberation.export.Main.doMain(Main.java:79)
        ... 1 more

I had changed nothing - neither my login credentials nor the script.

Clearly Google has changed something on their end that has caused this to break.

Is anyone looking further into this issue?

Original comment by george.m...@regalfm.com on 1 Jun 2015 at 10:12

GoogleCodeExporter commented 9 years ago
I am a Google Apps user with 2-step authentication enabled, and I can't get 
this to work anymore. I tried an Application Specific Password, but no luck. 
Also as noted above the "Less Secure Apps" option is not available to Google 
Apps customers. 

Original comment by bri...@pariyatti.org on 2 Jun 2015 at 1:05

GoogleCodeExporter commented 9 years ago
Same here, used to work but now it's broken...

(see https://code.google.com/p/google-sites-liberation/issues/detail?id=42#c26) 

Original comment by vdau...@gmail.com on 2 Jun 2015 at 6:12

GoogleCodeExporter commented 9 years ago
Same here. I had enabled less-secure-apps when that option first started 
blocking access to google sites liberation. That solved the problem for a 
while, but now the invalid-credentials error occurs even with less-secure-apps 
enabled, so google sites liberation no longer works.

Original comment by GLDresc...@gmail.com on 2 Jun 2015 at 10:17

GoogleCodeExporter commented 9 years ago
Same problem here, 2-step-validation enabled, tried all of the proceses posted 
before but no luck

Original comment by oaceballos on 3 Jun 2015 at 3:48

GoogleCodeExporter commented 9 years ago
I've been fighting this for like a month now and Google hasn't helped at all.
I have a Google Apps site that cannot be exported anymore.   
Reaching out asking if anybody has found a solution to the 'Invalid 
Credentials' message of death?

Original comment by fredy.ro...@gmail.com on 30 Jun 2015 at 2:42

GoogleCodeExporter commented 9 years ago
I have a Google Apps site. I have a daily cron job to do the export.

I started seeing the error at the start of June. It started working again June 
13 - 23 but then it broke again June 24 and hasn't worked since.

Can anyone help?

Original comment by george.m...@regalfm.com on 30 Jun 2015 at 10:02

GoogleCodeExporter commented 9 years ago
Same here. Changing setting 
https://www.google.com/settings/security/lesssecureapps didn't help.

Original comment by RettetDi...@gmail.com on 14 Jul 2015 at 9:14

GoogleCodeExporter commented 9 years ago
It's broken for me too, and I've tried everything suggested in this thread 
several times over. No luck.  And I just got an automated e-mail saying someone 
who knew my password was trying to log onto my account.  Yep, Google, that 
would be ME. 

Very frustrating.  I have a large website on Google Sites that I need to back 
up.

Original comment by dexe...@gmail.com on 23 Jul 2015 at 2:46

GoogleCodeExporter commented 9 years ago
As a new user I though how open minded Google was with this facility, but it is 
difficult to get it to work and I have not managed yet. Using Mac Os X 10.9.5 
and Liberation 1.0.4.
My site is citybowlratepayers@gmail.com, but links to our old domain name of 
cibra.co.za
It is NOT an Apps site.
I think i have tried all the work arounds I can find on the blogs.
Maybe I should just keep switching on and off like the standard IT help desk 
response?

Original comment by CityBowl...@gmail.com on 25 Jul 2015 at 3:14

GoogleCodeExporter commented 9 years ago
Google uses OAuth2 instead of user account/password.

I fixed the GUI interface.
<https://github.com/sih4sing5hong5/google-sites-liberation>

But I have no idea about OAuth2 with command lines.

Original comment by ihc...@gmail.com on 29 Jul 2015 at 1:55

GoogleCodeExporter commented 9 years ago
I tried the new Version and copy/pasted the token.
Now I get the following message:

"Retrieving site data (this may take a few minutes).
No data returned. You may have provided invalid Site information or 
credentials."

Original comment by RettetDi...@gmail.com on 29 Jul 2015 at 2:11

GoogleCodeExporter commented 9 years ago
It seems that login worked and parser failed.

Did the previous versions work?

Original comment by ihc...@gmail.com on 12 Aug 2015 at 5:57

GoogleCodeExporter commented 9 years ago
It used to work, but I think that has been more than a year back.

I'm not sure the login worked. The error message is the same when I make random 
changes to the security token.

Original comment by RettetDi...@gmail.com on 12 Aug 2015 at 9:00

GoogleCodeExporter commented 9 years ago
Who ever wrote Google sites liberation, thank you very much indeed.

but PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE, PLEASE,!

make it put out some sensible error messages.
"invalid user credentials" is absolutely useless.

if the program detects an error then it must know where, and what the error is, 
so PLEASE let us know what box needs changing, and how , and why, and give an 
example of the correct format of input for the error box.

or if the PW is in valid say so. 

at the moment "invalid credentials" seems to mean any one, or more of 6 values 
may be wrong, which means we have to work out from 6x5x4x3x2 possible problems.

thanks again though, its invaluable when it works, but even the same settings 
week to week randomly work or mainly dont.

i think i speak for most people on this forum - guys, and ladies, please vote 
this up or copy it if thats so.

sincerely 
M.Marsden

www.timelessness.co.uk
https://sites.google.com/site/abriefhistoryoftimelessness/home

Original comment by MattTime...@gmail.com on 12 Aug 2015 at 9:03

GoogleCodeExporter commented 9 years ago
ps THANK YOU IHC ( post #29)
for your post, that fixed it for me, but GSL still needs some clear error 
messages
thanks again 
mm
timelssness.co.uk

Google uses OAuth2 instead of user account/password.

I fixed the GUI interface.
<https://github.com/sih4sing5hong5/google-sites-liberation>

But I have no idea about OAuth2 with command lines.

Original comment by MattTime...@gmail.com on 12 Aug 2015 at 9:08

GoogleCodeExporter commented 9 years ago
I published the version 1.0.6 for new error message.

for @Retter, you can try again

I think GSL cannot parse your articles because some types of articles are not 
supported.

It need someone to add parser for other types.

I only fixed the login function from version 1.0.4.

for @Matt

Where did you get "invalid user credentials" ?

In GUI version?

Original comment by ihc...@gmail.com on 13 Aug 2015 at 9:27

GoogleCodeExporter commented 9 years ago
@ihc: Thank you! Thanks to the error message I got it working.

Problem was: I set Domain to "Google.com" instead of "site"
--> I suggest changing the missleading screenshot on the start page.  
https://github.com/sih4sing5hong5/google-sites-liberation 

greetings 
Michael

Original comment by RettetDi...@gmail.com on 13 Aug 2015 at 1:28