Start with http and only 30 sec later https

Issue Summary

Why is it that when a site opens, Local sets the address to http and then, after a while, switches to https. The site is correctly configured in https on a Mac.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? Yes but bigger the site is and longer I need to wait for

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes

Replication

I select the site and then clic on “Open site”

after a short time (3sec) the adress on my browser is in http and some seconds (30sec) later the adress is https

  • Which version of Local is being used?
    6.5.2+6204

  • What Operating System (OS) and OS version is being used?
    macOS Bigsur_

  • Attach the Local Log. See this Help Doc for instructions on how to do so:
    How attach log. It show nothing

I used php 7.4 but with php 8.1.9 the waiting time is really better

Hi @fredericm -

Do you need more support here or did you solve your issue by using PHP 8.1.9?

Thank you!

Sam

It is not solved. There is always a delay before the bar adress becomes https://xxxx.local. During the waiting time (more than 10 seconds) the bar adress shows only http://xxxx.local
Thanks for your help.

Hi there @fredericm -

I might recommend you run a search and replace so it defaults to loading over https://

There are instructions for that in this help doc:

Sam

Hi Sam
Yes, I did this search in the database. There are no http:// addresses, all are https. That’s why I don’t understand that the address that appears at the launch of the site is http://vogue.local then after a few seconds it appears https://vogue.local

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.