I created a snap with amd64 arch and deployed it on the virtual core. The app is running as expected.
Now when we tried to deploy the it in the core (arm64) the snap is not initializing. I'm getting this messege.
I checked the logbook and tried to find the unit which also I cannot find. Do you know what might be the reason?
-app is a fastAPI server
-I am getting this warning frequently: Trace warning web.common.logger;;Failed update status: failed to update the status on device portal. Error: Patch "https://cert.device.deviceportal.bosch.com/bulk/v2/devicestatus": dial tcp: lookup cert.device.deviceportal.bosch.com: Temporary failure in name resolution
Solved! Go to Solution.
it seems like you were not able to crossbuild for the arm64 architecture properly. Can you give me some more information on your snap?
Which SDK-sample did you use? Which programming language did you use? How did you build it?
You can also filter in the logbook for the log messages for your snap (filter: unit). Please have a look, here if you can see some logs.
Try to remove pandas. i think that this could be the problem. Anyway better if you run a simple script with just flask and then try to add the libraries one by one.
Edit: also pydantic has this problem. check here: https://pypi.org/project/pydantic-core/#files