For the Xenial distribution, there are some fixes needed, as PlatformIOs urllib3 depends on newer SSL libs.
So just get an older urllib3 implementation via PIP and copy over to PlatformIO.
set up a Python container first
cd ./workspace
echo sudo python -c "$(curl -fsSL [https://github.com/platformio/platformio-core-installer/raw/develop/get-platformio.py](https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py))"
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
sudo apt update
sudo apt upgrade -y
echo "removing PlatformIO's urllib3 it complains about Xenial OpenSSL version"
rm -rf /home/cabox/.platformio/penv/lib/python3.8/site-packages/urllib3/
pip3 install "urllib3 <=1.26.15"
cp -a /home/cabox/.pyenv/versions/3.8.7/lib/python3.8/site-packages/urllib3 /home/cabox/.platformio/penv/lib/python3.8/site-packages/
pio
Host host29.codeanyhost.com
IdentityFile ~/.ssh/codeanywhere
User cabox
Port 49279
UpdateHostKeys no