net::ERR_HTTP2_PROTOCOL_ERROR via PlayWright #2051
-
I have a watch that used to work, that checks my local supermarket search results to see if my favourite coffee is on sale. Error is: Watch URL: https://www.countdown.co.nz/shop/searchproducts?search=farmers%20origins%20india%20espresso ChangeDetection docker version: v0.45.8.1 I've tried routing Playwright via a local proxy - same result. No idea what else to try. Hoping someone can help! TLDR It's a possible anti-robot trick, see the recommended answer |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 14 replies
-
Also experiencing this same issue. Wondering if you ever found a fix? |
Beta Was this translation helpful? Give feedback.
-
Could anyone reading this try and perform |
Beta Was this translation helpful? Give feedback.
-
I ended up resolving this error last night by:
|
Beta Was this translation helpful? Give feedback.
-
This seems really relevant: https://lwthiker.com/networks/2022/06/17/http2-fingerprinting.html |
Beta Was this translation helpful? Give feedback.
-
The response from @kevindelaney solved it for me, specifically the User-Agent header:
Unless @dgtlmoon comes up with something extra/different based on the
I got these values from my browser dev mode, so they are exactly my current interactive settings. |
Beta Was this translation helpful? Give feedback.
-
It's also possible to set |
Beta Was this translation helpful? Give feedback.
-
Encountered the same issue with change detection 0.45.14 and the sockpuppetbrowser on tesla.com |
Beta Was this translation helpful? Give feedback.
-
Just bought the subscription to make my work less time consuming, now I get this error all the time |
Beta Was this translation helpful? Give feedback.
-
TLDR - It is because of their anti-robot protection - I am also having this issue with disney's website: URL: https://disneycruise.disney.go.com Advanced Request Headers:
docker-compose:
The visual filter selector will work but not the browser steps. Need to be able to login... |
Beta Was this translation helpful? Give feedback.
-
Added an user agent based on @kevindelaney recommendation under Request - Request headers e.g.
Worked for me against Ticktek website, which I am certain there is bot protection enabled. |
Beta Was this translation helpful? Give feedback.
TLDR - It is because of their anti-robot protection - I am also having this issue with disney's website:
URL: https://disneycruise.disney.go.com
Playwright Chromium/Javascript via 'ws://playwright-chrome:3000?stealth=1&--disable-web-security=true'
Advanced Request Headers:
docker-compose: