linkedin / linkedin/pyexchange

no content with SSL: CERTIFICATE_VERIFY_FAILED error

Open
#53 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.