Bucketd when spawned by rgbd when running rgb-cli contract register does not connect to the electrum server giving this error:
thread 'main' panicked at 'running bucketd runtime: AppLevel(ElectrumConnectivity)', src/bin/bucketd.rs:48:26
Instead, when I spawn a bucketd process, with everything as default, before running the command everything works fine.