Sphinx: Received an error from firmwared: curl.hook/probe failed

Hello,
Trying to get Sphinx to work on a fresh install of Ubuntu 20.04 but getting the following error:

$ sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/anafi4k.drone::firmware=$HOME/anafi-4k.tar.gz --log-level=dbg
Parrot-Sphinx simulator version 2.9.1

Connecting to firmwared version: 2.9.1
starting Telemetryd to capture true data...
Gazebo multi-robot simulator, version 11.2.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[2022-12-02T19:33:37.374137][Msg] Waiting for master.
[2022-12-02T19:33:37.388074][Msg] Connected to gazebo master @ http://127.0.0.1:11345
[2022-12-02T19:33:37.388107][Msg] Publicized address: 127.0.0.1
[2022-12-02T19:33:38.073732][Dbg] [Plugin.hh:190] Registering plugin fwman (libsphinx_fwman.so)
[2022-12-02T19:33:38.073774][Dbg] [FwManPlugin.cc:223] Loading plugin firmware manager...
[2022-12-02T19:33:38.073859][Msg] created parameter server on http:8383
[2022-12-02T19:33:38.073896][Dbg] [Iio.cc:73] Creating IfIio object 'iio_simulator.sock'
[2022-12-02T19:33:38.074041][Dbg] [PompLoopWorker.cc:96] building new PompLoopWorker identified by 'scene_sync'
[2022-12-02T19:33:38.074374][Dbg] [SceneSync.cc:316] messageHub client started with 'unix:/tmp/scene_sync.sock'
[2022-12-02T19:33:38.074435][Dbg] [SceneSync.cc:445] Connected with server
[2022-12-02T19:33:38.074490][Msg] Waiting for a UE4 application to start...
[2022-12-02T19:33:38.074598][Dbg] [SceneSync.cc:476] Versions check OK (2.9.1)
[2022-12-02T19:33:38.085975][Dbg] [SceneSync.cc:484] Receive parameters
[2022-12-02T19:33:38.202792][Msg] World params for 'default':
[2022-12-02T19:33:38.202827][Msg] 	spawn_points:
[2022-12-02T19:33:38.202834][Msg] 		- name: default
[2022-12-02T19:33:38.202841][Msg] 		  pose: -3.3 0 0.4 0 -0 0
[2022-12-02T19:33:38.202958][Dbg] [Iio.cc:73] Creating IfIio object 'iio_simulator.sock'
[2022-12-02T19:33:38.203079][Dbg] [MachineManager.cc:993] anafi: Machine(name = "anafi", firmware = "/home/max/anafi-4k.tar.gz")
	property int_storage_size = 500MB
	property with_gimbal = 1
	property with_front_cam = 1
	property ext_storage_size = 10G
	property wifi_iface = auto
	property wan_access = 0
	property pose = default
	property remote_ctrl_ip = 
	property owner = max-Z370P-D3-20026

[2022-12-02T19:33:38.203235][Dbg] [FwManPlugin.cc:339] Disabling physics
[2022-12-02T19:33:38.205429][Dbg] [Plugin.hh:190] Registering plugin wind (libsphinx_wind.so)
[2022-12-02T19:33:38.206236][Dbg] [PompLoopWorker.cc:96] building new PompLoopWorker identified by 'wind'
[2022-12-02T19:33:38.206525][Dbg] [Wind.cc:437] Setting exprtk parameter direction_expr
[2022-12-02T19:33:38.206598][Dbg] [Wind.cc:437] Setting exprtk parameter elevation_expr
[2022-12-02T19:33:38.206697][Dbg] [Wind.cc:437] Setting exprtk parameter magnitude_expr
[2022-12-02T19:33:38.208394][Dbg] [Plugin.hh:190] Registering plugin actors (libsphinx-external-actor.so)
[2022-12-02T19:33:38.209891][Dbg] [Plugin.hh:190] Registering plugin sky (libsphinx-external-sky.so)
[2022-12-02T19:33:38.210461][Msg] connected to firmwared
[2022-12-02T19:33:38.210473][Dbg] [Firmwared.cc:200] OnPompConnected
[2022-12-02T19:33:38.210918][Dbg] [Firmwared.cc:214] OnPropertyAdded
[2022-12-02T19:33:38.210960][Dbg] [MachineManager.cc:999] PrepareFirmwares
[2022-12-02T19:33:38.210979][Dbg] [AutomatonBase.cc:41] Starting automaton 'PrepFw'
[2022-12-02T19:33:38.210992][Dbg] [AutomatonBase.cc:124] [anafi] PrepFw -> STARTING
[2022-12-02T19:33:38.211045][Msg] Preparation of firmware /home/max/anafi-4k.tar.gz
[2022-12-02T19:33:38.211060][Dbg] [AutomatonBase.cc:124] [anafi] PrepFw -> PREPARING
[2022-12-02T19:33:38.233046][Dbg] [Plugin.hh:190] Registering plugin omniscient (libsphinx_omniscient.so)
[2022-12-02T19:33:38.233070][Dbg] [PluginHelper.cc:144] No io_backend element found in plugin configuration. Falling back to model name...
[2022-12-02T19:33:38.233087][Dbg] [Iio.cc:73] Creating IfIio object 'iio_simulator.sock'
[2022-12-02T19:33:38.233328][Err] [PompPool.hh:143] Received an error from firmwared: curl.hook/probe failed. See ulog for details.
[2022-12-02T19:33:38.233342][Err] [AutomatonPrepFw.cc:83] Preparation of firmware for machine anafi failed. Check your path or URL to the firmware.
[2022-12-02T19:33:38.233357][Dbg] [AutomatonBase.cc:124] [anafi] PrepFw -> IDLE
[2022-12-02T19:33:38.233371][Dbg] [MachineManager.cc:638] Machine Manager's shutdown state set to STARTING
[2022-12-02T19:33:38.233872][Dbg] [MachineManager.cc:676] Disconnecting from remote renderer
[2022-12-02T19:33:38.233953][Dbg] [SceneSync.cc:454] Disconnected from server
[2022-12-02T19:33:38.234136][Dbg] [SceneSync.cc:203] Removing model '__UE4__magic_tile'
[2022-12-02T19:33:38.235076][Dbg] [MachineManager.cc:680] Disabling physics
[2022-12-02T19:33:38.235089][Dbg] [MachineManager.cc:638] Machine Manager's shutdown state set to DROPPING_MACHINES
[2022-12-02T19:33:38.235099][Dbg] [AutomatonBase.cc:41] Starting automaton 'Drop'
[2022-12-02T19:33:38.235106][Dbg] [AutomatonBase.cc:124] [anafi] Drop -> STARTING
[2022-12-02T19:33:38.235113][Dbg] [Machine.cc:1113] Instances property check for anafi
[2022-12-02T19:33:38.235127][Dbg] [AutomatonBase.cc:124] [anafi] Drop -> IDLE
[2022-12-02T19:33:38.235133][Msg] All drones dropped. Let's shut down.
[2022-12-02T19:33:38.235139][Dbg] [MachineManager.cc:638] Machine Manager's shutdown state set to EXITING_GZ
[2022-12-02T19:33:38.235150][Dbg] [PluginHelper.cc:162] Sending stop msg to main gz server...
[2022-12-02T19:33:38.411442][Dbg] [FwManPlugin.cc:105] Stopping WebSocketServer
[2022-12-02T19:33:38.415255][Dbg] [FwManPlugin.cc:108] Stopping ParamServer

From ulog:

01-01 02:43:03.198 I telemetryd  (telemetryd-21130)               : Creating daemon with rate 50 ms
01-01 02:43:03.198 I libtelemetry(telemetryd-21130)               : clear logger filter
01-01 02:43:03.198 I telemetryd  (telemetryd-21130)               : Loading plugins from '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins/'
01-01 02:43:03.198 I telemetryd  (telemetryd-21130)               : Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-gndctrl.so'
01-01 02:43:03.199 I telemetryd  (telemetryd-21130)               : Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-blackbox.so'
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setEnabled 1
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setCompressed 1
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setCompressionLevel 6
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setCompressionMethod zlib
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setLogDir '.'
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setLogName 'log.tlmb'
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setLogCount 2
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setFilter *
01-01 02:43:03.199 I libtelemetry(telemetryd-21130)               : clear logger filter
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setFlushPeriod 0 ms
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : setMaxSize 2000000000 bytes
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : rotate logs: './sphinx-11345-log.tlmb.1' -> './sphinx-11345-log.tlmb.2'
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : rotate logs: './sphinx-11345-log.tlmb' -> './sphinx-11345-log.tlmb.1'
01-01 02:43:03.199 I tlmblackbox (telemetryd-21130)               : Creating file './sphinx-11345-log.tlmb'
01-01 02:43:03.199 I telemetryd  (telemetryd-21130)               : Loading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-web-gndctrl.so'
01-01 02:43:03.200 I telemetryd  (telemetryd-21130)               : Entering loop
01-01 02:43:04.195 I shd         (gzserver-21186/gz_world_update-21236): wind: created: generation=2 sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=125
01-01 02:43:04.225 I shd         (gzserver-21186/gz_world_update-21236): omniscient___UE4__magic_tile: created: generation=2 sample_count=4000 sample_size=192 sample_rate=1000 metadata_size=1125
01-01 02:43:04.225 E firmwared_firmwares(firmwared-18311)         : uuid retrieval failed: invalid hook output
01-01 02:43:04.225 E firmwared_commands(firmwared-18311)          : command_process: curl.hook/probe failed. See ulog for details.
01-01 02:43:04.226 I shd         (gzserver-21186/gz_world_update-21236): omniscient___UE4__magic_tile: closed
01-01 02:43:04.301 I shd         (telemetryd-21130)               : omniscient___UE4__magic_tile: opened: sample_count=4000 sample_size=192 sample_rate=1000 metadata_size=1125
01-01 02:43:04.301 I shd         (telemetryd-21130)               : wind: opened: sample_count=4000 sample_size=24 sample_rate=1000 metadata_size=125
01-01 02:43:04.373 I shd         (gzserver-21186)                 : wind: closed
01-01 02:43:04.374 E pomp        (UnrealApp-15557/SpawnManager-15613): recvmsg(fd=145) err=104(Connection reset by peer)
01-01 02:43:04.691 I telemetryd  (telemetryd-21130)               : sighandler: signo=15(Terminated)
01-01 02:43:04.691 I telemetryd  (telemetryd-21130)               : Exiting loop
01-01 02:43:04.717 I tlmblackbox (telemetryd-21130)               : Closing file './sphinx-11345-log.tlmb'
01-01 02:43:04.717 I telemetryd  (telemetryd-21130)               : Unloading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-blackbox.so'
01-01 02:43:04.717 I telemetryd  (telemetryd-21130)               : Unloading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-gndctrl.so'
01-01 02:43:05.212 I telemetryd  (telemetryd-21130)               : Unloading '/opt/parrot-sphinx/usr/bin/../lib/tlm-plugins//tlm-web-gndctrl.so'
01-01 02:43:05.212 E pomp        (telemetryd-21130)               : fd=15, cb=0x7fc9e0159160 still in loop
01-01 02:43:05.212 E telemetryd  (telemetryd-21130)               : pomp_loop_destroy: err=-16(Device or resource busy)
01-01 02:43:05.212 I shd         (telemetryd-21130)               : omniscient___UE4__magic_tile: closed
01-01 02:43:05.212 I shd         (telemetryd-21130)               : wind: closed

This also happens if I use the line from the setup guide

sphinx "/opt/parrot-sphinx/usr/share/sphinx/drones/anafi_ai.drone"::firmware="https://firmware.parrot.com/Versions/anafi2/pc/%23latest/images/anafi2-pc.ext2.zip"

Edit:
A bit more context if it matters:
GPU: NVIDIA RTX 3070ti, Driver: [525.60.11]
CPU: Intel 9900K

Hello,

tar.gz archives are not supported by Sphinx. You should either use the original zip file or an uncompressed ext2 file.

If the line from the setup guide does not work, you should download the zip file:

https://firmware.parrot.com/Versions/anafi2/pc/%23latest/images/anafi2-pc.ext2.zip

or

https://firmware.parrot.com/Versions/anafi/pc/%23latest/images/anafi-pc.ext2.zip

and set the path in the command line:

sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/anafi_ai.drone::firmware=/path/to/anafi2.ext2.zip

or

sphinx /opt/parrot-sphinx/usr/share/sphinx/drones/anafi4k.drone::firmware=/path/to/anafi-pc.ext2.zip

Yup, that did the trick. It was misleading that the firmware was uploaded in that format at Firmware Versions & SDK - Parrot

I can continue with the docs now, but one quick question. I’m using the drone as a wifi dongle but it doesn’t seem to be passing an actual internet connection to the iPad. Is that possible?

Edit: Figured that out as well, needed to use virtual ethernet

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.