Code Monkey home page Code Monkey logo

Comments (8)

dyc3 avatar dyc3 commented on May 17, 2024

After waiting until the timeout, I got this exception:

Unhandled Exception:
SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount.FetchConfirmations () <0x405bbfd0 + 0x004eb> in <filename unknown>:0 
  at SteamGuard.Program.processConfirmations (SteamAuth.SteamGuardAccount account) <0x4053bc20 + 0x0009b> in <filename unknown>:0 
  at SteamGuard.Program.Trade (System.String user) <0x40506590 + 0x001b3> in <filename unknown>:0 
  at SteamGuard.Program.Main (System.String[] args) <0x40503d50 + 0x00877> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount.FetchConfirmations () <0x405bbfd0 + 0x004eb> in <filename unknown>:0 
  at SteamGuard.Program.processConfirmations (SteamAuth.SteamGuardAccount account) <0x4053bc20 + 0x0009b> in <filename unknown>:0 
  at SteamGuard.Program.Trade (System.String user) <0x40506590 + 0x001b3> in <filename unknown>:0 
  at SteamGuard.Program.Main (System.String[] args) <0x40503d50 + 0x00877> in <filename unknown>:0  

from steamguard-cli.

dyc3 avatar dyc3 commented on May 17, 2024

Ok, figured it out. account.RefreshSession() in static void processConfirmations() is failing, and its not requiring a re-login

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 17, 2024

I'm still having this issue. Didn't pop up until recently, was working before. Tried the latest version cloned from github, built in VS community and still got the issue.

from steamguard-cli.

dyc3 avatar dyc3 commented on May 17, 2024

@melvyn2 Are you getting the same exception as above? Please post the full stack trace

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 17, 2024

Sorry for the late response:

Action: accept-all
User: 
Passkey: 
maFiles path: maFiles/
Opening manifest...
Reading accounts from manifest...
Decrypting...
Accepting Confirmations on user
Refeshing Session...
Fetching Confirmations...

Unhandled Exception:
System.AggregateException: One or more errors occurred. ---> SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x000e8] in <cff33b100b0248d5a2987c2f1241e0be>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <2722d81e5b26475cb5f475fea055f291>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <2722d81e5b26475cb5f475fea055f291>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <2722d81e5b26475cb5f475fea055f291>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00109] in <1a7161e94ad945cc8a2119724702b0f6>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x0036f] in <1a7161e94ad945cc8a2119724702b0f6>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x000e8] in <cff33b100b0248d5a2987c2f1241e0be>:0 <---

[ERROR] FATAL UNHANDLED EXCEPTION: System.AggregateException: One or more errors occurred. ---> SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x000e8] in <cff33b100b0248d5a2987c2f1241e0be>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <2722d81e5b26475cb5f475fea055f291>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <2722d81e5b26475cb5f475fea055f291>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <2722d81e5b26475cb5f475fea055f291>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00109] in <1a7161e94ad945cc8a2119724702b0f6>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x0036f] in <1a7161e94ad945cc8a2119724702b0f6>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x000e8] in <cff33b100b0248d5a2987c2f1241e0be>:0 <---

from steamguard-cli.

dyc3 avatar dyc3 commented on May 17, 2024

Found the issue. We weren't prompting the user to log in again if refreshing the session fails in accept-all action. Will publish new build momentarily.

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 17, 2024

Still getting the error; by the way, this was also happening on the trade command: it's just that the stack trace I posted was for accept-all. BTW, I had to comment out line 145 in Program.cs, because it was giving me tons of error due to mismatching quotes. I couldn't find how to fix them (they seemed matched to me). Could you look into this?

from steamguard-cli.

dyc3 avatar dyc3 commented on May 17, 2024

@melvyn2 I'd like to to move this to a new issue because there seems to be something else wrong, go post the full terminal output with -v in #28

from steamguard-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.