[go-nuts] My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-09 Thread Denis Telyukh
Hello! I use third-party software with my own code to build reverse-proxy, which supports http/2. Sometimes requests hang up with infinite waiting. With Delve I found, that it happens in https://golang.org/src/net/http/h2_bundle.go in writeHeaders or in writeDataFromHandler. But I have no any

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-09 Thread Denis Telyukh
Thanks! Maybe it will help. вт, 10 нояб. 2020 г. в 01:21, seank...@gmail.com : > maybe setting GODEBUG=http2debug=2 to spit out some logs? > > On Monday, November 9, 2020 at 5:49:57 PM UTC+1 telyuk...@gmail.com wrote: > >> Hello! >> >> I use third-party software with my own code to build reverse-

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-10 Thread Denis Telyukh
More complex problem description with images: https://caddy.community/t/sometimes-http-2-request-hangs-up-need-help-with-debugging/10439/2 вторник, 10 ноября 2020 г. в 10:25:58 UTC+7, Denis Telyukh: > Thanks! Maybe it will help. > > вт, 10 нояб. 2020 г. в 01:21, seank...@

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-10 Thread Denis Telyukh
ew the outgoing > queue sizes. > > On Nov 10, 2020, at 4:46 AM, Denis Telyukh > wrote: > > More complex problem description with images: > https://caddy.community/t/sometimes-http-2-request-hangs-up-need-help-with-debugging/10439/2 > > > вторник, 10 ноября 202

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-10 Thread Denis Telyukh
well. > > On Nov 10, 2020, at 9:36 AM, Denis Telyukh wrote: > >  > > Thanks for your advice. But I have this problem on localhost also, I doubt > that problem in network capacity :-( > > вт, 10 нояб. 2020 г. в 19:09, Robert Engels : > >> You’ve most likely

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-10 Thread Denis Telyukh
OS: Manjaro 20.2 Nibia Kernel: x86_64 Linux 5.4.74-1-MANJARO ср, 11 нояб. 2020 г. в 12:59, Kurtis Rader : > On Tue, Nov 10, 2020 at 9:39 PM Denis Telyukh > wrote: > >> 1. Got some stuck requests >> 2. netstat -atp >> tcp 25 0 dionysius-pc:52340

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-12 Thread Denis Telyukh
Better problem description after deeper debugging: https://github.com/golang/go/issues/42534 среда, 11 ноября 2020 г. в 13:21:56 UTC+7, Denis Telyukh: > OS: Manjaro 20.2 Nibia > Kernel: x86_64 Linux 5.4.74-1-MANJARO > > ср, 11 нояб. 2020 г. в 12:59, Kurtis Rader : > >> On

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-12 Thread Denis Telyukh
er when the buffers fill. > > I would continue to use the networking tools to diagnose. > > On Nov 12, 2020, at 3:22 AM, Denis Telyukh wrote: > > Better problem description after deeper debugging: > https://github.com/golang/go/issues/42534 > > среда, 11 ноября 2020

Re: [go-nuts] Re: My app hangs up at some point in net/http/h2_bundle.go. What is the better way to debug?

2020-11-12 Thread Denis Telyukh
> If you switch to http rather than http2 do you have the same issue? No, I haven't. > have you tried running your code under the race detector? Yes, I did. > Since you encounter it on localhost I assume you can extract what is needed based on the other issues cited. It's not easy, but I could t