Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck at "Retrieving trade confirmations..." when attempting to view trade confirmations #11

Closed
dyc3 opened this issue Dec 25, 2016 · 8 comments
Assignees
Labels

Comments

@dyc3
Copy link
Owner

dyc3 commented Dec 25, 2016

version: v0.2.0.0
output (verbose):

Action: trade
User: 
maFiles path: /home/carson/maFiles
Opening manifest...
Reading accounts from manifest...
Decrypting...
Decrypting...
Decrypting...
Refeshing Session...
Retrieving trade confirmations...
^C
@dyc3 dyc3 added the bug label Dec 25, 2016
@dyc3 dyc3 self-assigned this Dec 25, 2016
@dyc3
Copy link
Owner Author

dyc3 commented Dec 25, 2016

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  

@dyc3
Copy link
Owner Author

dyc3 commented Dec 26, 2016

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

dyc3 added a commit that referenced this issue Dec 28, 2016
@dyc3 dyc3 closed this as completed Dec 28, 2016
@melvyn2
Copy link

melvyn2 commented Mar 26, 2018

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.

@dyc3
Copy link
Owner Author

dyc3 commented Mar 26, 2018

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

@melvyn2
Copy link

melvyn2 commented Mar 27, 2018

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

@dyc3 dyc3 reopened this Mar 27, 2018
@dyc3
Copy link
Owner Author

dyc3 commented Mar 27, 2018

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.

@dyc3 dyc3 closed this as completed in 62a5817 Mar 27, 2018
@melvyn2
Copy link

melvyn2 commented Mar 28, 2018

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?

@dyc3
Copy link
Owner Author

dyc3 commented Mar 28, 2018

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants