Comments (8)
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.
Ok, figured it out. account.RefreshSession()
in static void processConfirmations()
is failing, and its not requiring a re-login
from steamguard-cli.
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.
@melvyn2 Are you getting the same exception as above? Please post the full stack trace
from steamguard-cli.
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.
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.
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.
@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)
- Cannot import mafile from SDA HOT 4
- Chinese phone numbers might not receive verification code if language variable is not set
- arch linux: use `-C target-cpu=native` in PKGBUILD HOT 2
- confirmation error HOT 2
- Automatically retry submitting confirmations
- Support for importing Winauth files HOT 3
- "Unexpected error when trying to log in." or "Failed to link authenticator. Account has not been linked. Invalid padding" HOT 2
- Can't add accounts just like SDA HOT 3
- binary aur package
- Importing Steamguard-* files from Android HOT 9
- Error accept confirmations HOT 2
- `.deb` in releases is not installable on debian 11 because of missing zstd support in dpkg HOT 7
- Steam no longer provides access token upon first login, so logging in fails HOT 5
- ERROR - Pipe closed. (os error 232) HOT 7
- Schema migration fails due to missing_field server_time HOT 5
- steamguard-cli trade show nothing HOT 4
- can't setup guard HOT 2
- Confirmation submit
- Thank You!
- Show date & time for each confirmation request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steamguard-cli.