swagger-api / swagger-api/swagger-codegen

[python]test-testlog-api failure

Open
#10,104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

HTTPSConnectionPool(host='qtest-db01.cec.lab.emc.com', port=443): Max retries exceeded with url: //oauth/token (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))

Swagger-codegen version

<qTest Manager API Version 8.6 - 9.9

Swagger declaration file content or url
Command line used for generation

run test_login_api.py with self.api.post_access_token(grant_type="password", username="xxx",password")

Suggest a fix/enhancement

I'm sure what causes this issue. what should I do to login

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

Start with test_login_api.py and the self.api.post_access_token(grant_type="password", username=..., password=...) call; inspect how this generated client handles the /oauth/token request and certificate verification. Reproduce the SSLCertVerificationError and establish a supported login path or certificate configuration, since the issue does not specify a fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.