OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • NGINX error while reading response header from upstream
« previous next »
  • Print
Pages: [1]

Author Topic: NGINX error while reading response header from upstream  (Read 2794 times)

M@rch0n

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
    • View Profile
NGINX error while reading response header from upstream
« on: March 26, 2022, 05:18:13 pm »
Hi,

After updating my OPNsense to the latest version, NGinx with the error:
 
Errors*1 upstream timed out (60: Operation timed out) while reading response header from upstream


I found this help -> https://ma.ttias.be/nginx-proxy-upstream-sent-big-header-reading-response-header-upstream/#:~:text=If%20the%20HTTP%20headers%20contain,configurations%20to%20your%20location%20block..

I changed the buffer option, but other errors occur and the service does not start.

This error in the > Services > Nginx > Logs > Global Error:
proxy_busy_buffers_size" must be smaller than the size of all "proxy_buffers" minus one buffer in /usr/local/etc/nginx/nginx.conf:656

Any configuration suggestions?

Cump.
Marchon
os-nginx 1.26
OPNsense 22.1.4_1-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022
Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (2 cores, 4 threads)
Logged

tverweij

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 1
    • View Profile
Re: NGINX error while reading response header from upstream
« Reply #1 on: August 07, 2024, 04:26:08 pm »
M@rch0n,

I have exactly the same problem using the NGINX proxy.
Without NGINX, no errors appear.

Did you ever find a solution?
Logged

tverweij

  • Jr. Member
  • **
  • Posts: 69
  • Karma: 1
    • View Profile
Re: NGINX error while reading response header from upstream
« Reply #2 on: August 07, 2024, 08:35:26 pm »
Found the setting, in case anyone needs it.

HTTP(s) Location – advanced settings – Advanced Proxy options – proxy Read timeout = 999999
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • NGINX error while reading response header from upstream
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2