Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixed content issue for browser connection #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

helly0d
Copy link

@helly0d helly0d commented Oct 17, 2015

When leap motion is not active and the SDK is loaded on a https page, all the browsers will throw error regarding mixed content.

The issue was from the attempt to degrade from wss to ws if the connection to the web socket failed, but ws is insecure and is not allowed with https.

@RecursiveCptHook
Copy link
Contributor

RecursiveCptHook commented Dec 11, 2019

Bit of an old PR (thanks for submitting the change)... but would be cool if we could potentially get some tests around this for before/after and then can merge. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants