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

Help requested to run the KVS Browser-based Ingestion nodejs application #329

Open
TristanGramsch opened this issue Nov 17, 2023 · 0 comments

Comments

@TristanGramsch
Copy link

Hey folks, I have been looking at running the KVS Browser-based Ingestion example here.

I have create an EC2 instance and hosted the nodejs app there. I opened port 8080 and managed to enter the server from my web browser.

But when I run the app using these parameters.

Screenshot from 2023-11-17 04-06-05

I get this error messages in the web browser console.

Access to XMLHttpRequest at 'https://s-472d74ac.kinesisvideo.us-west-2.amazonaws.com/getDataEndpoint' from origin 'http://52.42.120.231:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main.js:2 POST https://s-472d74ac.kinesisvideo.us-west-2.amazonaws.com/getDataEndpoint net::ERR_FAILED

What seems to be the problem? I hope you can help me folks. I am open to changing to a different repository that performs the same task. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant