Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'chunk' of null #388

Open
dannybloe opened this issue Dec 17, 2021 · 0 comments
Open

Cannot read property 'chunk' of null #388

dannybloe opened this issue Dec 17, 2021 · 0 comments

Comments

@dannybloe
Copy link

dannybloe commented Dec 17, 2021

Hi folks,

I'm using spdy 4.0.2 for a while now with node 14.17.5 (on MacOs) and all seems to be working just fine except that whenever something in the network changes (mostly when my vpn connection stops or reconnects) I get this trace:

TypeError: Cannot read property 'chunk' of null
    at Socket.bytesWritten (net.js:819:17)
    at Socket.socketOnError (_http_server.js:642:31)
    at Socket.emit (events.js:400:28)
    at Socket.emit (domain.js:470:12)
    at Stream.onStreamError (/Users/xproject/2021.4/node_modules/spdy/lib/spdy/handle.js:110:18)
    at Stream.emit (events.js:400:28)
    at Stream.emit (domain.js:470:12)
    at errorOrDestroy (/Users/x/project/2021.4/node_modules/spdy-transport/node_modules/readable-stream/lib/internal/streams/destroy.js:98:101)
    at onwriteError (/Users/x/project/2021.4/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_writable.js:424:5)
    at onwrite (/Users/x/project/2021.4/node_modules/spdy-transport/node_modules/readable-stream/lib/_stream_writable.js:450:11)
error Command failed with exit code 1.

We use spdy in combination with webpack to create a proxy. Statics files are served by webpack dev server and api calls are sent to a remote server. We didn't get this when we were still using express.

Any suggestions to help fix this are welcome.

Cheers,
Danny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant