FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
12-19-2023 04:20 PM
Install of snapcraft in build environment fails.
This is the feedback message I got:
error: cannot install "snapcraft": Post "https://api.snapcraft.io/v2/snaps/refresh": x509:
certificate signed by unknown authority
Solved! Go to Solution.
12-19-2023 04:30 PM
Hi @TW_Innio
do you have network connection in your App Build Environment?
A good way to test it would be to do a wget to a website and see if the index.html gets downloaded.
Best regards,
Nick
12-19-2023 04:56 PM
Connection was established but there is an issue with the certificates in the VM.
12-19-2023 05:06 PM
Ok. So the network connection seems to be working.
How do you try to install snapcraft? Do you install it with the help of our script (scripts/install-snapcraft.sh)?
It installs snapcraft like this:
sudo snap install snapcraft --channel=6.x/stable --classic
12-19-2023 05:13 PM
And btw: Which version of ctrlX Works are you using to create your App Build Environment? I just tried with V1.20 and with V2.4 and was not able to reproduce your error.
12-20-2023 09:36 AM
We tried this without success.
12-20-2023 09:37 AM
With V2.02 it works on a different machine.