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

NFT Payment: CORS Policy error and failed to fetch #1

Closed
FedeGens opened this issue Jun 30, 2022 · 1 comment
Closed

NFT Payment: CORS Policy error and failed to fetch #1

FedeGens opened this issue Jun 30, 2022 · 1 comment
Assignees
Labels
resolved Issue has been resolved

Comments

@FedeGens
Copy link

environment: mainnet
domain: localhost

After the checkout page of an NFT (in the neftyblocks.me domain), while signing the transaction, two errors appear:

  • CORS Policy
  • Failed to fetch

errors:

Access to fetch at 'https://wax.neftyblocks.com/v1/chain/get_info' from origin 'https://neftyblocks.me' has been blocked by CORS policy: 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.
index.643ccf21.js:1

POST https://wax.neftyblocks.com/v1/chain/get_info net::ERR_FAILED 200
(anonymous) @ index.643ccf21.js:1
_ @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
W @ index.643ccf21.js:1
e.fetch @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
_ @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
W @ index.643ccf21.js:1
e.get_info @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
_ @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
(anonymous) @ index.643ccf21.js:1
te @ index.643ccf21.js:1
e.transact @ index.643ccf21.js:1
(anonymous) @ index.96195812.js:1
a @ index.96195812.js:1
Promise.then (async)
u @ index.96195812.js:1
(anonymous) @ index.96195812.js:1
w @ index.96195812.js:1
api.transact @ index.96195812.js:1
signTransaction @ index.96195812.js:5
await in signTransaction (async)
dg @ index.841f0f6e.js:1
s @ index.841f0f6e.js:49
Jt @ index.841f0f6e.js:1
at @ index.841f0f6e.js:1
n @ index.841f0f6e.js:1

index.841f0f6e.js:49 Error: Failed to fetch
at R.signTransaction (index.96195812.js:5:595)
at async dg (index.841f0f6e.js:1:170082)
at async s (index.841f0f6e.js:49:29759)

@mvdschee mvdschee self-assigned this Jun 30, 2022
@mvdschee
Copy link
Collaborator

mvdschee commented Jul 1, 2022

he @FedeGens this should be resolved now, we had not added neftyblocks.me to the CORS yet

@mvdschee mvdschee added the resolved Issue has been resolved label Jul 1, 2022
@mvdschee mvdschee closed this as completed Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved Issue has been resolved
Projects
None yet
Development

No branches or pull requests

2 participants