Skip to content
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

DVSA / Imperva - Access Denied - Error 15 #1364

Open
jiwaCh opened this issue Jun 22, 2023 · 1 comment
Open

DVSA / Imperva - Access Denied - Error 15 #1364

jiwaCh opened this issue Jun 22, 2023 · 1 comment

Comments

@jiwaCh
Copy link

jiwaCh commented Jun 22, 2023

When accessing driverpracticaltest website was loading fine initially. After a while, it has now lead to Error 15.

My project itself is rather long and hence will be impractical to paste below, but the code below will suffice as a valid example:

user_agent = "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
driver = webdriver.Chrome(options=options, version_main=113)
driver.execute_cdp_cmd('Network.setUserAgentOverride', {"userAgent":user_agent })
driver.get("https://driverpracticaltest.dvsa.gov.uk/login")

When running the script, I get the error 15
image

But, what's more amazing is, when running the same script on another local machine. No error 15 - can browse normally. I suspect This is temporary and will get banned later after long use.

I have also tested the theory with rotating ip address, with and without user-agent and the same pattern follows.

Will running a script inside a rotating vm (different vm per day) be a solution?

update: I have tired the propose solution by #690 and #986 and as rightly pointed by #1210 it no longer works

@kevinkavaliauskas
Copy link

I am experiencing the same issue. I believe we just have to wait until an update comes for undetected-chromedriver to bypass Imperva. This has happened previously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants