-
Posts
2 -
Joined
-
Last visited
Posts posted by Technikhighknee
-
-
const Steam = require('steam-client'); const SteamUser = require('steam-user'); let client = new Steam.CMClient(); let user = new SteamUser(client); client.setHttpProxy("http://someIP:somePort/"); user.logOn(credentials);
Is this still the way to go for using a proxy or do I have to do something else?
I feel like it is not working anymore, because now I am unable to log into my account.
(Windows Steam-Client error says something like: "There were too many failed login attempts on your network. Please try again later.")
I can login to 2 of my accounts without steamguard but the one with steamguard does not work.PS: I am new to this forum stuff, I hope I did not forget to mention anything.
Does using proxy still work this way?
in node-steam-user
Posted · Edited by Technikhighknee
Thanks for the reply!
I have checked the docs and found the option 'httpProxy' wich I assume gets passed into the SteamUser constructor.
For testing purposes I have built a module that returns a public http proxy from an api.
My code is as followed:
Whenever I run this it gives me an error: "Error: HTTP CONNECT 400 Bad Request"
Do you have any thoughts about why it would not work?
I don't know if I am allowed to post the API url I am using.
Tell me if you want to see it.
Thank you so much for your time!