View Single Post
Old 08-08-2021, 09:49 PM   #1529
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by mobamoba View Post
I haven't deauthorized. The error is:
calibre, version 5.24.0
ERROR: Goodreads Failure: The request contacting Goodreads has failed. Please try again.

From the debug log:

DEBUG: 17.2 HttpHelper::__init__: proxy=None
DEBUG: 18.8 _oauth_request_get: url=https://www.goodreads.com/oauth/request_token
DEBUG: 21.4 HttpHelper::_oauth_request_post: url=https://www.goodreads.com/oauth/access_token
DEBUG: 21.4 HttpHelper::_oauth_request_post: body=
DEBUG: 21.6 Goodreads failure calling: https://www.goodreads.com/oauth/access_token
DEBUG: 21.6 Response: {'server': 'Server', 'date': 'Sun, 08 Aug 2021 14:53:04 GMT', 'content-type': 'text/html; charset=utf-8', 'content-length': '1522', 'connection': 'keep-alive', 'x-amz-rid': '9XHXABY9Y6FNDRM53618', 'set-cookie': '_session_id2=fc84a1ee55368bd6cc85d37007ca8d17; path=/; expires=Sun, 08 Aug 2021 20:53:04 -0000; HttpOnly', 'x-frame-options': 'SAMEORIGIN', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'www-authenticate': 'OAuth realm="https://www.goodreads.com"', 'cache-control': 'no-cache', 'x-request-id': '9XHXABY9Y6FNDRM53618', 'x-runtime': '0.048243', 'vary': 'Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent', 'permissions-policy': 'interest-cohort=()', 'status': '401'}
There are two requests there. The first is the request to authorise the application against the user. The second is to get the token that was generated by the first. But, before doing the second, you must do the step on the GR site. If GR is no longer showing this on the Apps page, there is not much I can do. The second step will fail until you do this.

What I would suggest is trying from a desktop. That will let you go to the GR page quickly. And will make sure everything is consistent. Once you have done the authorisation, you should be able to go to the container version and authorise it. In that case, just click the button to say that you have authorised the plugin. Once it is done, it will work for other installations.

If the authorisation on the desktop works, but from the container it doesn't, we should be able to copy the configuration between them. It is all in a file somewhere. Just need to remember how to extract it.
davidfor is offline   Reply With Quote