Closed sundulgan closed 6 months ago
error while using QR to login tele
Hello,
Are you to to date ? if not do this in in the folder HotWalletBot git pull
Can you rerun ./install.sh and let me know if there are any errors?
How did you manage the other accounts?
Can you tell me more about the versions you're using? Your OS, the version of your ChromeDriver, and your Chrome or Chromium browser?
Run the following commands: lsb_release -a chromedriver --version chromium --version
Hi,
Thank you @Wellynounet for showing the first steps to debug the issue further.
@sundulgan - sorry to hear you're having problems. The second screenshot tells us that the script could see no QR code to interact with, and in the first screenshot did not find the element identified by //div[@class='input-field-input']//span[@class='i18n']
. However, I just checked on Telegram Web and these are still the correct XPaths.
I noticed you already have the debug setting on - so if you navigate to the folder "screenshots" and in your example "BNB-Cold:cold_3166", or any of the wallet names you used where it failed to connect with telegram? You should see some jpegs like this:
Screenshot name: Step 01 - Initial QR code.png
Screenshot name: 02-switch to log in by phone number.png
Screenshot name: 03-update users country.png
Please share the JPG screen captures so we can help further.
One final thought, and at the risk of making assumptions, there is a possibility that you are not seeing the login screen because you previously logged in correctly, but that it didn't finalize the setup somehow.
If you see a screen like this:
then please check your folder selenium/BNB-Cold:cold_3166
it should have a file called cookies.json
in that folder. If it's missing (because the installer crashed before the end maybe. You can just create an empty file named cookies.json
and when you run it in PM2 or the command-line, it will recognize that it's an existing session and start to claim.
Why is it that after pressing the next button the storage_offline button appears? i think this is problem in otp
Hi,
So the issue is your telegram account is not working - after entering the Country Code and Phone number, you're getting blocked from making a new login by the "Storage Offline" message.
You'll have to resolve to be able to log in via web.telegram.org before the script will work.
When I was testing I hit this message quite a lot (repeatedly login in when it was limited to 20 tries per day. Once this is resolved we can try again :)
Once the issue is cleared and you are able to log in again, after logging in, you can save the Telegram session, so you'll only need to authenticate the once :)
oke thank u mate , btw u have code to automate airdrop tap tap or click click system like notcoin? which can directly hit the api endpoint?
Hi Sundulgan,
I don't have that kind of airdrop tap system as yet, but thanks for the suggestion. If I'm honest, it's not really on my "to-do" list with this project. I focus on simulating human-like interaction with the games via a web browser - I found this approach, while not perfect, generally avoids detection by the various "anti-bot" detection used by the developers. For that reason, my next plan is to add a few more games, and update the videos and documentation in the next two weeks :)
Hi Sundulgan,
Telegram changed some of their log in XPATHs, which I have corrected and uploaded - but I found an interesting fact!
Reusing a previous wallet name for a Telegram Login gave me a "STORAGE_OFFLINE" error, even though I can log in with Telegram Web. However, if I start a "virgin" session, it works just fine. I added extra checks in the script to output this to the console. But potentially, if you run the commands below, you might just find it works!:
rm -rf selenium/BNB-Cold:cold_3166
./launch.sh cold BNB-Cold:cold_3166