wandermaus Posted May 14, 2022 Report Posted May 14, 2022 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? Quote
Dr. McKay Posted May 14, 2022 Report Posted May 14, 2022 This is likely the same issue as this thread: node-csgo-cdn likely needs to specify the branch name (public). Quote
wandermaus Posted May 14, 2022 Author Report Posted May 14, 2022 Thank you for your fast answer. This was the Issue. But, why did it work for the couple last months? Quote
Dr. McKay Posted May 17, 2022 Report Posted May 17, 2022 Valve made a change on the server side. 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.