Hello Toradex Community,
I’ve tried to provision a new device to my Torizon Platform accoun using the Torizon OS provisionning command but when I paste the command nothing happens.
This is not the first time I use this commad and pretty used to it, even with the latest deisng on Torizon Platform the command was working.
He is an example of the command I’m getting :
curl -fsSL https://app.torizon.io/scripts/provision-device.sh | sudo bash -s – -t “eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJzYUowczhvMjY4WTdRSzA5R0dmOXJLLVNhS3RMTWNLMkhYcGlqN2pWSm5ZIn0.eyJleHAiOjE3Nzg1OTQzMTksImlhdCI6MTc3ODU5NDAxOSwianRpIjoiNzZkMDg1NzMtMmJjMC00MDJiLTliYjgtMTIzMTUzODM2ZGMxIiwiaXNzIjoiaHR0cHM6Ly9rYy50b3Jpem9uLmlvL2F1dGgvcmVhbG1zL290YS11c2VycyIsImF1ZCI6InByb3Zpc2lvbi1kZXZpY2UiLCJzdWIiOiJjZjNmOThjNC1lZjUyLTQwM2ItODU3Ny1kNWM2MDkxYTRjZDMiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJwcm92aXNpb24tZGV2aWNlIiwic2Vzc2lvbl9zdGF0ZSI6ImI4N2VlYmQxLTdkYzgtNDk1YS04YzE3LTU5YTU5MmNhZTI1MSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwczovL2FwcC50b3Jpem9uLmlvIiwiaHR0cHM6Ly9hcHAtdjEudG9yaXpvbi5pbyJdLCJzY29wZSI6InByb2ZpbGUgZW1haWwiLCJzaWQiOiJiODdlZWJkMS03ZGM4LTQ5NWEtOGMxNy01OWE1OTJjYWUyNTEiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsIm5hbWVzcGFjZSI6IjczYzMxMzBiLWU0ZjYtNDIzOC1hN2VmLTM0NjgxYTc3NGY1MCIsIm5hbWUiOiJQcm9lbmdpbiIsInByZWZlcnJlZF91c2VybmFtZSI6InNvbHV0aW9uc0Bwcm9lbmdpbi5jbG91ZCIsImdpdmVuX25hbWUiOiJQcm9lbmdpbiIsImVtYWlsIjoic29sdXRpb25zQHByb2VuZ2luLmNsb3VkIiwidHpuX3Njb3BlcyI6WyJjcmVhdGU6ZGV2aWNlcyJdfQ.LwLNIAaZyevc3HW4bphEI1z4VeAswacVLBBXer892SzUOsTqd5HCG3SX7gcMbev0xIKexqJwu54uQdhrZrsnP_edIoFZTYZr_kZFuvIZVjaETKCLkfahud9Nw5cesilYflYtdoY47r-835DB2wkKY470KrUrxGxwLb3Tro–B13c9xDsitcMrq2mX0BUPgV6tFKykUTHD4lzy9hhUL3QJZph9WmyVlc8t7he9jZkJwbjr0i5KpHgeCywgn-M4N9GT2fyvNfAg6dIPfNlBSWnjBmySoX0glc2yzvgBkgfwiS67I4aTOG2U1kOFt7CkOuyYNwVU7ToTZtj5fTuP2ciCQ” -u https://app.torizon.io/api/accounts/devices -g https://dgw.torizon.io && sudo systemctl restart aktualizr fluent-bit.
Before bringing the issue here I’ve asked Claude for some workaround and here are the command that solve the issue :
curl -vL https://app.torizon.io/scripts/provision-device.sh -o /tmp/provision.sh
cat /tmp/provision.sh
curl -L https://app.torizon.io/scripts/provision-device.sh -o /tmp/provision.sh sudo bash -x /tmp/provision.sh \ -t “TOKEN” \ -u https://app.torizon.io/api/accounts/devices \ -g https://dgw.torizon.io
This sequence of command worked for me, but the workaround won’t be viable for production,
Hope these information will be enough I don’t know which information I can give you guys,
I’m working on a Torizon 6.7 OS (tried on a 7.6 and the issue is the same) verdin imx8mp,
Thank you in advance for your help,
Kind regards,
Muzzy