beyondcode / herd-community

91 stars 1 forks source link

[Bug]: Laravel site loading too long but if https / secure is enable work perfectly #1103

Open morizbebenk opened 1 month ago

morizbebenk commented 1 month ago

Platform

Windows

Operating system version

Windows 11 (24H2 26100.2152)

System architecture

Windows

Herd Version

1.11.1

PHP Version

8.3.12

Bug description

I've reinstalled Laravel Herd several times but it's still the same.

When accessed in a browser, the Laravel application takes a very long time to load, but when I enable HTTPS / Secure, the application runs perfectly.

Steps to reproduce

No response

Relevant log output

No response

sschlein commented 1 month ago

This sounds like a system configuration issue to me, there's likely something intercepting the request like an anti virus program that forces https connections.

morizbebenk commented 1 month ago

I have disabled Windows Defender but still get the same results. I have also added the Herd App to Windows Firewall in the Inbound Rules and Outbound Rules sections.

Is there an error log that I can check for the problem I mentioned ?

mpociot commented 4 weeks ago

Can you reproduce this issue with a fresh Laravel installation? On Windows, the first request usually tends to take a bit longer - but subsequent requests are much faster. Maybe that's the case for you as well and it's not directly related to the SSL certificate?

morizbebenk commented 3 weeks ago

I have installed App with Laravel Herd, Composer and Laravel commands, but it's still the same.

Screenshot 2024-10-29 123420

If https is enabled the preview is showing

Screenshot 2024-10-29 123507