Closed benninkcorien closed 11 months ago
Thanks! But that's the problem, it's forcing HTTPS and then failing to get a cert (I think?). I can get to the login screen over HTTP, but when I click the login button it switches to HTTPS
@benninkcorien maybe it's your browser cache/history?
Have you tried another browser? or try http://127.0.0.1:9432
And check your APP_URL
, you must have the same URL that you access in the browser.
You should have this: APP_URL=http://127.0.0.1:9432
I've tried Chrome and Firefox.
Also tried all options for
APP_URL: localhost/mixpost
with http/https and nothing in front of it.
I'll reinstall composer/laravel/ dependencies, see if that fixes things.
Upgraded composer. Ditched Docker.
php artisan serve
Everything's running nicely now, thanks!
@lao9s it doesn't mean, we should ignore the main error of docker image being redirected to HTTPS although APP_URL has been given as http://some_ip, I am facing this issue too.
I am able to access the application using http://some_ip but when I hit login(post entering credentials), it's redirecting to https://some_ip and fails there.
@venkateshreddy5353 in the docker image, when you put HTTP in your APP_URL, will not redirect to HTTPS.
Steps to reproduce the problem
Create docker-compose.yml
docker-compose up -d
go to https://localhost:9432/mixpost/
I see the login screen, and enter the default Email: admin@example.com Password: changeme
And then firefox/chrome throws an error that I can't ignore:
If I try to add localhost:9432 to the Server/certificate exceptions in firefox, it looks like no certificate is being sent at all?
There are no errors in the Docker Desktop console, only some messages that everything in RUNNING, and some occasional messages that Redis is running in the background.
Expected behaviour
Login with default credentials
Actual behaviour
SSL error
Detailed description
Can't get past the login screen.
Specifications
Mixpost 1.3.1 Firefox 116.0b8 (64-bit) Docker Desktop 4.21.1 Windows 11