beyondcode / herd-community

85 stars 1 forks source link

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

Open morizbebenk opened 6 days ago

morizbebenk commented 6 days 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 6 days 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 6 days 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 2 days 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?