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

'document.body' is null or not an object (line 3044) (socket.io.js) #658

Closed
mikl opened this issue Nov 22, 2011 · 0 comments
Closed

'document.body' is null or not an object (line 3044) (socket.io.js) #658

mikl opened this issue Nov 22, 2011 · 0 comments

Comments

@mikl
Copy link

mikl commented Nov 22, 2011

I have two copies of the same site, with the same source code, where this error shows up in IE7 on one of them. This is with socket.io 0.8.7 (and now.js 0.7.6).

The line in question is:

document.body.appendChild(form);

Obviously, this code runs too early due to some weird timing issue I can't figure out. Why could this happen?

darrachequesne pushed a commit that referenced this issue Jul 8, 2024
Before this change, receiving an HTTP2 upgrade would make the server
crash:

> Error: read ECONNRESET
>    at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
>  errno: -104,
>  code: 'ECONNRESET',
>  syscall: 'read'
> }

This can be reproduced with Node.js v14.15.3, v16.18.1 and v18.12.1.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant