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) {
console.log(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!