Welcome Guest, Not a member yet? Register   Sign In
debug bar loaded over http - blocked
#1

(This post was last modified: 06-29-2021, 06:10 AM by BilltheCat.)

I'm not sure where to start looking, so hopefully someone else has run across this already.
Last night I copied everything from my Windows local machine to my CentOS 7 server, and getting an odd issue in development mode.  The debug bar won't load, and the error message in my browser says:
Code:
Mixed Content: The page at 'https://mysite.com/ci4test/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://mysite.com/ci4test/?debugbar_time=1624914457'. This request has been blocked; the content must be served over HTTPS.

Is there some setting that's different for the debug bar than baseURL?

.env file setting:
app.baseURL = 'https://mysite.com/ci4test/'

/app/Config/App.php:
public $baseURL = 'https://mysite.com/ci4test/';

What else is there?

I'm on CodeIgniter version 4.1.3
Reply


Messages In This Thread
debug bar loaded over http - blocked - by BilltheCat - 06-28-2021, 02:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB