Skip to content

[Question] #2291

@eleith

Description

@eleith

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

the dashboard loads the header but all other content does not render.

the web console shows that livewire.js does not load due to mixed content errors (it tries to load an http:// version when https:// is required

context:

the site is deployed behind an SSL + nginx reverse proxy and ASSET_URL and APP_URL are set to https://fast.example.com (other assets due load, it is only livewire.js that tries to load from the http:// version

Expected Behavior

all of the content of the dashboard loads and there are no console errors

Steps to Reproduce

  1. use a reverse proxy with SSL
  2. set APP_URL and ASSET_URL to the appropriate domain like https://fast.example.com
  3. deploy version 1.6.4
  4. load the dashboard, it should render correctly
  5. note that in the source view (at the bottom), livewire is loaded with
<script src="/livewire/livewire.min.js?id=df3a17f2" ...
  1. now deploy version 1.6.5
  2. load the dashboard, it should not fully render (only the header)
  3. note in the source view (at the bottom), livewire is loaded with
<script src="http://fast.example.com/livewire/livewire.min.js?id=df3a17f2 ...
  1. loading of an http:// resource on an https:// page should trigger a mixed content error in most browsers, likely causing the page to not render fully

Deployment Environment

Docker Compose

Application Information

version 1.6.5

What browser(s) are you seeing the problem on?

Firefox

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewA maintainer needs to look at this issue stillquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions