Code Monkey home page Code Monkey logo

Comments (17)

melvyn2 avatar melvyn2 commented on May 18, 2024

here it is:

Action: accept-all
maFiles path: path/to/maFiles
Opening manifest...
1 accounts loaded
Reading accounts from manifest...
Accepting Confirmations on user
Refeshing Session...
Session refreshed
Saving account user to number.maFile...
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 () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <6e9b92f0d119424382ef180639777acb>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00156] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x00375] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>: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 () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <6e9b92f0d119424382ef180639777acb>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00156] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x00375] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 <---

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

To be honest, I'm not quite sure whats causing this. I want to know if your updated session is being saved to disk. Run these commands and post their output:

  • md5sum path/to/number.maFile
  • steamguard-cli -v trade
  • md5sum path/to/number.maFile

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

Ok:

md5sum: da27b04dfc045f462aeb07d312ba3336 path/to/maFiles/number.maFile

Action: accept-all
maFiles path: path/to/maFiles/
Opening manifest...
1 accounts loaded
Reading accounts from manifest...
Accepting Confirmations on user
Refeshing Session...
Session refreshed
Saving account user to number.maFile...
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 () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <6e9b92f0d119424382ef180639777acb>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00156] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x00375] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>: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 () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 
   --- End of inner exception stack trace ---
  at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <6e9b92f0d119424382ef180639777acb>:0 
  at System.Threading.Tasks.Task.Wait () [0x00000] in <6e9b92f0d119424382ef180639777acb>:0 
  at SteamGuard.Program.AcceptAllTrades (System.String user, System.String passkey) [0x00156] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
  at SteamGuard.Program.Main (System.String[] args) [0x00375] in <c9b4adbb23d14efcafaf3c06134ccbfc>:0 
---> (Inner Exception #0) SteamAuth.SteamGuardAccount+WGTokenInvalidException: Exception of type 'SteamAuth.SteamGuardAccount+WGTokenInvalidException' was thrown.
  at SteamAuth.SteamGuardAccount+<FetchConfirmationsAsync>d__57.MoveNext () [0x0015f] in <2b9176aa3dc7472eb5981f87737f7e31>:0 <---

md5sum: 868f350b5501a7e12aabf2e9fa9de6ce path/to/maFiles/number.maFile

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

Does your maFile work with the latest version of SDA (1.0.9 at this time)?

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

SDA currently dosent work on my mac: it just freezes on startup.

from steamguard-cli.

alexmi1 avatar alexmi1 commented on May 18, 2024

Apparently it's an issue with SteamAuth which relied on extracting text from HTML via regex to process confirmations and Steam decided to change their descriptions.
Updating the SteamAuth submodule with the latest commits fixes this with very few changes needed.

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

Sorry for taking so long on this one, I've been on spring break and I was spending time with family. Thanks @amdev0 for the info, I'll do some testing on my end, (and I would like to hear from @melvyn2) before closing this.

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

Actually, when I update the submodule and build (cd SteamAuth; git pull origin master; cd ..; make), I get these errors (full log here):

Program.cs(664,73): error CS1061: Type `SteamAuth.Confirmation' does not contain a definition for `Description' and no extension method `Description' of type `SteamAuth.Confirmation' could be found. Are you missing an assembly reference?
/tmp/steamguard-cli/build/SteamAuth.dll (Location of the symbol related to previous error)
Program.cs(707,67): error CS1061: Type `SteamAuth.Confirmation' does not contain a definition for `Description' and no extension method `Description' of type `SteamAuth.Confirmation' could be found. Are you missing an assembly reference?
/tmp/steamguard-cli/build/SteamAuth.dll (Location of the symbol related to previous error)
Program.cs(711,63): error CS1061: Type `SteamAuth.Confirmation' does not contain a definition for `Description' and no extension method `Description' of type `SteamAuth.Confirmation' could be found. Are you missing an assembly reference?
/tmp/steamguard-cli/build/SteamAuth.dll (Location of the symbol related to previous error)
Program.cs(715,65): error CS1061: Type `SteamAuth.Confirmation' does not contain a definition for `Description' and no extension method `Description' of type `SteamAuth.Confirmation' could be found. Are you missing an assembly reference?
/tmp/steamguard-cli/build/SteamAuth.dll (Location of the symbol related to previous error)

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

Without any idea with what I was doing, I removed the offending lines, because I couldn't find any way to get the description of the trade in the latest steamauth, and it worked! Thank you @amdev0 !

from steamguard-cli.

alexmi1 avatar alexmi1 commented on May 18, 2024

Yes, they changed the Confirmation class so it no longer contains the description of a trade and that's what I meant with "very few changes needed". I don't know if there's another simple way of getting trade descriptions currently.
Anyway, glad it worked 👍

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

Thank you, both for helping out, I really appreciate it. Before I release a new version, I'm hoping to retain some usability by finding a replacement to the Confirmation.Description property that was removed from SteamAuth.

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

I've looked through their code, and I haven't found anything pertaining to a description of a trade... I actually haven't seen the lines in your program that rely on Confirmation.description come in to play, and saw no difference when I removed them. My opinion is that a release or pre-release that fixes a sort-of major problem is worth having, even if it removes a little bit of information. But that's just my opinion ;)

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

That makes sense. If I can't find an easy solution within a few hours, then I'll release a new version with the fix.

from steamguard-cli.

alexmi1 avatar alexmi1 commented on May 18, 2024

I agree this issue is a pretty big deal because it makes trading impossible and should be fixed as soon as possible. For the time being Confirmation.ConfType along with an ID like Confirmation.Creator could be used instead, just a suggestion.

from steamguard-cli.

melvyn2 avatar melvyn2 commented on May 18, 2024

Good to hear that 👍

from steamguard-cli.

dyc3 avatar dyc3 commented on May 18, 2024

This should be fixed in v0.3.5.0

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.