Jump to content


Photo
Question

Error: Not Logged In

node.js node-steamcommunity

Best Answer Dr. McKay , 15 May 2018 - 11:51 AM

It's coming from whatever you tried to do that failed because you weren't logged in. The sessionExpired event gets emitted after "Not Logged In" gets returned from some request you made. It doesn't proactively check.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 manic

manic

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 15 May 2018 - 11:35 AM

Attached File  err.PNG   28.23KB   0 downloads

I get this error every so often, I don't know where it's coming from so I don't know how to log in once it happens. This isn't part of the sessionExpired event, as I have this in my code:

community.on("sessionExpired", function(err) {
    console.log("## Session Expired, relogging.");
    client.logOn(logOnOptions);
});

help?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,751 posts

Posted 15 May 2018 - 11:51 AM   Best Answer

It's coming from whatever you tried to do that failed because you weren't logged in. The sessionExpired event gets emitted after "Not Logged In" gets returned from some request you made. It doesn't proactively check.



#3 manic

manic

    Newbie

  • Member
  • Pip
  • 5 posts

Posted 15 May 2018 - 12:22 PM

It doesn't emit sessionExpired after this though...

 

edit: nvm i'm dumb


Edited by manic, 01 June 2018 - 01:17 PM.






Also tagged with one or more of these keywords: Question, node.js, node-steamcommunity

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users