-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot create a SharedArrayBuffer #2094
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
hey @raclim , just need to add the above two properties in server.js? is it my understanding correct. please correct me if am wrong. |
@lindapaiste Can you assign this issue to me |
@pflannery can u assign this issue to me |
Hey @lindapaiste Can you tell me if this reference is the correct way to resolve this issue? |
We need to think more about where we set those headers, which honestly I haven’t so I don’t know the answer. Do we need it on the entire server? The sketch itself is run in an iframe. Do we need to add anything to the handler which serves the iframe? Is that included in the server.js file or is it elsewhere? The iframe is served from a different subdomain. Is that considered “same-origin” or not? Do we need to explicitly allow that subdomain as an origin? edit: I think the file which needs changes is this one? |
Hey @lindapaiste may i work on this issue if still not resolved ? |
TBH I haven't properly reviewed @soniyaprasad77's code. Maybe you can start by looking at that, and investigating the questions in my last comment. We may need a team effort here! |
Hello, could someone please provide me with an update on the progress regarding this issue.? Thank you! |
I have implemented the suggested modifications in both codes , but the issue persists, and errors continue to occur. If you could offer any additional solutions related to this issue, it would be helpful. |
Hi @lindapaiste, kindly, Review that PR. |
@lindapaiste May I work on this issue if its still not resolved? |
@lindapaiste, If not resolved can I work on this issue. |
I am new to open source I would like to work on this issue |
hey @raclim , I have worked on this issue and come up with a solution |
Details about the bug:
When trying to create a SharedArrayBuffer an error message is displayed
In order to enable SharedArrayBuffer the server needs the following headers:
Also see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
The text was updated successfully, but these errors were encountered: