Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfsense v2.4.4 - 504 gateway time-out -

    Scheduled Pinned Locked Moved webGUI
    1 Posts 1 Posters 466 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      df3l0p
      last edited by

      Re: pfsense v2.4.4 - 504 Gateway Time-out

      It has been now a few days that my pfsense is acting strange (vpn connections not working, FW rules not working, ...)

      I wanted to troubleshoot the network issues I am facing but I am not able to login in the Web UI.
      I am able to reach the login page, once I enter my username/password (does not matter if they are correct or not) I get a HTTP 504 error message (after waiting something like 5 minutes).

      I tried restarting the box and everything, and that did not change anything.

      When I look in the logs (trough SSH), here is what I have for /var/log/nginx/error.log

      2019/06/21 07:46:33 [error] 8901#100138: *5864 upstream prematurely closed connection while reading response header from upstream, client: 192.168.112.101, server: , request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "192.168.90.1:44321"
      2019/06/21 11:10:30 [error] 95401#100119: *28 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.112.101, server: , request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:11:27 [error] 95401#100119: *30 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.112.101, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:14:35 [error] 95401#100119: *46 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:26:22 [error] 95084#100113: *48 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:26:29 [error] 95084#100113: *51 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:29:31 [error] 95084#100113: *51 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:32:34 [error] 95084#100113: *51 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      2019/06/21 11:35:38 [error] 95084#100113: *51 upstream timed out (60: Operation timed out) while reading response header from upstream, client: 192.168.111.102, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket", host: "192.168.90.1:44321"
      

      The UNIX socket does exist

      ls -la /var/run/php-fpm.socket 
      srw-------  1 root  wheel  0 Jun 21 10:48 /var/run/php-fpm.socket
      

      There is a post almost similar to this one but no solution could be found there.
      Does anyone have an idea about this?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.