Jump to content
McKay Development

HTTP error 401 when trying to download from depot


wandermaus

Recommended Posts

I use node-steam-user and node-csgo-cdn. I had the same Issue as described in this post. Fixed it with this pull request.
My application worked perfectly fine until this morning. When "node-csgo-cdn" trys to download the latest files from the depot,
it throws following error.

Quote

node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^
OperationalError: HTTP error 401
    at ClientRequest.<anonymous> (node_modules\steam-user\components\cdn.js:572:13)
    ... 9 lines matching cause stack trace ...
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  cause: Error: HTTP error 401
      at ClientRequest.<anonymous> (node_modules\steam-user\components\cdn.js:572:13)
      at Object.onceWrapper (node:events:646:26)
      at ClientRequest.emit (node:events:526:28)
      at HTTPParser.parserOnIncomingClient (node:_http_client:618:27)
      at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17)
      at Socket.socketOnData (node:_http_client:482:22)
      at Socket.emit (node:events:526:28)
      at addChunk (node:internal/streams/readable:315:12)
      at readableAddChunk (node:internal/streams/readable:289:9)
      at Socket.Readable.push (node:internal/streams/readable:228:10)
      at TCP.onStreamRead (node:internal/stream_base_commons:190:23),
  isOperational: true
}

When trying to call the url manually, for example http://cache4-fra1.steamcontent.com/depot/731/manifest/2494342422876109608/5 I get a 401 error. 
 

Did steam change something related to CDN, depots?

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.

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

Loading...
×
×
  • Create New...