[blocked] The page at https:// was not allowed to run insecure content from ws://127.0.0.1:12345/.
msOS 12.3.1
safari: Version 15.4 (17613.1.17.1.13)
I am a software engineer and developing a tool on macOS platform. We have a website (which has not been published to public and will be soon), e.g. **** There is a button in the website, clicking it will launch an app installed in the local macOS through web socket connection.
But when I click the button, it fails to work. In the safari browser console log, it tells me the error.
This functionality works fine on both Chrome and Edge browser. I wonder if there is some security settings or policies preventing this. Or I need to add some special code to make it work.
any help will be much appreciated.
errors in the console log of safari:
[blocked] The page at **** was not allowed to run insecure content from ws://127.0.0.1:12345/.
[Link Edited by Moderator]
MacBook Pro