View Single Post
Old 01-14-2016, 11:50 PM   #805
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 Krazykiwi View Post
Right that's actually why I mentioned it, I should have said "I can reproduce this", I was hoping the shelf numbers helped (I notice the page is pulling with 200 results per page, the shelves that sync both have less than 200 entries, the one that doesn't has far more).
The failure is on the first request, so it doesn't matter how many pages there would be as the first page is never retrieved
Quote:
Creating a shelf from the plugin fails.

Spoiler:

calibre, version 2.48.0
ERROR: Goodreads Failure: The request contacting Goodreads has failed. Please try again.

URL: http://www.goodreads.com/user_shelves.xml
Response Code: 201
<?xml version="1.0" encoding="UTF-8"?>
<user_shelf>
<id type="integer">167547069</id>
<user_id type="integer">638231</user_id>
<name>rereads</name>
<book_count type="integer">0</book_count>
<editable_flag type="boolean">true</editable_flag>
<updated_at type="datetime">2016-01-14T20:17:33+00:00</updated_at>
<created_at type="datetime">2016-01-14T20:17:33+00:00</created_at>
<exclusive_flag type="boolean">false</exclusive_flag>
<sortable_flag type="boolean">false</sortable_flag>
<description nil="true"/>
<sort nil="true"/>
<order nil="true"/>
<per_page type="integer" nil="true"/>
<display_fields>011110100110000110000100000000</display_fields>
<featured type="boolean">false</featured>
<recommend_for type="boolean">true</recommend_for>
<sticky type="boolean" nil="true"/>
</user_shelf>

OK, that proves it is something in the authentication. Both the shelf syncing and the shelf creation us OAuth for their access.
Quote:
My GR json attached (I subbed "REMOVED" for anything that looked like a local token.)
That looks OK. The devkeySecret and devkeyToken are hard-coded in the plugin, so they don't really need to be cleared. But, if they were the problem, I think the message would refer to the developer key being wrong. The userToken and userSecret are the user specific values. They appear to be random looking strings of letters and numbers.

Two things I don't think have been mentioned with this problem:

- What OS is being used? It shouldn't matter, but, it should be checked.
- Is anyone using a proxy?
davidfor is offline   Reply With Quote