Quantcast
Viewing all articles
Browse latest Browse all 4735

Reverse proxying http2 server!giving error

@sumeet559 wrote:

running haproxy in debug mode and following is the log

00000001:https.accept(0005)=0006 from [203.153.53.130:57862]
00000001:https.clireq[0006:ffffffff]: PRI * HTTP/2.0
00000001:nodes-http2.srvcls[0006:0007]
00000001:nodes-http2.clicls[0006:0007]
00000001:nodes-http2.closed[0006:0007]

browser saying
ERR_SPDY_PROTOCOL_ERROR

below is my cfg:
frontend https
bind *:443 ssl crt /usr/local/ssl/tlkn_haproxy_bundle.pem alpn h2,http/1.1

acl host_apiv2             hdr(host) -i dapiv2.psqltom.com
reqadd X-Forwarded-Proto:\ https

use_backend nodes-http2 if { ssl_fc_alpn -i h2 }

backend nodes-http2
balance roundrobin
server apiv2-7101 127.0.0.1:7101 check send-proxy
server apiv2-7002 127.0.0.1:7102 check send-proxy
server apiv2-7003 127.0.0.1:7103 check send-proxy
server apiv2-7004 127.0.0.1:7104 check send-proxy

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>