Website Not Accessible Over Lan - Faulting application name: httpd.exe


  • | 835 points

    Hello.

    I have installed laragon in a windows server 2012R2 and I use it as web server for the intranet apps of our company.

    I have, for now, only one application and I am facing the following issue.

    At times, some of the computers in the network, not all, cannot access the application. They get a message like the server is not reachable or the website is down. The strange thing is that at the same time, other computers can access the application just fine. Also, when I restart the server (restarting laragon doesn't work) the problem is fixed, until it appears again.

    The windows log shows the following message

    Faulting application name: httpd.exe, version: 2.4.43.0, time stamp: 0x5e9f0209
    Faulting module name: php7ts.dll, version: 7.4.5.0, time stamp: 0x5e95f319
    Exception code: 0xc0000005
    Fault offset: 0x00000000000c78cb
    Faulting process id: 0x14dc
    Faulting application start time: 0x01d634ce377a5d00
    Faulting application path: C:\laragon\bin\apache\httpd-2.4.43-win64-VS16\bin\httpd.exe
    Faulting module path: C:\laragon\bin\apache\httpd-2.4.43-win64-VS16\bin\php7ts.dll
    Report Id: 9b97201b-a0de-11ea-80db-005056ba80fc
    Faulting package full name: 
    Faulting package-relative application ID:       1000
    

    The setup I have is
    Laragon Full 4.0.16 190914
    Php 7.4.5 Win32 VC15 x64 TS
    Apache 2.4.43 win64 vc16
    MySql 8.0.20 x64

    Also, it should be noted that the computers that have this issue are over a VPN connection, but again not all of them. I use a VPN connection and I do not have an issue.

    Does anyone have any idea what could be the issue?

    Any help would greatly appreciated.

    Thanks


  • administrators
    | 123643 points

    @achatzi78 : I think the problem is related to the server. It may not config properly to work under multiple accesses. Can you try setting up on a Cloud Server?


  • | 835 points

    @leokhoa Thank you for the response.

    Can you try setting up on a Cloud Server?

    Unfortunately I cannot have the application outside our network, because it has access to various SQL Server db's to fetch information, that are not accessible outside our network.

    So I have to have an intranet web server.

    It may not config properly to work under multiple accesses

    Could you elaborate a little more on that? Is there a setting in Apache, for example, that I can use? Or maybe is something to look in the windows server?


  • administrators
    | 123643 points

    @achatzi78 :
    To confirm Laragon exit properly. After exiting Laragon, please check if there is any httpd.exe (Apache) process still running.

    If Laragon exit properly and the problem persist, I think the problem is your Windows.


  • | 835 points

    @leokhoa I have stopped and exited laragon. When I stopped the services (with the "Stop All" button) I received a windows message that Apache has crashed. Then I checked at the Task Manager and no httpd process was present.

    Afterwards, I started laragon again and now I have to Apache processes. Is this normal?

    I have read some resources online that suggest to change the php from Non-thread-safe to Thread-safe (with regards to the php7ts.dll issue). Should I try this?


  • administrators
    | 123643 points

    @achatzi78 : Adding PHP version to Laragon is easy so you should try that.
    https://forum.laragon.org/topic/166/tutorial-how-to-add-another-php-version


  • | 835 points

    Ok, I changed the php version but the problem came up again.

    The issue with the apache (Faulting application name: httpd.exe & crashes) is gone with the nts version of php but the connection problem is not.

    I changed from apache to nginx but that did not work either. I tried to ping the server ip from the pc that cannot connect and it works. I tried telnet also and it works (so all ports are working).

    Right now, I have two pc, side by side, that one can connect and the other cannot. When I restart the intranet server, everything works, for a while at least.

    This is driving me crazy!!!!!!


  • | 835 points

    I want to add that in the windows power shell, the curl command also works. For example curl xxxxx.xxxxx.xxx returns the html


  • administrators
    | 123643 points

    @achatzi78 said in Website Not Accessible Over Lan - Faulting application name: httpd.exe:

    I want to add that in the windows power shell, the curl command also works. For example curl xxxxx.xxxxx.xxx returns the html

    From your point, we can see that the issue is not from Laragon so we should focus on Windows 2012 settings. I think this link may help:
    https://docs.oracle.com/cd/E26180_01/Search.94/ATGSearchAdmin/html/s1207adjustingtcpsettingsforheavyload01.html


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.