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

Net::HTTPRetriableError 301 "Moved Permanently" #5

Closed
elliotthilaire opened this issue Dec 31, 2017 · 0 comments
Closed

Net::HTTPRetriableError 301 "Moved Permanently" #5

elliotthilaire opened this issue Dec 31, 2017 · 0 comments

Comments

@elliotthilaire
Copy link
Contributor

Goodreads now redirects http requests to https.

This causes a Net::HTTPRetriableError.

Net::HTTPRetriableError
301 "Moved Permanently"

...

/Users/elliott/.rbenv/versions/2.4.2/lib/ruby/2.4.0/net/http/response.rb:122:in `error!'
oauth (0.5.4) lib/oauth/consumer.rb:233:in `token_request'
oauth (0.5.4) lib/oauth/consumer.rb:155:in `get_request_token'
omniauth-oauth (1.1.0) lib/omniauth/strategies/oauth.rb:28:in `request_phase'
/Users/elliott/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/bundler/gems/omniauth-goodreads-b220d902f23e/lib/omniauth/strategies/goodreads.rb:15:in `request_phase'
omniauth (1.7.1) lib/omniauth/strategy.rb:224:in `request_call'
omniauth (1.7.1) lib/omniauth/strategy.rb:187:in `call!'
omniauth (1.7.1) lib/omniauth/strategy.rb:168:in `call'
omniauth (1.7.1) lib/omniauth/strategy.rb:190:in `call!'
omniauth (1.7.1) lib/omniauth/strategy.rb:168:in `call'
omniauth (1.7.1) lib/omniauth/builder.rb:63:in `call'
...
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

1 participant