Error Using Google PubSub With Deno

Hi there, I am trying to work with PubSub using Deno. I am able to access and create new PubSub instances and subscriptions but experience the below error when trying to receive callbacks for new messages on a subscription. There is a related issue open on GitHub and an open draft PR that seems to be addressing this. Is there a current workaround or any timeline for the open draft PR to get merged? Any help would be greatly appreciated, thank you! Related GH issue: https://github.com/denoland/deno/issues/20903 Open draft PR with problem fix(?): https://github.com/denoland/deno/pull/22617 Using deno 1.42.1
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
error: Uncaught (in promise) Error: stream error received: not a result of an error
at node:http2:733:39
at ClientHttp2Stream._read (node:http2:755:7)
at Object.onceWrapper (ext:deno_node/_stream.mjs:1929:32)
at ClientHttp2Stream.emit (ext:deno_node/_stream.mjs:1854:9)
at node:http2:607:12
at eventLoopTick (ext:core/01_core.js:168:7)
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
Warning: Not implemented: Http2Session.socket
error: Uncaught (in promise) Error: stream error received: not a result of an error
at node:http2:733:39
at ClientHttp2Stream._read (node:http2:755:7)
at Object.onceWrapper (ext:deno_node/_stream.mjs:1929:32)
at ClientHttp2Stream.emit (ext:deno_node/_stream.mjs:1854:9)
at node:http2:607:12
at eventLoopTick (ext:core/01_core.js:168:7)
GitHub
Not implemented: Http2Session.socket · Issue #20903 · denoland/deno
$ deno run -A src/ocr.ts Warning: Not implemented: Http2Session.socket error: Uncaught (in promise) Error: connection error detected: frame with invalid size at clientHttp2Request (node:http2:560:2...
1 Reply
bartlomieju
bartlomieju4mo ago
@Satya is working on fixing this