-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
node: ClientRequest.options.createConnection #19507
Comments
FYI support for discord.js was added in #19412 and will be released tomorrow in v1.34.3. That said |
I encoutered a similar bug.
the source code is import { JsonRpcProvider, Connection, SuiEvent } from 'npm:@mysten/sui.js';
// Construct your connection:
const connection = new Connection({
websocket: 'wss://fullnode.testnet.sui.io',
faucet: 'https://faucet.testnet.sui.io/gas',
});
// connect to Testnet
const provider = new JsonRpcProvider(connection);
const promptPackage = '0x86e2ab6c370fbfed0ee955158ca95ca5b465dede4a79eb3594d2959e72d3d62a';
const promptFilter = { MoveModule: { package: promptPackage, module: 'cybrosnetwork' } };
const promptSub = await provider.subscribeEvent({
filter: promptFilter,
onMessage(event: SuiEvent) {
// handle subscription notification message here
console.log(event["parsedJson"]);
},
}); |
Same for me using import { join } from "https://deno.land/[email protected]/path/mod.ts";
import denoDir from "https://deno.land/x/dir/mod.ts";
import puppeteer from 'npm:[email protected]';
import {install, resolveBuildId} from "npm:@puppeteer/[email protected]"
const {executablePath} = await install({
browser: 'chrome',
buildId: '113.0.5672.0',
cacheDir: join(denoDir('cache'), "puppeteer")
});
const browser = await puppeteer.launch({
headless: false,
executablePath,
});
const page = await browser.newPage();
await page.setContent(`<p>test</p>`, { waitUntil: 'networkidle2' }); |
Is there a workaround? I am trying to use Deno with the mqtt and I get the same issue. Thanks. |
I'm also experiencing this issue with CCXT — specifically with CCXT Pro and its connection via websockets for the |
the same as me with |
I can reproduce this issue in #21096. |
I'm reproducing this on import { Builder } from 'npm:selenium-webdriver';
const builder = new Builder()
.forBrowser(Browser.CHROME)
try {
const driver = await builder.build();
const cdp = await driver.createCDPConnection('page');
} catch(e) {
console.log("ERR", e)
} |
+1 having this issue with Discord JS |
Same in |
I am also using mqtt.js and while everything seems to work, the same error is thrown and it would be nice if it were fixed. Not sure of the implications when this error is thrown. |
+1, Also encountering this in Discord.JS and still have to start with MQTT. |
For me, the websocket reconnection logic doesn't work |
Same here, still an issue. |
Same here, this blocks me from using port checking libs, wondering any workaround for that |
Same in |
Issue still exists in 1.45.2 |
For npm:mqtt, this is really annoying as it is the only major mqtt implementation that can be used for deno. All the other implementations are not maintained anymore. At least I was not able to find a maintained package. |
Also getting this error when trying to use OpenAI's new Realtime API client in my Deno project. Broadly, it's problematic that Deno's
|
The same issue is happening in with |
socket.io-client causing the same issue |
Another affected package: |
Same with |
Thanks for comments. We'll prioritize fixing this problem. |
Awesome, thank you, just encountered this and am very excited for the merge. |
I think this is also blocking TIA for prioritizing it! |
node:http agents are not working because of this, we are waiting! :) |
I'm having issues as well connecting with a local websocket |
|
I've had an issue on DiscordJS with deno. Whenever I run this code I am getting this issue below.
The text was updated successfully, but these errors were encountered: