Codekit browser refreshing not working

Ever since I added SSL to my Local by Flywheel set up, my CodeKit set up hasn’t been working.

It asks for an external server address to watch for file changes…so I wanted to double check where I should be pointing it. I have it pointing to “http://localhost:5757”.But when I try it, the request just times out.

Does it need to be set at “https” now that I have the SSL set up? In that case, if I change the URL to “https” and check Codekit’s option to use TLS on the preview server, the browser ends up returning a warning message that the certificate is not trusted. It usually says it’s because it’s self-signed?

Is anyone else running into these issues?

Within CodeKit you want to do two things:

  1. Make sure your External Server Address is using the https version of your Local URL.
  2. Click on the green circle in CodeKit that lists out your URL’s and make sure you check the box Use TLS on preview server.

Accessing the HTTPS version of your CodeKit URL should pull up a secure version of the site running on Local.

Cool, thank you. I’m still getting weird warnings about the certificate and the TLS, but I’m just closing them and it’s working OK. Thanks for the response!

Hi guys, experiencing this same issue trying to use CodeKit with Local Flywheel. I have set the external server address in Codekit as my Local FW address, and enabled the TLS option. However, when trying to load the page, it does kind of partially load some content, but it times out and shows an error of “This page has lost contact with CodeKit and will no longer auto-refresh. Click here to reload.”.

Anyone come across this?

1 Like

This is the same issue I’m having. Did you ever figure it out?

I honestly did not. I just moved past the warnings about the certificate and TLS, and my CodeKit refreshes worked OK. I wish I had a better answer, but that’s just where I landed.

This may sound weird, but in Local, try changing your site’s domain name from mysite.local to mysite.anywordotherthanlocal. I couldn’t get the CodeKit to play nice with Local at all until I did this, and then everything magically seemed happy afterwards, all SSL stuff working with no warnings. :man_shrugging:

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