sst / guide

Repo for guide.sst.dev
https://guide.sst.dev
MIT License
3.68k stars 445 forks source link

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

Closed Harrison97 closed 1 month ago

Harrison97 commented 2 years ago

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.

jayair commented 2 years ago

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

flea89 commented 1 year ago

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/

jayair commented 1 year ago

Which version of Chrome is this?

flea89 commented 1 year ago

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.

karan-pathak commented 1 year ago

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

yasircodingcrafts commented 1 year ago

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

rajatbarman commented 1 year ago

mkcert -install on M1 Ventura worked for me

shelbyspeegle commented 1 month ago

this seems like ancient history - M1 user here and works for me out of the box - should we archive?

jayair commented 1 month ago

Yup also we have this https://sst.dev/docs/reference/cli#cert