-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have Tesco changed their login #80
Comments
Yeah Tesco has stopped working for me for the last day or so also, getting a similar error message. |
odd, it's still working for me. I don't have it running all day every day tho, skipping nights |
Still working for me. I don't know if this is relevant, but the Tesco website was performing very oddly last time we placed an order. For instance, selected items were being added to the basket in twos and it was hard to knock this down to one. My wife swears that at the best of times stuff disappears from the basket, but this was much worse than usual. |
Tesco is still working for me and the most reliable one. Morrison and and Asda nearly always timed out for me, yet when i checked manually the response times were fine. |
Thanks guys for confirming, must be my end, I'll have a play later with different useragents see if that does anything. |
It's stopped working for me as well...
|
I get a similar but slightly different error when running on my MacBook:
|
Yep set a manual useragent in config.ini and it works fine again. They obviously have some sort of tracking of agents that aren't "normal"... and debian with chromium isn't well used is it?!.... Used this from issue #56 👍
|
Paul (sorry I closed the issue on you!) have you tried changing useragent?... looks like you just have a more verbose error level, but you have a login time out too... |
I've tried a different user agent and confirmed it's being used, but unfortunately am still blocked. Assume they have bot detection, or some basic WAF rules, that have now blacklisted the IP I am using. I can wget tesco.com but not the login page.. so it looks that the block is occuring at "https://secure.tesco.com/account/en-GB/login". I don't have loads of machines (or time at the moment), to try and circumvent the block. Feels like it's being done at IP level at the moment for me as changing user agent isn't affecting it. Of course you can block on other factors too. |
I managed to get it working again changing user agent. |
Same client connecting IP? |
I always use a VPN, change IP address almost every day. But today on the same IP address, this wasn't working, then started working after changing user agent. |
I can't even wget the homepage now: Resolving www.tesco.com (www.tesco.com)... 104.123.91.150 edit: managed to test from a different virtual machine on a different IP, same, blocked and times out after 30 seconds. Using:
|
I guess it's a good idea to only use the bot sparingly, they might notice and put blocks in place if people have it running all the time. |
Yes, that's possible, however I span up a VM in GCP and tried to wget the homepage and that refused to work too, completely vanilla. So maybe their WAF team are being super aggressive. Maybe someone is abusing this script. |
I think maybe something odd is going on with the config parsing. In my config I had this Useragent set:
But logging it to the console when the script runs seems so show it being truncated after the semi-colon:
Changing the useragent also worked for me, so I've had a go at implementing a random user agent string - this might be a good generic solution: #82 |
To be honest Paul I am running an older version of the code, as I had to fudge some of the sandbox stuff and the newer version took care of those arguments in a different way. For example in src/puppeteer-utils.js:
and in src/index.js:
Output confirms the right user agent is being sent, as it's retrieved from visiting google.com as an example before hitting tesco:
|
If I was their admins I would block all ips that are GCP, AWS or Alibaba... as that will not be real users... so I put a bitnami image on my machine at home. Also with VPN's get uk routing as they would probably block all known non UK IPs. |
Changing the user agent worked for me but my server is not on GCP or AWS. As @jpf198 suggests they may have blocked the large cloud platforms... @saqmaster have you tried running the script from a machine on your home network? |
I think I spoke to soon, I just check the script on my server and it's getting errors
It's still working from my local machine though. |
It's not working for me :(
But I am able to login from the browser. Maybe they are checking the user agent?? This helps, thank you!
|
@rgaufman Are you running it from a data centre or from your home network? Could you try this branch which sets a random user agent to see if it helps? https://github.com/paulmaunders/delivery-slot-bot/tree/random-usergent |
From home, setting a useragent works :) |
It looks like Tesco have blocked major cloud hosting platforms. In the short term, running it from your home network seems to work, in the longer term we could consider integrating Tor. |
works ok on the cloud hosting platform I'm using, wont mention tho, but it's also major |
Hi I have just tried this branch and it looks like it still gets an error although my my setup I get this error: TypeError: Right-hand side of 'instanceof' is not an object Thanks |
seems like this is being blocked with AWS hosts working from home PC . |
Seems like this stopped working? I'm getting this:
Is it still working for you guys? |
I got that error a couple of days ago, but it went away when I input a new random user agent in config.ini Mine is still working with a new user agent set. Think if you don't change it every so often it gets blocked. |
I tried changing the user agent, but it started to fail again, was working fine last week. Any ideas? <
|
the agent blocked errors I was getting had a time out error, but looks like
you have a password incorrect error... so probably not the same issues.
are you 100% sure your username and password are correct?
…On Fri, 26 Jun 2020, 08:19 Roman Gaufman, ***@***.***> wrote:
I tried changing the user agent, but it started to fail again, was working
fine last week. Any ideas? <
$ node delivery-slots.js
1593155900037 - Tesco - Fri, 26 Jun 2020 07:18:20 GMT
Logging in with new user session
error: Auth failed. Please check details are correct in config.ini
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5EGSYK2WULDTGOOCBDRYRDYLANCNFSM4NBB3FQQ>
.
|
Yes, 100%, I copy-pasted into the browser from the config file and it logs in successfully. Is it working for you?<
|
what machine you running it on and what internet connection. think we have
worked out they are blocking access from AWS, Azure and GCP, irrespective
of what agent you are presenting?
I'm running it from a bitnami debian template image on a machine at home
now.
…On Fri, 26 Jun 2020, 17:06 Roman Gaufman, ***@***.***> wrote:
Yes, 100%, I copy-pasted into the browser from the config file and it logs
in successfully. Is it working for you?<
error: Auth failed. Please check details are correct in config.ini
1593185700300 - Tesco - Fri, 26 Jun 2020 15:35:00 GMT
Logging in with new user session
error: Auth failed. Please check details are correct in config.ini
1593186000183 - Tesco - Fri, 26 Jun 2020 15:40:00 GMT
Logging in with new user session
error: Auth failed. Please check details are correct in config.ini
1593186300282 - Tesco - Fri, 26 Jun 2020 15:45:00 GMT
Logging in with new user session
error: Auth failed. Please check details are correct in config.ini
1593186600264 - Tesco - Fri, 26 Jun 2020 15:50:00 GMT
Logging in with new user session
error: Auth failed. Please check details are correct in config.ini
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5GQGWEQJSLITBI7MODRYTBP5ANCNFSM4NBB3FQQ>
.
|
Ah, weird! - When I try to login from my home EE connection, it doesn't work, but when I tether through my phone on an EE LTE connection it works! - I'm using a Macbook Pro at home in both cases. |
try logging in to the website normally from another machine or tablet from
your home ee broadband, see if it is the ip blocked or agent, or
combination of both....
…On Fri, 26 Jun 2020, 18:49 Roman Gaufman, ***@***.***> wrote:
Ah, weird! - When I try to login from my home EE connection, it doesn't
work, but when I tether through my phone on an EE LTE connection it works!
- I'm using a Macbook Pro at home in both cases.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5EHQNIY4KZG37NCGZTRYTNSZANCNFSM4NBB3FQQ>
.
|
My bot is still working, but I haven't had to use it for a few weeks as in my area tesco have gone back to releasing slots 3 weeks ahead at midnight, so I log on at midnight on a Tuesday and get a slot three weeks ahead. I think they stopped releasing them at midnight for a few months, but started doing it again a few weeks ago. I think they only release a small percentage of the slots at midnight and then release some during the day at random times. You can only change your tesco order until 11:45pm the day before your delivery, one delivery driver told me that their algorithm then calculates the weight of all the existing orders for the next day, if the van is still under it's weight limit they release another slot just after midnight for the same day. |
Hi guys, is this working for you at the moment? - last time I managed to get it working by using 4G tethering to my phone, as they blocked my home BT connection. But this trick isn't working anymore :( |
I've not used this for a few months now but just tested it for you. It's
failing for invalid credentials, i just double checked and i'm
definitely using the right ones. Talktalk ISP. Was working nicely a few
months back.
…On Thu, 24 Sep 2020 at 20:12, Roman Gaufman ***@***.***> wrote:
Hi guys, is this working for you at the moment? - last time I managed to
get it working by using 4G tethering to my phone, as they blocked my home
BT connection. But this trick isn't working anymore :(
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKYNBSSLNTXPN25DTOA2HK3SHOK3VANCNFSM4NBB3FQQ>
.
|
I have not used for a while too, but turned back on the VM today. Had aplay with various useragent strings and connectivty and looks like they may have changed the logon process? Some agents get a time out and other just get a failed. But can log on from a Chromium with the same useragent set as a custom; so either they have picked up a way of detecting the bot and blocking or they have changed the logon process. I have only dabbled in Puppet code, so wont attempt to fix, but might try and debug further. |
odd, I've had it running from the start and it still works for me, just is too noisy now |
what useragent text are you using?
j
…On Tue, 29 Sep 2020, 13:13 Andy Thompson, ***@***.***> wrote:
odd, I've had it running from the start and it still works for me
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5DDXRE75HAROIXY5LTSIHFM7ANCNFSM4NBB3FQQ>
.
|
Arrrrhhh looks like they have tweaked the reCaptcha tollerances..... |
actually, I just checked my logs and it's just intermittently working every few days, tho last was 22nd Sep |
I'm getting authentication failures now too, whereas previously I'd survived quite well when others were reporting problems. I've only done a couple of quick tests, since – probably like many other people – I've found it easy to get slots via the standard route.
|
I have tried many user agents strings: and most are not getting through:
;useragent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36"
;useragent = "Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B)
AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile
Safari/535.19"
;useragent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/73.0.3683.75 Safari/537.36"
useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0)
Gecko/20100101 Firefox/74.0"
The X11 one is the one on the machine itself, and that goes through without
issue when I log in in person, but seems it gets recaptcha'ed on the bot,
but cant get it to pop up a debug pic to confirm... :(
J
…On Thu, 1 Oct 2020 at 10:40, CharlesButcher ***@***.***> wrote:
I'm getting authentication failures now too, whereas previously I'd
survived quite well when others were reporting problems. I've only done a
couple of quick tests, since – probably like many other people – I've found
it easy to get slots via the standard route.
useragent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5DTDZTSZTHZ4VN5ZF3SIRFBHANCNFSM4NBB3FQQ>
.
|
Any update on this? - still not able to use with tesco :( |
think it is all down to recapcha, I'm going to install on my machine rather
than a vm and see what happens.
or learn puppet and get a screen grab out of the log on failure....
j
…On Mon, 9 Nov 2020, 16:50 Roman Gaufman, ***@***.***> wrote:
Any update on this? - still not able to use with tesco :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE3GG5GNPO3ZEQFEOFEBW63SPAMTNANCNFSM4NBB3FQQ>
.
|
Any update on Tesco logging in error? |
Any update please? - I miss this app :) |
Happy New Year!! Any update? |
I am getting errors on Tesco login, been working flawlessly up till now?
1589493023812 - Tesco - Thu, 14 May 2020 21:50:23 GMT Logging in with new user session Navigation Timeout Exceeded: 30000ms exceeded
The text was updated successfully, but these errors were encountered: