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
Blocked loading mixed active conten #4
Comments
i have tested it with firefox and it works. Maybe there is an extension causing problem for you |
Strange, so i first understood it wrong. My client makes the request and gets the response header but due to the location attribute of the response containing an http instead of an https adress the response body gets blocked. But from what mdn says that seems to be default behavior so not sure what is actually causing the issue |
Did you test on your own Firefox instance if so can you check if you set "security.mixed_content.block_active_content" in the about:config to false? Doing so makes it usable but isn't the standard config for Firefox. It also downgrades the connection for the playground to http |
The API is also available at https://api.play.yew.rs so instead of doing a |
I also get an http/3 response maybe thats the issue but that just creates the new question why the the http version is different. Okay no, I checked it and neither http/3 nor ipv6 are causing the issue |
This should've been the first question but what version of Firefox and what OS are you on? |
Sorry should have provided that earlier Firefox 106.0.1 on Linux (popos) |
Browser: Firefox 107.0 (64-bit)
|
I'm also seeing it on Chrome/MacOS Can someone rename the issue to something like: "Blocked loading mixed active content"? |
I think Google is to blame here. Firebase rewrites are used for for redirect and it returns If anyone knows a fix for this, I would be happy to hear it. |
Dug around a bit and found a more specific blurb from the firebase docs
I am guessing there is a unsecured URL being called somewhere. Pretty sure it is not due to the WASM or firebase specifically since they should be redirecting everything to https. I can try to look around this weekend. Pretty unfamiliar with the codebase though @hamza1311 Edit: link to the docs |
@ChristopherPerry6060 actually this redirect is from Firebase Hosting to Cloud Run, not between Cloud Run services. The request is supposed to go as follows:
The third step is where the issue occurs. The communication between the cloud run services isn't exposed at all |
I've pushed a workaround that should fix this issue. It no longer goes through any redirects to reach the server |
The compile request has an http location header which is blocked by Firefox as it is mixed active content at least that's how I under stand it. I have the error message below
Blocked loading mixed active content “http://playground-backend-iob5vy5ctq-uw.a.run.app/api/run?code=%0Ause+yew%3A%3Aprelude%3A%3A%2A%3B%0A%0A%23%5Bfunction_component%28App%29%5D%0Afn+app%28%29+-%3E+Html+%7B%0A++++html%21+%7B+%22hello+world%22+%7D%0A%7D%0A%0Afn+main%28%29+%7B%0A++++yew%3A%3Astart_app%3A%3A%3CApp%3E%28%29%3B%0A%7D%0A”
The text was updated successfully, but these errors were encountered: