spdy-http2 / node-spdy

SPDY server on Node.js
2.81k stars 196 forks source link

Not able to instrument SPDY #391

Open ashokduraikeg opened 1 year ago

ashokduraikeg commented 1 year ago

Hi,

I am working on a project where I need to instrument the SPDY framework code to get access to request and response. This is for application performance monitoring purposes. I have successfully able to instrument other frameworks (expressjs etc...) without any issues. Seeing an issue (getting net::ERR_HTTP2_PROTOCOL_ERROR error in the browser for some of the resources) while instrumenting the SPDY framework code. I have double checked that the issue is not in the post instrumentational code. The act of instrumenting SPDY framework creates an issue so I believe it is something to do with the SPDY framework. The issue is not happening at all the times it is random. image

I also noticed some similar issue reported by another person as well. https://github.com/spdy-http2/node-spdy/issues/380

Following are the versions of my environment. NodeJS : 16.13.1 ExpressJS : 4.18.1 SPDY : 4.0.2 OS : Windows 10 Pro 21H1 (Build 19043.1826)

Please find attached, simple example project that we have created to replicate and understand issue. spdy-instrumentation-poc.zip