linkedin / linkedin/pyexchange
no content with SSL: CERTIFICATE_VERIFY_FAILED error
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 154
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
i try to list events.
If i've got an error of type CERTIFICATE_VERIFY_FAILED, the library failed :
File "/venv/lib/python2.7/site-packages/pyexchange/connection.py", line 67, in send
log.debug(err.response.content)
AttributeError: 'NoneType' object has no attribute 'content'
It works with : log.debug(err)
pyexchange.exceptions.FailedExchangeException: Unable to connect to Exchange: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
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
Read pyexchange/connection.py at line 67 and reproduce the event-listing request with a CERTIFICATE_VERIFY_FAILED error. Done means the original SSL failure is logged without causing a secondary NoneType AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100