leonardoceballos / 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 starnuto...@gmail.com 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 chihuahu...@gmail.com 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