Open WietseWind opened 9 months ago
@WietseWind The load on test/devnets for the rails information fails. Could it be that https://activate-account.xappscdn.com/
doesn't have access to https://xumm.app/api/v1/platform/rails
?
Do you have more info? How does it fail? Headers? Response?
@WietseWind The only thing I can see is this: https://xrpl-labs.sentry.io/issues/4672680629/events/1af88f871ce84da988680c35678e9553/?project=4505957101797376
For now I've caught the error and put 'XRPL Testnet' or 'XAHAU Testnet' as default value
@KevinKoobs
@WietseWind The load on test/devnets for the rails information fails. Could it be that
https://activate-account.xappscdn.com/
doesn't have access tohttps://xumm.app/api/v1/platform/rails
?
fetch('https://xumm.app/api/v1/platform/rails')
You will notice a CORS error.
You're in xApp context. You need to call with JWT auth, to the jwt
instead of platform
endpoint to access with CORS. Or call from your backend to platform (which can be without auth for this endpoint) in which case you can debug @ your backend if you can call it (you can...)
@WietseWind The only thing I can see is this: https://xrpl-labs.sentry.io/issues/4672680629/events/1af88f871ce84da988680c35678e9553/?project=4505957101797376
I don't have access there.
Put 'XRPL Testnet' or 'XAHAU Testnet' where, and how does that fix it?
While if calling the activation endpoint for a faucet enabled network directly, e.g.
https://xumm.app/api/v1/app/account-activation/{ott}/auto
... it works.
Endoint types (fyi)
/account-activation/{ott}
- GET / PATCH = Prefund check & apply/account-activation/{ott}/{network}
(network can be auto) - POST = Faucet for testnets