This has nothing to do with Laravel.
It's most likely that when the computer (Server) goes to sleep aka hibernate it turns of the network adapter. I suggest checking the power save settings
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. There is the same problem on 2 sites on the laravel framework.
The error in losing the Internet connection is not reproduced constantly and on different devices with different OS (mac / Chrome, HP / ubuntu ...).
After the computer goes to sleep and it is turned off and then turned on - in a browser where many tabs are open - but it is on these two sites that the connection loss error is shown - ERR_INTERNET_DISCONNECTED. (everything is fine with the rest of the open tabs)
After refreshing the page, everything is fine. But this loss of connection is a problem
Use: laravel framework: 5.8 php: 7.1
Perhaps someone had such a problem or have any ideas where to look for the cause?
Please or to participate in this conversation.