Jump to content
McKay Development

Port is ignored for HTTP proxies


Recommended Posts


I am unable to use the same proxies I use for steam-user with steam-session. 
My HTTP proxies do not use port 80 and as soon as I'm creating a LoginSession object using

new SteamSession.LoginSession(SteamSession.EAuthTokenPlatformType.SteamClient, { httpProxy: "http://user:pass@ip:port" })

and calling startWithCredentials() this error fires:

Error: connect ECONNREFUSED ::1:80
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
  errno: -111,
  syscall: 'connect',
  address: '::1',
  port: 80,
  proxyConnecting: true


Is this intended behavior? The same proxy works without any problems with steam-user and steamcommunity.
If I provide a socks proxy this problem does not occur.

Sorry if I missed something in the documentation.


Edit - Versions:
node: 18.16.0 (but the same behavior appears on 19.something)
steam-session: 1.2.2
OS: Arch Linux 6.3.3-arch1-1

steam-user (for comparison): 4.28.4

Edited by 3urobeat
Added versions
Link to comment
Share on other sites

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...