jenamo8890 Posted November 12, 2023 Report Posted November 12, 2023 (edited) Hi. I have problem with 'logOn' steam-user with proxies through bun.sh. But this work if i not use proxies. webCompatibilityMode: true is not fix this problem Error: Login... Error: 875 | return; 876 | } 877 | this.#bodyChunks.push(...chunks), callback(); 878 | } 879 | 880 | _final(callback) { ^ TypeError: fetch() URL is invalid code: "ERR_INVALID_ARG_VALUE" at _final (node:http:880:16) at callFinal (node:stream:2763:44) at prefinish (node:stream:2786:44) at finishMaybe (node:stream:2793:48) at node:stream:2726:150 at new TCPConnection (app-folder/node_modules/steam-user/components/connection_protocols/tcp.js:59:3) at app-folder/node_modules/steam-user/components/09-logon.js:341:23 at processTicksAndRejections (:61:76) My code: import SteamUser from 'steam-user'; const client = new SteamUser({ httpProxy: 'http://login:pass@ip:port' }) client.on('loggedOn', () => { console.log('Loggined!'); }) client.on('error', (err) => { console.error('Error:', err); }) client.logOn({ accountName: 'login', password: 'password' }) console.log('Login...'); How i can fix it? Thank for help. Edited November 13, 2023 by jenamo8890 Quote
Dr. McKay Posted November 14, 2023 Report Posted November 14, 2023 steam-user is a Node.js module, not a bun module. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.