Jump to content
McKay Development

CDN as an anonymous user


Recommended Posts

Currently looking to use the CDN functionality provided by steam-user, as described in doc/CDN.md, and currently having some trouble getting any data as an anonymous user. Current code:

steamUser.on('contentServersReady', function () {
    steamUser.getContentServers(function (err, servers) {
        console.log("Got servers!");
    steamUser.getManifest(1, 1, 'Manifest GID', function (err, manifest) {

I changed my appid, depotid, and manifest guid here for identification reasons. Manifest is `undefined`, and the error is below


{ Error: Fail
    at Object.exports.eresultError (root\node_modules\steam-user\components\helpers.js:73:12)
    at root\node_modules\steam-user\components\cdn.js:122:21
    at Object.cb (root\node_modules\steam-user\components\messages.js:160:4)
    at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:170:28)
    at SteamClient.handlers.(anonymous function) (root\node_modules\steam\lib\steam_client.js:259:10)
    at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:157:26)
    at emitOne (events.js:116:13)
    at Connection.emit (events.js:211:7)
    at Connection._readPacket (root\node_modules\steam\lib\connection.js:50:8)
    at emitNone (events.js:106:13) eresult: 2 }

I'm thinking this is something to do with being an anonymous user who doesn't own the appid x, and therefore can't access the depot or manifest. I didn't see anything like "anonymous usage" in the steampipe tab that may allow something like this.


Any help would be appreciated, thanks!

Link to comment
Share on other sites

Thanks for the help. Have any other idea for anonymous usage? I saw "Note that dedicated server tools will be available to all accounts regardless of app ownership" in Steamworks and attempted downloading a build from that app but the same issue arose.


The only possible option I see would be logging in with an account with the app in their library, however, that's probably too insecure for my use case (standalone exe to download these files).

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