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

Mixed contents ? #1392

Closed
yormy opened this issue Aug 10, 2020 · 4 comments
Closed

Mixed contents ? #1392

yormy opened this issue Aug 10, 2020 · 4 comments
Labels
bug Something isn't working right

Comments

@yormy
Copy link

yormy commented Aug 10, 2020

my posthog is running on a ssl domain
my site is running on a ssl domain

yet I get the following when I want to load the toolbar for element selection
Blocked loading mixed active content “http://posthog.example.it/static/toolbar.js?_ts=1597060202369

@yormy yormy added the bug Something isn't working right label Aug 10, 2020
@timgl
Copy link
Collaborator

timgl commented Aug 10, 2020

You are likely either running with the DEBUG variable turned on, or running behind a proxy with incorrect configuration. Please see running behind proxy for more info.

Let me know if that helped!

@mariusandra
Copy link
Collaborator

This should also get easier once PR #1387 is merged.

In one commit I removed the "apiURL" variable from the editorParams hash given by /api/user... and instead take directly the URL that the JS library is initialised with.

The server used to return the URL with http:// only under certain conditions.

@yormy
Copy link
Author

yormy commented Aug 10, 2020

@timgl : Awesome work you created here... really love it

@timgl timgl closed this as completed Aug 14, 2020
@timgl
Copy link
Collaborator

timgl commented Aug 14, 2020

I think this is closed now, let me know if you run into any other issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

3 participants