Python Forum
MechanicalSoup - SSL: CERTIFICATE_VERIFY_FAILED behind proxy
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MechanicalSoup - SSL: CERTIFICATE_VERIFY_FAILED behind proxy
#1
I am trying to submit a form and process the response using mechanicalsoup.

I am able to do it successfully without a proxy. But when I try to run the same code behind the proxy I am getting the following error
requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)

I have created the proxy dict and assigned it as

browser = mechanicalsoup.StatefulBrowser()
browser.session.proxies = proxies
browser.open(url)

Please guide me where am I going wrong.

Thanks.

Regards,
Subramanian S.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to get around SSL: CERTIFICATE_VERIFY_FAILED sawtooth500 3 259 Apr-16-2024, 01:28 PM
Last Post: sawtooth500
  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10) rcmv 4 3,690 May-10-2022, 01:18 PM
Last Post: rcmv
  SSL: CERTIFICATE_VERIFY_FAILED error connecting to SignalR Aiswarya 3 5,655 Jul-31-2017, 12:34 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020