himanshub16 / ProxyMan

Configuring proxy settings made easy.
https://github.com/himanshub16/ProxyMan/releases/latest/
MIT License
683 stars 108 forks source link

TLS handshake error on sudo apt update #79

Closed aswanthkoleri closed 4 years ago

aswanthkoleri commented 5 years ago

Screenshot_20190316_214551 Getting TLS handshake error on sudo apt update. Was not able to add some ppa repositories. After some searching found out that the extra s in https://

echo "Acquire::Https::Proxy \"https://${stmt}${https_host}:${https_port}\";" \
         >> "$CONF_FILE"

of the apt.sh was creating the problem. Screenshot_20190316_215134

Found the problem via this answer : https://askubuntu.com/questions/1014973/apt-update-could-not-handshake-an-unexpected-tls-packet-was-received/1014978

My OS is Kubuntu 18.04 not sure whether other Linux OS's will face the same problem or not.

Ruben-VV commented 5 years ago

added pull request #86