[GH-ISSUE #1131] Suggestion to avoid requests.exceptions.SSLError #1124

Closed
opened 2026-03-03 19:48:34 +03:00 by kerem · 2 comments
Owner

Originally created by @novitae on GitHub (Jan 30, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1131

Originally assigned to: @NghiaTranUIT on GitHub.

When proxyMan is running and a request is sent from python requests, you get the following error:

  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 517, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.HOST.com', port=443): Max retries exceeded with url: URL (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

Clicking on pause button in Proxyman stops the data to be added to the lists in the app, but doesn't stop the listening. It could be nice if this button could stops listening too so we don't have to quit completely Proxyman each time we send a request. Thanks !

Originally created by @novitae on GitHub (Jan 30, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1131 Originally assigned to: @NghiaTranUIT on GitHub. When proxyMan is running and a request is sent from python requests, you get the following error: ``` File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 517, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='www.HOST.com', port=443): Max retries exceeded with url: URL (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))) ``` Clicking on pause button in Proxyman stops the data to be added to the lists in the app, but doesn't stop the listening. It could be nice if this button could stops listening too so we don't have to quit completely Proxyman each time we send a request. Thanks !
kerem closed this issue 2026-03-03 19:48:35 +03:00
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 30, 2022):

Clicking on pause button in Proxyman stops the data to be added to the lists in the app, but doesn't stop the listening.

If you would like Proxyman to stop listening, you can toggle it at Tool -> Proxy Setting -> Override macOS Proxy. Or using OPTION+CMD+O as a shortcut.


Regarding the SSL Error from your python code, you have to tell your Python to use Proxyman Certificate. You can follow the Doc at https://docs.proxyman.io/debug-devices/python

<!-- gh-comment-id:1025141605 --> @NghiaTranUIT commented on GitHub (Jan 30, 2022): > Clicking on pause button in Proxyman stops the data to be added to the lists in the app, but doesn't stop the listening. If you would like Proxyman to stop listening, you can toggle it at Tool -> Proxy Setting -> Override macOS Proxy. Or using OPTION+CMD+O as a shortcut. --------------------------- Regarding the SSL Error from your python code, you have to tell your Python to use Proxyman Certificate. You can follow the Doc at https://docs.proxyman.io/debug-devices/python
Author
Owner

@novitae commented on GitHub (Jan 30, 2022):

amazing, thanks a lot !

<!-- gh-comment-id:1025160676 --> @novitae commented on GitHub (Jan 30, 2022): amazing, thanks a lot !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1124
No description provided.