Azure / Azure/azure-devops-cli-extension

SSL Error

Open
#1,045 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

## Describe the bug

I've been hitting this SSL error. After googling around and doing some reading I have tried:
* Disconnecting from my companies VPN
* Setting environment varibles
** AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1
** set all_proxy=
** set HTTPS_PROXY
** set HTTP_PROXY
* `"C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe" -c "import requests; print(requests.get('https://login.microsoftonline.com/').status_code)"` which returns 200 so it at least connects....

**Command Name**
`az artifacts universal publish
Extension Name: azure-devops. Version: 0.13.0.`

**Errors:**
```
HTTPSConnectionPool(host='004vsblobprodeus2116.vsblob.vsassets.io', port=443): Max retries exceeded with url: /artifacttool/artifacttool-win10-x64-Release_0.2.172.zip?sv=2019-02-02&sr=b&sig=fO6Zsz64fzrc1yRig2B%2F7hKrVvRN6ZdsvxowFicenHc%3D&spr=https&se=2020-08-31T18%3A01%3A04Z&sp=r&P1=1598896564&P2=11&P3=2&P4=RLUIBRtY13i0cK%2ffhQRWN3ALtITGbNIytBozWe1q1OY%3d (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Traceback (most recent call last):
urllib3\urllib3\contrib\pyopenssl.py, ln 456, in wrap_socket
pip-install-9101vebg\pyOpenSSL\OpenSSL\SSL.py, ln 1934, in do_handshake
...
```

## Environment Summary
```
Windows-10-10.0.14393-SP0
Python 3.6.6

azure-cli 2.2.0

Extensions:
azure-devops 0.13.0

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.