Hello,
I’m still using pio version 3.6.7 - I have docker containter build with my CI.
Recently it stopped working - also locally Im not able to download dependencies because of no internet issue. Has anything changed ? Is there a way to fix this ?
pio platform install atmelavr --with-package=uploader --with-package=framework-arduino-avr
PlatformManager: Installing atmelavr
atmelavr @ 2.2.0 is already installed
PackageManager: Installing tool-micronucleus @ ~1.200.0
Error: You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.
yes Im using version 3.6.7 - because since version 4 my code is not able to finish compilation, it’s falling into some kind of loop and never finishes, so Im keep using version which works for me.
Everything was working fine - but stopped some time ago - even when I run command to install avr locally on my laptop (also with version 3.6.7) its failnig with same error which I get on gitlab
pio platform install atmelavr --with-package=uploader --with-package=framework-arduino-avr
Error: You are not connected to the Internet. If you build a project first time, we need Internet connection to install all dependencies and toolchains.
RUN sed -i “/^PIO_PATH/c\PIO_PATH=‘platformio’” /workspace/upload/upload.sh
RUN sed -i “/^BASE_PATH/c\BASE_PATH=‘/workspace/modules’” /workspace/upload/upload.sh
RUN sed -i “/^LIBRARIES/c\LIBRARIES=‘/home-firmware-cpu-lib’” /workspace/upload/upload.sh
RUN platformio platform install atmelavr --with-package=uploader --with-package=framework-arduino-avr
RUN platformio platform install atmelsam --with-package=uploader --with-package=framework-cmsis --with-package=framework-cmsis-atmel --with-package=framework-arduino-sam
RUN platformio platform install ststm32 --with-package=uploader --with-package=toolchain-gccarmnoneeabi --with-package=framework-arduinoststm32
RUN platformio platform install espressif8266 --with-package=uploader --with-package=toolchain-xtensa --with-package=tool-esptool --with-package=tool-esptoolpy --with-package=framework-arduinoespressif8266