Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
I’m sorry to hear you’re having trouble generating a lockbox with TorizonCore Builder 3.11.0. The error messages you provided suggest issues with metadata fetching and file integrity. Here are some steps to help resolve these issues:
Verify File Integrity: The error indicates a mismatch in the expected and actual file length for ‘tdx-containers.json’. Try re-downloading this file to ensure it is not corrupted. A stable network connection is crucial to prevent incomplete downloads.
Check for Software Updates: Ensure you are using the latest version of TorizonCore Builder. Updates may contain fixes for issues like the one you’re experiencing. If a newer version is available, consider upgrading.
Review Logs for Details: Examine any additional logs generated by TorizonCore Builder for more detailed error messages. These logs can provide further insight into the issue.
Network Stability: Ensure your network connection is stable during the download process to avoid file corruption.
If these steps do not resolve the issue, you might want to try the process on a different machine or environment to determine if the problem is specific to your current setup.
I hope this helps you resolve the issue. If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
If you refresh the tdx-containers package feed and generate a new lockbox this should work.
Does someone mind verifying this? It’s difficult for us to verify internally since it’s potentially different if aktualizr has recently (before this fix) seen an offline update.
No worries. It’s an odd thing to do for offline updates… i think we should add a call in tcb to refresh this on behalf of users so doing it manually isn’t necessary.
And sorry this was broken! Thank you for reporting and verifying
I would like to request @nclark, @i.staehli, @jonmills and @stasgil to also check and report back if this is either solved or something is still going wrong.
Solved for me, although I didn’t have permissions to refresh the package sources (as I’m not the primary account holder). My colleague was able to refresh it for me, and then I was able to push successfully.
I like @ben.tx 's suggestion to include this in TCB, given that in our use-case we rarely push via the front-end UI, so the solution wasn’t at all intuitive.
I hijacked this thread a little bit, as i saw this issue when just pushing a package using torizoncore builder (no lockbox).
The issue has been resolved for me as well.
I didnt need to refresh anything ( we created our custom package source, which doesnt seem to have that option).