I used Asteroid as my ddp to connect with my Meteor app as backend. The front end run https
and it works perfectly on Chrome. So it actually a consist of two separate apps run independently. But it didn't go well in Safari. Safari block the connection as there are mix/insecure content.
So far I have force-ssl
package added to my Meteor app but still no luck. How do I enable wss
protocol on my local development machine (localhost)
Have you tried to connect on localhost by just using http://localhost:3000? If your Meteor backend and frontend are both running on localhost then you shouldn't be trying to connect via https or wss. Your machine doesn't have a trusted certificate running on it so the connection can't be made.
Also, don't use force-ssl locally for the same reason I mention above.
Please post the full error from Safari if the above solution doesn't work. Please clarify what is running where (are they both on localhost, or just one).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With