m1k0l4ji3 Posted Sunday at 02:17 AM Report Posted Sunday at 02:17 AM I've been having issues logging in with steam-user while using proxies. Can anyone recommend a reliable proxy provider that works well with steam-user, especially for websocket connections? Quote
m1k0l4ji3 Posted Sunday at 03:02 PM Author Report Posted Sunday at 03:02 PM I looked into this issue and found out that it's not a problem with the proxy provider. I was testing steam-user functionality in Deno, which is not fully compatible with Node.js—especially with https-proxy-agent, which steam-user uses under the hood. import axios from 'axios'; import { HttpsProxyAgent } from 'https-proxy-agent'; const httpsAgent = new HttpsProxyAgent('PROXY_URL_HERE'); const instance = axios.create({ httpsAgent, timeout: 15000 }); const res = await instance.get('https://steamcommunity.com'); console.log(res.data, res.status); For instance, this code works perfectly fine in Node.js, whereas in the Deno runtime, it throws an error. I guess I'll have to stick with Node.js for now. 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.