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

[ERR_HTTP2_SOCKET_UNBOUND]: The socket has been disconnected from the Http2Session #26436

Open
butadpj opened this issue Oct 20, 2024 · 0 comments
Labels
bug Something isn't working correctly node compat

Comments

@butadpj
Copy link

butadpj commented Oct 20, 2024

Version: Deno 2.0.2 (stable, release, aarch64-apple-darwin)

I am working with Pulumi's Automation API and whenever I call stack.preview() or stack.up() which relies heavily on gRPC, I'm getting this error:

>>> Error in Http2Server Error [ERR_HTTP2_SOCKET_UNBOUND]: The socket has been disconnected from the Http2Session
    at Object.get (node:http2:92:19)
    at Http2Server.<anonymous> ([project's path]/node_modules/@grpc/grpc-js/src/server.ts:1638:25)
    at Http2Server.emit (ext:deno_node/_events.mjs:393:28)
    at Http2Server.<anonymous> (node:http2:1214:14)
    at Http2Server.emit (ext:deno_node/_events.mjs:393:28)
    at TCP._onconnection [as onconnection] (node:net:1127:8)
    at TCP.#accept (ext:deno_node/internal_binding/tcp_wrap.ts:358:12)
    at eventLoopTick (ext:core/01_core.js:175:7) {
  code: "ERR_HTTP2_SOCKET_UNBOUND",
  name: "Error"
}

This is the error Im getting from Pulumi when executing stack.preview():

error: failed to discover plugin requirements: connection error: desc = "error reading server preface: read tcp 127.0.0.1:55811->127.0.0.1:55807: use of closed network connection"
Previewing update (dev)
  • as you notice, the error seems like a result of Deno's issue with gRPC (socket being disconnected from the Http2Session)
@lucacasonato lucacasonato added bug Something isn't working correctly node compat labels Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

No branches or pull requests

2 participants