DenoDDeno
Powered by
Mitchell MarkoffM
Deno•2y ago•
1 reply
Mitchell Markoff

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
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...
Not implemented: Http2Session.socket · Issue #20903 · denoland/deno
GitHub
feat(ext/node): support http2session.socket by satyarohith · Pull R...
Work in progress.
Closes #20903
feat(ext/node): support http2session.socket by satyarohith · Pull R...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno + Vite + DenoKV
AndiAAndi / help
2y ago
Error while using discord.js with deno
KameqKKameq / help
2y ago
Using SolidJS with Deno
MqxMMqx / help
2y ago
Using ESBuild with Deno
MqxMMqx / help
3y ago