Jump to content
McKay Development

Problem with using a proxy


Recommended Posts

Problem with connecting proxy.
There are two outcomes when connecting a proxy:
1. The proxy is working - the code is being executed.
2. The proxy is working - but the code is not executed and there is no error in the console, because of this I cannot trace the problem and solve it.

How can I track this error? I will be grateful for help


const SteamClient = require('steam-client');
const SteamUser = require('steam-user');

let user = new SteamUser({
  singleSentryfile: false,
  promptSteamGuardCode: false,
  dateDirectory: null,
  httpProxy: 'http://IP:PORT'

user.logOn({ accountName: 'USERNAME', password: 'PASSWORD' });

user.on('error', e => {

user.on('emailInfo', function(address, validated) {
    if (validated == true) {
        console.log('Yes', validated);
    } else (validated == false) 
        console.log('No', validated);
Link to comment
Share on other sites

  • 1 year later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...