net::ERR_HTTP2_SERVER_REFUSED_STREAM

Anoop Alias anoopalias01 at gmail.com
Tue May 18 11:14:26 UTC 2021


Hi,

Browser consoles are showing error net::ERR_HTTP2_SERVER_REFUSED_STREAM and
resources are not loading when enabling http2 ( see attached screenshot)

The error go away when http2 is disabled

#################################################
[root at vps ~]# nginx -V
nginx version: nginx/1.19.10
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
built with OpenSSL 1.1.1k  25 Mar 2021
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx
--modules-path=/etc/nginx/modules --with-pcre=./pcre-8.44 --with-pcre-jit
--with-zlib=./zlib-1.2.11 --with-openssl=./openssl-1.1.1k
--with-openssl-opt=enable-tls1_3 --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error_log
--http-log-path=/var/log/nginx/access_log --pid-path=/var/run/nginx.pid
--lock-path=/var/run/nginx.lock
--http-client-body-temp-path=/dev/shm/client_temp
--http-proxy-temp-path=/dev/shm/proxy_temp
--http-fastcgi-temp-path=/dev/shm/fastcgi_temp
--http-uwsgi-temp-path=/dev/shm/uwsgi_temp
--http-scgi-temp-path=/dev/shm/scgi_temp --user=nobody --group=nobody
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module --with-http_dav_module
--with-http_flv_module --with-http_mp4_module --with-http_gunzip_module
--with-http_gzip_static_module --with-http_random_index_module
--with-http_secure_link_module --with-http_stub_status_module
--with-http_auth_request_module --with-file-aio --with-threads
--with-stream --with-stream_ssl_module --with-http_slice_module
--with-compat --with-http_v2_module
--add-dynamic-module=/usr/local/rvm/gems/ruby-2.6.6/gems/passenger-6.0.7/src/nginx_module
--add-dynamic-module=echo-nginx-module-0.61
--add-dynamic-module=headers-more-nginx-module-0.32
--add-dynamic-module=ngx_http_redis-0.3.8
--add-dynamic-module=redis2-nginx-module
--add-dynamic-module=srcache-nginx-module-0.31
--add-dynamic-module=ngx_devel_kit-0.3.0
--add-dynamic-module=set-misc-nginx-module-0.31
--add-dynamic-module=ngx_http_geoip2_module
--add-dynamic-module=testcookie-nginx-module --with-cc-opt='-O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'
--with-ld-opt=-Wl,-E
######################################################

I had enabled debug logging, but it is hard to decipher for me the exact
cause
from the debug log

I am using the latest nginx so https://trac.nginx.org/nginx/ticket/2155 is
ruled out as well

Debug log -- https://autom8n.com/nginx_debug.txt

Any help is much appreciated

-- 
*Anoop P Alias*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210518/20362cc2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x2.png
Type: image/png
Size: 146746 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20210518/20362cc2/attachment-0001.png>


More information about the nginx mailing list