root@osmc:/home/osmc# connmanctl
connmanctl> connect wifi_0013efc5093b_4d61726b79_managed_psk
Error /net/connman/service/wifi_0013efc5093b_4d61726b79_managed_psk: Input/output error
connmanctl> connect wifi_0013efc5093b_4d61726b79_managed_psk
Error /net/connman/service/wifi_0013efc5093b_4d61726b79_managed_psk: Input/output error
connmanctl> enable wifi
Error wifi: Already enabled
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
*AO Wired ethernet_b827eb570082_cable
*A Marky wifi_0013efc5093b_4d61726b79_managed_psk
Vika wifi_0013efc5093b_56696b61_managed_psk
Sasha wifi_0013efc5093b_5361736861_managed_psk
Sherwood wifi_0013efc5093b_53686572776f6f64_managed_psk
connmanctl> agent on
Agent registered
connmanctl> connect wifi_0013efc5093b_4d61726b79_managed_psk
Agent ReportError wifi_0013efc5093b_4d61726b79_managed_psk
connect-failed
connmanctl> Retry (yes/no)? y
Agent ReportError wifi_0013efc5093b_4d61726b79_managed_psk
connect-failed
connmanctl> Retry (yes/no)? y
Connected wifi_0013efc5093b_4d61726b79_managed_psk
It seems that it worked on the third try.