Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Auth change ! #11

Closed
dkjeune opened this issue May 31, 2015 · 12 comments
Closed

Google Auth change ! #11

dkjeune opened this issue May 31, 2015 · 12 comments

Comments

@dkjeune
Copy link

dkjeune commented May 31, 2015

Impossible to create fusion_table because the google auth return : "request error 404: https://developers.google.com/accounts/docs/AuthForInstalledApps"
Have you a solution ?

Thanks

@dkjeune
Copy link
Author

dkjeune commented May 31, 2015

GData::Client::AuthorizationError: request error 404: https://developers.google.com/accounts/docs/AuthForInstalledApps

@Vedolin
Copy link

Vedolin commented Jun 4, 2015

@dkjeune, I just reached the same problem. If yoy need any test, let me know. I know noting of ruby or even fusion tables, but I'll try to learn as I try to get a workaround.

@dkjeune
Copy link
Author

dkjeune commented Jun 5, 2015

Hi, if you find a solution, let me know, i'm blocked.

@vasile
Copy link
Owner

vasile commented Jun 28, 2015

Which fusion_tables gem version do you guys use ? /cc @dkjeune @Vedolin
Google deprecated some of the authentication APIs, i.e. you can't anymore auth via user/password, so you might need to install a previous version of the gems

@dkjeune
Copy link
Author

dkjeune commented Jun 28, 2015

Is there an other solution to run this script ?

@vasile
Copy link
Owner

vasile commented Jun 29, 2015

Yes, there is but I need to know which version of these gems you guys are running. Also if you can add --trace to the rake task that fails and paste the content here would be helpful for debugging

@dkjeune
Copy link
Author

dkjeune commented Jun 29, 2015

here the errors

vzi noureddine$ rake project:deploy_fusiontables --trace
** Invoke project:deploy_fusiontables (first_time)
** Execute project:deploy_fusiontables
01:01:58 +0 : START Fusion Tables INSERTs
rake aborted!
GData::Client::AuthorizationError: request error 404: https://developers.google.com/accounts/docs/AuthForInstalledApps
/Library/Ruby/Gems/2.0.0/gems/gdata_19-1.1.5/lib/gdata/auth/clientlogin.rb:85:in get_token' /Library/Ruby/Gems/2.0.0/gems/gdata_19-1.1.5/lib/gdata/client/base.rb:157:inclientlogin'
/Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:10:in init' /Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:99:ingetTable'
/Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:28:in update' /Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:435:inblock (3 levels) in <top (required)>'
/Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:434:in each' /Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:434:inblock (2 levels) in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (2 levels) in top_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake:33:in<top (required)>'
/usr/bin/rake:23:in load' /usr/bin/rake:23:in

'
Tasks: TOP => project:deploy_fusiontables

@umairakhtar123
Copy link

Here is the list of my GEMS (just for your info)

GEM LIST

bigdecimal (1.2.0)
bouncy-castle-java (1.5.0147)
bundler (1.5.3)
bundler-unload (1.0.2)
executable-hooks (1.3.1)
fusion_tables (0.4.1, 0.4.0, 0.3.2)
gdata (1.1.2)
gdata_19 (1.1.5)
google-auth (0.0.2)
gem-wrappers (1.2.4)
hashie (3.4.2)
io-console (0.4.2)
jruby-openssl (0.9.4)
json (1.8.1, 1.7.7)
minitest (4.3.2)
multi_json (1.11.2)
oauth (0.4.7)
omniauth (1.2.2)
omniauth-google (1.0.2)
omniauth-oauth (1.1.0)
psych (2.0.0)
rack (1.6.4)
rake (10.1.1, 0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.9)
sqlite3 (1.3.9)
test-unit (2.0.0.0)

@vivek2007
Copy link

Hi @vasile
I am facing same issue, gem verion --- fusion_tables (0.4.1)

@vivek2007
Copy link

Hi @vasile now I am going upgrade the OAuth version 1.0 to OAuth 2.0 I followed below guidelines
https://developers.google.com/identity/protocols/OAuth_ref?hl=en#migration

and I added keys in login file, but still i am getting above same error
gem verion --- fusion_tables (0.4.1)

Thanks in advance

@kalon33
Copy link

kalon33 commented Nov 6, 2015

Hello everybody,

Any update on this ?

Thanks :)

vasile added a commit that referenced this issue Nov 6, 2015
- Moved away from old fusion_tables gem which is not supported anymore
- Start to use OAuth2 authentication tokens
- Update README to reflect FT changes
@vasile
Copy link
Owner

vasile commented Nov 6, 2015

Fixed with 78a8562
Sorry for taking so long, please give it a spin and let me know if it's working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants