oracle / oracle/oci-python-sdk
SSL Certifcate :- when we add SSL certifcate using multiprocessing we got "caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] or (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:2334)')" error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 474
- Forks
- 321
- Avg merge
- 23m
- Merged PRs (30d)
- 4
Description
Hi Team
i am using multiprocessing to add a certificate and update the listener.when i run with out multiprocessing its working fine.
but when i use multiprocessing i am getting following error.
when i run every time i got different error.
Error 1 ---- 'error': "HTTPSConnectionPool(host='iaas.us-ashburn-1.oraclecloud.com', port=443): Max retries exceeded with url: /20170115/loadBalancers/"+ocid+"/certificates (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_RECORD_MAC] sslv3 alert bad record mac (_ssl.c:2334)'),))"}, {'podname': 'emje-dev1', 'error': "HTTPSConnectionPool(host='iaas.us-ashburn-1.oraclecloud.com', port=443): Max retries exceeded with url: /20170115/loadBalancers/"+ocid+"/certificates (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))"}]
Error 2 ---- error': "HTTPSConnectionPool(host='iaas.us-ashburn-1.oraclecloud.com', port=443): Max retries exceeded with url: /20170115/loadBalancers/"+ocid+"/certificates (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:2334)'),))"}, {'podname': 'emje-test', 'error': "HTTPSConnectionPool(host='iaas.us-ashburn-1.oraclecloud.com', port=443): Max retries exceeded with url: /20170115/loadBalancers/"+ocid+"/certificates (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))"}]
Modal :-
certificate_data = oci.load_balancer.models.CreateCertificateDetails()
Method :-
create_cert = lb_client.create_certificate(certificate_data, pod_lb_details.id)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Python multiprocessing path that calls lb_client.create_certificate(certificate_data, pod_lb_details.id) for the OCI load balancer. Reproduce the call with and without multiprocessing, then compare the SSL, proxy, and WRONG_VERSION_NUMBER failures reported in the issue. Done means identifying a reproducible cause and documenting or correcting the multiprocessing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100