dyhli / bot-tf-issues

Issue tracker for Bot.tf
3 stars 0 forks source link

Bug: Withdraw Items function won't always show 2FA code entry box, shows error instead #71

Closed spaceboy909 closed 5 years ago

spaceboy909 commented 5 years ago

Expected behavior

When clicking the 'withdraw' button, if the 2FA time window has elapsed, the system should popup a 2FA code entry box and request a new code

Current behavior

Since last patch, the system does not always show the 2FA box when it is needed for input. Instead, when the green button is pressed, it often shows a red error box, telling the user to "enter the correct code". Item withdrawal is impossible through this function when this happens. This seems to be an intermittent problem.

Possible solution

Self explanatory

Steps to reproduce

  1. You may have to wait until the last 2FA code window expires, and requires the user to enter a new code
  2. Select an item to withdraw and click the green button
  3. See if the 2FA code entry box pops up, or if a red error box is shown instead
  4. Restarting the bot may or may not temporarily resolve this

Detailed description

The first time, I tried restarting the bot and it started working normally again. However, subsequent times the problem occurred, a restart did not fix it. This bug has only shown up since the last announced patch. Opening a standard trade offer and inputing the 2FA code in that still works fine.

dyhli commented 5 years ago

I can't reproduce this issue, latest patch didn't touch any of the 2FA things (or any dependent code that could affect it), so are you sure it's not something on your side?

spaceboy909 commented 5 years ago

I don't see how it could be something on my end, but I guess I can't totally rule it out. In any case, it has been several says since I last saw the bug, so not a big deal at this point. Just a rare fluke, I guess.

dyhli commented 5 years ago

Cool, closing this issue.

Feel free to reopen the issue if it persist.