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 Content Error with Turbo Drive #620

Open
epugh opened this issue Apr 19, 2024 · 0 comments
Open

Mixed Content Error with Turbo Drive #620

epugh opened this issue Apr 19, 2024 · 0 comments

Comments

@epugh
Copy link

epugh commented Apr 19, 2024

I have a proxy (HAProxy) that provides the SSL support to my Rails application. I enabled Turbo Drive and on my form submissions (but not my GET requests I get the error:

Mixed Content: The page at 'https://tools.dev.bigcorpo.com/quepid/books/34/judge' was loaded over HTTPS, but requested an insecure resource 'http://tools.dev.bigcorp.com/quepid/books/34/judge'. This request has been blocked; the content must be served over HTTPS.

I suspect this is because Rails is running on http and not https, and therefore Turbo Drive is attempting to make those http calls in response to the form? Is there a way to have Turbo Drive make relative url calls versus full path calls?

Any debugging options in Turbo Drive I could enable to confirm the behavior?

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

No branches or pull requests

1 participant