Avatar
Moysie
2a55ed52ed31f85f8bdef3bdd165aa74265d82c952193d7b76fb4c76cccc4231
Just one thing to say #primal
Replying to Avatar daniele

nostr:npub16c0nh3dnadzqpm76uctf5hqhe2lny344zsmpm6feee9p5rdxaa9q586nvr uploads in Primal seem broken.

I got "Failed to upload file ...:" and in the console:

Access to XMLHttpRequest at 'https://chronicle.dtonon.com/media' from origin 'https://primal.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

PUT https://chronicle.dtonon.com/media net::ERR_FAILED 502 (Bad Gateway)

Or no error and this in the console:

VM508:1 Uncaught SyntaxError: Unexpected token '<', "

at JSON.parse ()

at XMLHttpRequest.xhrOnLoad (UploaderBlossom.tsx:74:29)

Maybe Primal doesn't like my Blossom server?

Hi nostr:nprofile1qydhwumn8ghj7cmgwfhku6trd3jjuer5dahx7m3wvdhk6tcppemhxue69uhkummn9ekx7mp0qqs8hhhhhc3dmrje73squpz255ape7t448w86f7ltqemca7m0p99spgdm4tgc . It would seem that your blossom server is not responding with a valid Blossom Descriptor JSON, as described here: https://github.com/hzrd149/blossom/blob/master/buds/02.md but rather with an HTML page that seems to be a home page of your relay.