Using websocket with wss when using https #714
Unanswered
liberty-rising
asked this question in
Problem
Replies: 2 comments 2 replies
-
Could this be a typo bug here export function mount(mountPoint) {
const serverInfo = new LayoutServerInfo({
host: document.location.hostname,
port: document.location.port,
path: "../",
query: queryParams.user.toString(),
secture: document.location.protocol == "https",
});
|
Beta Was this translation helpful? Give feedback.
2 replies
-
sure, we’ll send a PR for this
…Sent from my iPhone
On 22 Mar 2022, at 23:47, Ryan Morshead ***@***.***> wrote:
Yup. I think that's the cause. Can you make a PR to correct that? I can release this later today.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I've been working on deploying the timeflow app and we are currently working on getting it to use https. However, upon what looks like a successful deployment, we are running into a web socket issue.
Here's a link to the site: timeflow app
If you look at the developer console, the issue appears to be a lack of support for wss.
Mixed Content: The page at 'https://demo-timeflow.dyvenia.com/client/index.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://demo-timeflow.dyvenia.com/stream'. This request has been blocked; this endpoint must be available over WSS.
Would it be possible to create support for this protocol?
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions