-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Curl error thrown for http POST to /session #637
Comments
Same issue here but with a single domain only, so I always think this is a server issue. Can you give more insights on your workarounds so I can test? Probably related issues: #155 |
@fnagel So whenever we attempted to interact with chromedriver/panther, I setup exponential backoff for it to retry 3 times before moving on (this did not end up working at all). Like you said, most likely a server issue. For example, when creating the chrome client with panther, I set timeouts:
One thing I can add is that chrome is constantly making modification to how chrome/chromedriver operates so there are plenty of bugs that reflect this since chrome 126. The only actual workaround that I didn't post here was that I set the chromedriver version to a working one in our docker container which is the only thing that works. |
@Capn-Precious Thanks for the insight! Still struggling a little, but its already much better than before with longer timeouts. Sadly I have no control of the Chrome version (its "oldschool" hosting, not Docker or similar). |
@fnagel No problem! I'm not even sure if they intend to fix how headless performs in the shared chrome path anytime soon with the number of bugs that continue to pop-up with newer versions. They do have a way to utilize the old headless binary independently from the new chrome but it looks to only work for puppeteer. I haven't really gotten the chance to dive into that one yet though For reference: https://developer.chrome.com/docs/chromium/headless |
The following errors are happening in a production & staging environment when we attempt to screenshot with panther, set size for the window, or do anything that utilizes panther for web scraping. It seems like the connection drops or is lost between panther and php-webdriver.
Errors:
Current Workarounds:
Versions::
The text was updated successfully, but these errors were encountered: