sst.dev icon indicating copy to clipboard operation
sst.dev copied to clipboard

console.sst.dev does not load at all on mac M1

Open Harrison97 opened this issue 3 years ago • 8 comments

I am using a Mac M1 so I assume this may be an issue here, maybe not.

However I am simply trying to do the QuickStart app and everything deploys fine and I can call my APIs etc, but I cannot actually use the web console for debugging. I have the debug stack deployed and I have it running locally. Still no luck and the screen is just stuck on this: Screen Shot 2022-07-12 at 20 16 11

With these Errors: Screen Shot 2022-07-12 at 20 16 48

Has anyone run into a similar issue on M1 or otherwise? Any help would be great. I could be possibly missing something very basic but any help would be great.

Thanks.

Harrison97 avatar Jul 13 '22 01:07 Harrison97

Which browser are you using? Btw, the Discord is the best place for this: https://discord.gg/sst

jayair avatar Jul 13 '22 16:07 jayair

Hello, I'm experiencing the same problem on Chrome (it works on Firefox)

I'm really new to SST. From a very first look, I wonder if the problem is caused by the missing Access-Control-Allow-Private-Network: true header.

More details https://developer.chrome.com/blog/private-network-access-preflight/

flea89 avatar Nov 11 '22 15:11 flea89

Which version of Chrome is this?

jayair avatar Nov 11 '22 22:11 jayair

Crome Version 107.0.5304.110 (Official Build) (x86_64)

And here's the details about the error: Access to fetch at 'http://localhost:12557/proxy/https://jsonplaceholder.typicode.com/todos/1' from origin 'https://console.sst.dev' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Private-Network' header was present in the preflight response for this private network request targeting the local address space.

flea89 avatar Nov 12 '22 10:11 flea89

You can try installing mkcert. It worked for me on chrome. Find detailed steps to do this under the heading "Safari and Brave" on https://docs.sst.dev/console

karan-pathak avatar Dec 31 '22 18:12 karan-pathak

Same here I am getting CORS errors in edge, chrome, firefox and blocked contect in safari, but I am on Mac with Intel

yasircodingcrafts avatar Feb 02 '23 13:02 yasircodingcrafts

mkcert -install on M1 Ventura worked for me

rajatbarman avatar Mar 24 '23 12:03 rajatbarman