readwiseio / obsidian-readwise

Official Readwise plugin for Obsidian
GNU General Public License v3.0
239 stars 23 forks source link

Sync error #25

Open wenlzhang opened 1 year ago

wenlzhang commented 1 year ago

Starting from today, I am having the following errors when trying to sync notes to Obsidian. I have Obsidian version 0.15.9 and Readwise plugin version 2.0.1 installed.

started sync
index.html:1 Access to fetch at 'https://readwise.io/api/obsidian/init?parentPageDeleted=false' from origin 'app://obsidian.md' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
readwise.io/api/obsidian/init?parentPageDeleted=false:1          Failed to load resource: net::ERR_FAILED
plugin:readwise-official:7911 Readwise Official plugin: fetch failed in requestArchive:  TypeError: Failed to fetch
    at ReadwisePlugin.eval (plugin:readwise-official:7906:34)
    at Generator.next (<anonymous>)
    at fulfilled (plugin:readwise-official:28:58)
plugin:readwise-official:7932 Readwise Official plugin: bad response in requestArchive:  undefined
app.js:1 Uncaught (in promise) DOMException: Transaction timed out due to inactivity.