Open darkjenso opened 1 month ago
Looks like dscryb.com changed the CORS policy, which broke the module. I have exactly the same issue.
Having a similar issue, but it's on a call to https://dscryb.azurewebsites.net/api/GetActiveMemberships?code=*** The actual error that pops up is
Server error while getting Active Memberships. Please try again later.
There is also a Cross Origin Request Blocked message
Also seeing this CORS issue when trying to login.
I just bought a dScryb membership for the first time specifically to use this module. :( I'll probably need to cancel until this gets resolved.
Same issue here:
Same Issue on my end. Tested on both Dscryb 4.4.3 and 5.0, as well as DnD5e 3.3.1 and 4.0.4 FoundryVTT v12.331
Just going to post this here for non-discord users to be aware: devs are currently looking into the situation and aiming for a resolution ASAP... there have identified the issue and working out the kinks to avoid whole-server issues:/crashes for foundry syncing AND Opus website users: ...
Minor update, looks like a fix is moving along nicely:
An update to the current issue for you all: Dscryb OPUS is now live, as part of the latest Module update (5.0.2) Heres a (more) final summary of the issue and actions taken:
Note that this only resolves the audio library/streaming side of things... Maps and other features will be getting resolved asap:
Another thing to be mindful of: if you update the module via Foundry's auto update button, or hit the update button (that looks like the refresh icon) on the actual module itself, it may attempt to downgrade you to 4.4.4... If this happens:
I can confirm that it works now! Thank you for the update! 🎉
So i seem to be getting this error with multiple versions of the module. I try to log in, nothing changes, i reload the world to see i am logged in but nothing with sync.
when i try to sync manually, this error comes up in the console
game:1 Access to fetch at 'https://dscryb.com/wp-json/jwt-auth/v1/scene?per_page=1&_fields=id' from origin '[my ip]' has been blocked by CORS policy: Request header field x-pagely-skip-ratelimit is not allowed by Access-Control-Allow-Headers in preflight response.Understand this error dscrybApi.mjs:744
_fetch @ dscrybApi.mjs:744 determineBasePath @ dscrybApi.mjs:320 loadUserInfo @ dscrybApi.mjs:378 sync @ dscrybManager.mjs:135 _updateObject @ CategorySelectionApp.mjs:56 await in _updateObject _onSubmit @ foundry.js:6665Understand this error dscrybApi.mjs:744
[Detected 1 package: dscryb(5.0.0)] at dscrybApi._fetch (dscrybApi.mjs:744:26) at dscrybApi.determineBasePath (dscrybApi.mjs:320:35) at dscrybApi.loadUserInfo (dscrybApi.mjs:378:20) at dscrybManager.sync (dscrybManager.mjs:135:42) at CategorySelectionApp._updateObject (CategorySelectionApp.mjs:56:32) at async CategorySelectionApp._onSubmit (foundry.js:6665:7)