@alejandro ! @ilayaperumal.raja alejandro works with us here at the foundation, he’s been digging into gaia and he’ll reachout to see what’s going on here.
@jwiley, Thanks for your quick reply. @alejandro Please let me know if any configuration/setup needs to be changed for the CORS issue. Thanks in advance.
If you look at the current docs: https://docs.stacks.co there is no tutorial for this anymore. You are looking at older version of the site, and in the current site, the article you mention was removed. Not sure why someone removed it…
I want to follow the steps of the tutorial myself, verify it’s still valid and change anything that needs to get updated. I’ll let you know as soon as I finished it.
Ok, I finished the tutorial and now we have it again.
The old tutorial needed some changes (maybe that’s why it was removed), so I re-wrote it and modified the CloudFormation template to make it work again.
The new tutorial with the link to the new template is published here.
This however probably doesn’t fix your problem as you already had your hub setup.
I would recommend you look at two things that could fix the problem:
The S3 policy is incorrect or wasn’t created.
or
Check what method you are using, and verify it is compatible. If you look at this gaia template file on lines 77 and 85 you will see:
Thanks for the tutorial. I followed the steps and created CloudFormation. EC2 instance and S3 bucket were launched successfully. But the server is not reachable by public DNS( ec2-34-238-27-123.compute-1.amazonaws.com).
I am currently updating the cloudformation.yaml file and the docs with this information and the new S3 template link. It should all updated in the next couple of hours.
@alejandro, I just tried again with updated cloudformation.yaml. But CORS issue still persists. I captured the video for reference. Please take a look,
@alejandro It is a localhost application. We are trying to interact with our Gaia storage through stacks.js. Actually, stacks.js is trying to connect with our Gaia hub. But it fails with CROS error.