hyt47 / SteamDesktopAuthenticator-Mod-47

45 stars 6 forks source link

Convert Mini version to XP. Problem Trade confirmation list empty #20

Closed jackqc closed 6 years ago

jackqc commented 8 years ago

Hi. Anyone else having this problem ... I send a trade to move over some cards to a friend, Steam states correctly that mobile confirmation is pending, but when I check my desktop authenticator, my confirmation list is empty. I can try refresh, cancel and create the trade again or wait - it just doesn't appear. I'm using the latest version 1.0.7.5 for XP.

Kasetto commented 8 years ago

Had same problem like You, on Summer Sale!!! :/ Remove authenticator from Steam and add it one more time. I know, there will be a few days couldown :/ But only that solution helped me.

BTW i asked steam support but not received answer... BTW2 i tryed two different SDA with and without mode 47. IMO it was Steam problem. PS. Wait a bit (2-3 days) or do like I done.

jackqc commented 8 years ago

According to steamstat.us player inventories are currently "delayed" ... maybe that's the reason why. I'll cancel the trade again once it's back to normal if it doesn't help I'll do as you say ... it's very inconvenient though.

Update: Steam service seems normal again, but it's still not working. Also both of my Steam accounts seem to have this issue, so it's unlikely that removing the authenticator and adding it once more will fix it. Guess that's bye bye trading cards.

Update2: I removed the authenticator and added it again, just like Kasetto suggested. It's still not working. It does work with the Jessecar96/SteamDesktopAuthenticator version under Win7, so I guess it's an issue with the XP mini version, which is bad for me, because I need a working solution for XP, so I don't always have to reboot my system to Win7 (XP runs under virtualbox, win7 doesn't).

cromwell221 commented 8 years ago

Hello. No trade confirmation window here too :( mini for XP

Papitow commented 8 years ago

Well, my issue is similar, when i put some items on the market, it says "waiting for confirmation" on steam market's page, but when I go to SDA to confirm there is nothing there, and I get this error on SDA's trade confirmation window: "You've made too many requests recently. Please wait and try your request again later."

hyt47 commented 8 years ago

Try 'Restarting the app', or 'login in again' or 'force session refresh'. I don't think u need to remove and readd the authenticator data. For "You've made too many requests recently" - go to settings and increase: Periodically check for new confirmations to a bigger number. I use 30 sec.

jackqc commented 8 years ago

Hi, I installed the latest update (1.0.7.6 Mini for XP), but the problem persists, the confirmation list is still empty. "Force session refresh" gives a popup with an error message "Failed to refresh your session. Try again soon".

jackqc commented 8 years ago

I just noticed something very interesting: while my SDA confirmation list is still empty under Win XP, copying over the whole folder to my linux partition and running it with mono, seems to work just fine. I can only conclude, the app itself and my configuration seems to working, but something under Win XP, is blocking confirmations. As my Win XP is running on Virtualbox, there's no firewall, so it shouldn't be a firewall issue, everything else (browser, Steam client and so forth) also has full internet access.

hyt47 commented 8 years ago

Hi, I tested the XP version on windows 7 and it works. I hope u know that the authenticator will work after 7 days if it's new. Check your firewall

hyt47 commented 8 years ago

Disable the firewall for a quick test, anyway the app works... Good luck

hyt47 commented 8 years ago

i'll run a test on xp

jackqc commented 8 years ago

It does run great with mono though, you could almost advertise it as a linux application :-)

jackqc commented 8 years ago

Just the shutdown messages are a bit "extensive" when running it with mono: about a few hundred lines like those: "at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00374> at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) <0x0001f> at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x0001f> at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00cf3> at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x00057> at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00033> at Steam_Desktop_Authenticator.Program.Main () <0x013bf> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x000ba>"

jackqc commented 8 years ago

I just wanted to say, if there's anything I can do to help, just let me know. :-) Also,  thanks for looking into it, it's very much appreciated. The fact, that the app works with mono (I'm not sure, if you're familiar with mono on linux - basically it's an emulator for the .net api) ... so perhaps something's not working with the .net framework under XP? , which would explain why it's working with mono (and probably Win7). It's just strange, the app used to work fine, until a few weeks ago, I haven't updated or changed anything on XP.

hyt47 commented 8 years ago

I don't know how to fix it for Xp. It seems there is a problem somewhere in the code. Session refresh is not working & I think that prevents Trade confirmation list to show the confirmations . Tutorial convert Mini version to Xp.txt might be incomplete, I used the error log to find and patch the code that was not compatible with .net 4 (xp). If a solution is not found I will have to discontinue the Xp version.


I tested all versions of SDA 47 on Ubuntu with mono:

jackqc commented 8 years ago

Hi,

I can confirm your test on Linux Mint 17.3 with mono (Stable 4.6.2.7/08fd525) ... both SDA47 Mini and SDA47 Mini for XP work as you said, trade confirmations and all. The full version obviously needs more .net than mono can handle (for the confirmation window at least - as you said the app itself for the authenticator codes also works).

My only issue is the rather extensive error stack when closing the application. I've attached a full logfile of the errors, perhaps you can look into it? It does not seem to affect functionality, though. log.zip

Again, what's really strange is, that the XP version used to work until a few weeks ago. No update on my Win XP or SDA, it just stopped working.

hyt47 commented 8 years ago

Yes, that is strange, I tested the versions for Xp on Xp from v1.0.7.6 to v1.0.4.0 Force session refresh - not working
Confirmation List - is empty

I was expecting to find a version that worked and compare the code, to find the problem. I don't know whats changed on XP systems. My Xp is the same - no system updates.


I'm new to Linux, On Ubuntu I didn't get any error. Version Ubuntu 16.04.1 LTS amd 64 bit (used with 1GB ram on VMware)

Your error may be because of Linux Mint 17.3 compatibility with Mono.

I can check if I get the same error on Linux Mint 17.3 , but I need the exact EDITION linuxmint.com/release.php?id=26 What is your Edition, is it 32 or 64 bit, can u give me a download link?

jackqc commented 8 years ago

I'm using the 64bit XFCE edition ... (https://www.linuxmint.com/edition.php?id=214) However, Mint is based on Ubuntu (on 14.4/trusty to be exact, which may be older than what you used for testing with Ubuntu), so it might make a difference, if you used a 64 or 32 bit system, but most likely it depends on which version of mono you're using. I don't use the version shipped with the system but installed a newer one, which was recommended for Archi's Steam Farm. My version of mono is Stable 4.6.2.7/08fd525 - do you have a different one on Ubuntu?

As for XP, I admit, I never check for updates as long as SDA works. I have been using v1.0.5 for months, until the day when I filed this issue, it just stopped working, no changes were made on SDA or XP. It's really strange if the problem's in the SDA code, it shouldn't have worked before, right?

hyt47 commented 8 years ago

Yes u are right, it shouldn't have worked before.

cmd: mono --version Mono JIT compiler version 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 14 12:30:00 UTC 2016)

hyt47 commented 8 years ago

I tested the mini Versions on Linux Mint 17.3 64bit XFCE & I didn't get an error at exit. Mono version 4.6.2 Stable 4.6.2.7/08fd525

jackqc commented 8 years ago

Hmm, either I'm missing some package in my mono installation or I'm getting this error because of my settings in the application. I noticed the error is different when I change the "System Tray" option in the Settings to "none" instead of "close button minimizes to tray". Maybe you can make something of this error? I've attached another log, maybe you can take a look at it? log2.zip Alternatively I can always just Ctrl+C with mono on the terminal I used to start the app to close it. It may not be the most elegant way to close it, but it doesn't seem to harm the application either.

hyt47 commented 8 years ago

Tested:


:blue_book: Settings for Linux: System Tray: Select > none (default action for button Close and Minimize ) ( to be able to close the app from task bar (Right Click > Close) )

System Tray: Uncheck > Hide Taskbar Icon, Show the icon only on System Tray System Tray: Uncheck > Start minimized to System Tray


Conclusion

Use :blue_book: Settings for Linux:

jackqc commented 8 years ago

Wow, you really did some extensive testing :) Let me just add, that when you double-click the .exe file, it gets started directly (using mono) on X11 without being forked from a terminal. Consequently there's no terminal to show STDOUT and STDERR, messages, which doesn't necessarily mean that there are no errors, they're just not shown.

Also what do you mean with "shortcut doesn't work"? I just created a symlink (ln -s "Steam Desktop Authenticator 47.exe" sda), which allows me to run "mono sda" just like using the .exe file - I do not notice any difference. Also not sure what "eclipse >/dev/null" is supposed to do, in my case, it just starts the eclipse developer environment...

Again, thanks for all your time and efforts, all in all it works like a charm :)

hyt47 commented 8 years ago

"shortcut"

Right Click on Steam Desktop Authenticator 47.exe > Send To > Desktop (Create Link) I was expecting this Link (Shortcut) to work, but it does nothing.

Symlink

Symlink is the way to go, but because I'm new to Linux, I din't know about this feature.

"eclipse >/dev/null"

I was trying to suppress any error log, for me it worked, and it din't open eclipse developer environment I guess is not a good command for what I wanted.

Error log at Exit

It seems there is an error depending on how the app is closed That doesn't matter as long as the app exits quickly. That's way I was trying to suppress the error Log.

jackqc commented 8 years ago

Ah okay :-) For suppressing error messages you'd redirect the output, "mono sda 2>/dev/null" or even "mono sda &>/dev/null" (assuming that sda is a symlink to the .exe). I doubt that any way of suppressing the messages would reduce the time for shutdown. As far as I know, the ~20 sec delay is caused by a stack overflow and probably could only be fixed by changing what's causing it in the code. Maybe something small where Windows is more lenient than linux/mono. I was trying to debug it according to this example here: http://stackoverflow.com/questions/13682308/stack-overflow-in-unmanaged-ip-0x26eb76-fault-addr-0xbf808ffc#13683930 I'm not much of a programmer and gdb just complained about having no debugging data. And yes it very much depends on how you exit the application: there's a very small error or even none at all when closing the app with "X", while the stack overflow seems to be caused by specifically selecting Quit" from the menu.