question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selenium Wire not working with zyte-smartproxy-headless-proxy

See original GitHub issue

Dear selenium-wire,

I have been using proxy running in my localhost port 3128 and it is working in normal selenium.

I guess that the command: chrome_options.add_argument("--proxy-server=localhost:3128") for selenium-wire is not working.

Any idea of solving this?

Thanks a lot

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:63 (25 by maintainers)

github_iconTop GitHub Comments

2reactions
heisen273commented, Jun 17, 2021

@AndreuJove , @wkeeling had the same issue, managed to fix it by pip3 install -U cryptography. Cryptography module was outdated.

1reaction
ejuliocommented, Sep 28, 2021

hey everyone! I’m Júlio e developer from Zyte and I’ve been investigating the issue over the last couple of days. It is not related to our servers, but related to a library we developed to link the containers with our servers to store the scraping results.

In this library we call socket.setdefaulttimeout which seems to cause some issues with pyOpenSSL I’ve created an issue on our library to investigate if we can overcome it somehow https://github.com/scrapinghub/scrapinghub-entrypoint-scrapy/issues/62

In that issue you’ll find a link to the issue in pyOpenSSL and it seems they provide some approaches to fix the issue when using pyOpenSSL. Maybe you can check if it makes sense to add this fix to selenium-wire as well as it will fail in any case that the user called socket.setdefaulttimeout

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Smart Proxy Manager with Selenium Wire
Selenium Wire requires Selenium python libraries, WebDriver installed and an active Smart Proxy Manager account. Log in or signup here.
Read more >
Selenium with proxy not working / wrong options?
There are a couple of things you need to look back: First of all, there seems be a typo. There is a space...
Read more >
selenium wire headless的推薦與評價 - 韓流韓星資訊站
Selenium Wire not working with zyte-smartproxy-headless-proxy #322. Dear selenium-wire,. I have been using proxy running in my localhost port 3128 and it is ......
Read more >
selenium-wire 1.0.12 - PyPI
The requests are just a list and can be iterated (like in the opening example) ... If you ask too soon, then you...
Read more >
selenium-wire - Python Package Health Analysis - Snyk
Install using pip: pip install selenium-wire. If you get an error about not being able to build cryptography you may be running an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found