console icon indicating copy to clipboard operation
console copied to clipboard

Failing to trail logs on Safari

Open danielivanovz opened this issue 9 months ago • 3 comments

Console is failing to connect to the WS while using Safari.

[Error] WebSocket connection to 'wss://localhost:13557/socket' failed: An SSL error has occurred and a secure connection to the server cannot be made.
[Error] WebSocket connection to 'wss://localhost:14557/socket' failed: Could not connect to the server.

The pulling from https://backend.console.sst.dev/replicache/pull1 works.

I have installed certificates and it works on Chrome.

danielivanovz avatar Mar 10 '25 14:03 danielivanovz

Are we talking about sst dev logs from your local? Because it works on my end. Safari Version 18.3.1 (20620.2.4.11.6)

Has it ever worked in Safari for you?

jayair avatar Mar 14 '25 19:03 jayair

Yes, sst dev, sorry if I did not mentioned that earlier. Safari Version 18.3.1 (20620.2.4.11.6) (same as yours @jayair).

Happy to provide more details.

Image

danielivanovz avatar Mar 15 '25 14:03 danielivanovz

Has it worked for you before? And what does running sst cert again do for you?

jayair avatar Mar 22 '25 00:03 jayair

I ran again sst cert and it created a certificate:

/Users/userName/Library/Application Support/sst/cert/cert.pem

and now Safari is correctly puling the logs, thank you @jayair !

danielivanovz avatar May 11 '25 20:05 danielivanovz