Where did you change that in the code ? @dberse
Edit: i Have increase timeout in your python bluetooth mesh fork, but same issue.
I think I need to increase it too
mesh/prov-initiator.c:initiator_prov_data() Failing... 7
mesh/pb-adv.c:send_adv_segs() Sending 1 fragments for 2 octets
mesh/pb-adv.c:send_adv_segs() max_seg: 00
mesh/pb-adv.c:send_adv_segs() size: 02, CRC: e6
mesh/net-keys.c:snb_timeout() beacon 1 for 1 nodes, period 20, obs 2, exp 2
mesh/pb-adv.c:tx_timeout() TX timeout
[DBUS] > 6c 01 01 01 20 00 00 00 15 00 00 00 71 00 00 00 l... .......q...
[DBUS] 01 01 6f 00 0e 00 00 00 2f 6f 72 67 2f 68 61 73 ..o...../org/has
[DBUS] 73 2f 6d 65 73 68 00 00 03 01 73 00 0d 00 00 00 s/mesh....s.....
[DBUS] 41 64 64 4e 6f 64 65 46 61 69 6c 65 64 00 00 00 AddNodeFailed...
[DBUS] 02 01 73 00 1b 00 00 00 6f 72 67 2e 62 6c 75 65 ..s.....org.blue
[DBUS] 7a 2e 6d 65 73 68 2e 50 72 6f 76 69 73 69 6f 6e z.mesh.Provision
[DBUS] 65 72 31 00 00 00 00 00 06 01 73 00 05 00 00 00 er1.......s.....
[DBUS] 3a 31 2e 33 30 00 00 00 08 01 67 00 03 61 79 73 :1.30.....g..ays
[DBUS] 00 00 00 00 00 00 00 00 ........
[DBUS] 10 00 00 00 a8 01 71 ad 10 00 00 63 0a 44 63 a7 ......q....c.Dc.
[DBUS] f8 02 00 00 07 00 00 00 62 61 64 2d 70 64 75 00 ........bad-pdu.
[DBUS] < 6c 04 01 01 1d 00 00 00 06 00 00 00 89 00 00 00 l...............
[DBUS] 01 01 6f 00 15 00 00 00 2f 6f 72 67 2f 66 72 65 ..o...../org/fre
[DBUS] 65 64 65 73 6b 74 6f 70 2f 44 42 75 73 00 00 00 edesktop/DBus...
[DBUS] 02 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65 ..s.....org.free
[DBUS] 64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00 desktop.DBus....
[DBUS] 03 01 73 00 10 00 00 00 4e 61 6d 65 4f 77 6e 65 ..s.....NameOwne
[DBUS] 72 43 68 61 6e 67 65 64 00 00 00 00 00 00 00 00 rChanged........
[DBUS] 07 01 73 00 14 00 00 00 6f 72 67 2e 66 72 65 65 ..s.....org.free
[DBUS] 64 65 73 6b 74 6f 70 2e 44 42 75 73 00 00 00 00 desktop.DBus....
[DBUS] 08 01 67 00 03 73 73 73 00 00 00 00 00 00 00 00 ..g..sss........
[DBUS] 05 00 00 00 3a 31 2e 33 30 00 00 00 05 00 00 00 ....:1.30.......
[DBUS] 3a 31 2e 33 30 00 00 00 00 00 00 00 00 :1.30........
App :1.30 disconnected (1)
[DBUS] > 6c 04 01 01 a0 00 00 00 16 00 00 00 69 00 00 00 l...........i...
[DBUS] 01 01 6f 00 01 00 00 00 2f 00 00 00 00 00 00 00 ..o...../.......
[DBUS] 03 01 73 00 11 00 00 00 49 6e 74 65 72 66 61 63 ..s.....Interfac
[DBUS] 65 73 52 65 6d 6f 76 65 64 00 00 00 00 00 00 00 esRemoved.......
[DBUS] 02 01 73 00 22 00 00 00 6f 72 67 2e 66 72 65 65 ..s."...org.free
[DBUS] 64 65 73 6b 74 6f 70 2e 44 42 75 73 2e 4f 62 6a desktop.DBus.Obj
[DBUS] 65 63 74 4d 61 6e 61 67 65 72 00 00 00 00 00 00 ectManager......
[DBUS] 08 01 67 00 03 6f 61 73 00 00 00 00 00 00 00 00 ..g..oas........
[DBUS] 34 00 00 00 2f 6f 72 67 2f 62 6c 75 65 7a 2f 6d 4.../org/bluez/m
[DBUS] 65 73 68 2f 6e 6f 64 65 64 33 61 61 64 31 39 30 esh/noded3aad190
[DBUS] 62 34 34 38 35 36 30 33 38 34 62 61 64 39 66 37 b448560384bad9f7
[DBUS] 66 34 32 32 66 63 64 66 00 00 00 00 60 00 00 00 f422fcdf....`...
[DBUS] 14 00 00 00 6f 72 67 2e 62 6c 75 65 7a 2e 6d 65 ....org.bluez.me
[DBUS] 73 68 2e 4e 6f 64 65 31 00 00 00 00 1a 00 00 00 sh.Node1........
[DBUS] 6f 72 67 2e 62 6c 75 65 7a 2e 6d 65 73 68 2e 4d org.bluez.mesh.M
[DBUS] 61 6e 61 67 65 6d 65 6e 74 31 00 00 1f 00 00 00 anagement1......
[DBUS] 6f 72 67 2e 66 72 65 65 64 65 73 6b 74 6f 70 2e org.freedesktop.
[DBUS] 44 42 75 73 2e 50 72 6f 70 65 72 74 69 65 73 00 DBus.Properties.
pi@raspberrypi:~/homeassistant-bluetooth-mesh/gateway $ python3 gateway.py prov add --uuid a80171ad-1000-0063-0a44-63a7f8020000
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:MqttGateway:Connecting to D-Bus
INFO:MqttGateway:Connecting to org.bluez.mesh
INFO:MqttGateway:Registering application
INFO:MqttGateway:Attach 923068faecc0540 (socket_pair=False, socket_path=None)
INFO:MqttGateway.Element0.GenericOnOffClient:Update config of (None, 4097): <ModelConfig bindings=[0], subs=[]>
INFO:MqttGateway.Element0.LightLightnessClient:Update config of (None, 4866): <ModelConfig bindings=[0], subs=[]>
INFO:MqttGateway.Element0.LightCTLClient:Update config of (None, 4869): <ModelConfig bindings=[0], subs=[]>
INFO:MqttGateway:Attached to node /org/bluez/mesh/noded3aad190b448560384bad9f7f422fcdf, address: 0001, configuration: defaultdict(<class 'dict'>, {0: {(None, 4097): {'bindings': [0]}, (None, 4866): {'bindings': [0]}, (None, 4869): {'bindings': [0]}}})
DEBUG:MqttGateway.Element0.ConfigClient:Building message with parameters: {'net_key_index': 0, 'app_key_index': 0, 'app_key': b'b}k\xccN\xb36\xa8\xf7\x14\x1d\x1frN\xd4i'}
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_APPKEY_ADD: 0>, config_appkey_add=Container(app_key_index=0, net_key_index=0, app_key=b'b}k\xccN\xb36\xa8\xf7\x14\x1d\x1frN\xd4i'))
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] 00000000627d6bcc4eb336a8f7141d1f724ed469
DEBUG:MqttGateway.Element0.ConfigClient:Dev message received: 0001 [remote False, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_APPKEY_STATUS: 32771>, config_appkey_status=Container(status=<StatusCode.SUCCESS: 0>, app_key_index=0, net_key_index=0))
DEBUG:MqttGateway.Element0.ConfigClient:Building message with parameters: {'element_address': 1, 'app_key_index': 0, 'model': {'model_id': 4097}}
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_BIND: 32829>, config_model_app_bind=Container(element_address=1, app_key_index=0, model=Container(model_id=4097)))
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] 803d010000000110
DEBUG:MqttGateway.Element0.ConfigClient:Dev message received: 0001 [remote False, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_STATUS: 32830>, config_model_app_status=Container(status=<StatusCode.SUCCESS: 0>, element_address=1, app_key_index=0, model=Container(model_id=4097)))
DEBUG:MqttGateway.Element0.ConfigClient:Building message with parameters: {'element_address': 1, 'app_key_index': 0, 'model': {'model_id': 4866}}
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_BIND: 32829>, config_model_app_bind=Container(element_address=1, app_key_index=0, model=Container(model_id=4866)))
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] 803d010000000213
DEBUG:MqttGateway.Element0.ConfigClient:Dev message received: 0001 [remote False, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_STATUS: 32830>, config_model_app_status=Container(status=<StatusCode.SUCCESS: 0>, element_address=1, app_key_index=0, model=Container(model_id=4866)))
DEBUG:MqttGateway.Element0.ConfigClient:Building message with parameters: {'element_address': 1, 'app_key_index': 0, 'model': {'model_id': 4869}}
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_BIND: 32829>, config_model_app_bind=Container(element_address=1, app_key_index=0, model=Container(model_id=4869)))
DEBUG:MqttGateway.Element0.ConfigClient:Sending: /org/hass/mesh/element0 -> 0001 [remote True, net_index 0] 803d010000000513
DEBUG:MqttGateway.Element0.ConfigClient:Dev message received: 0001 [remote False, net_index 0] Container(opcode=<ConfigOpcode.CONFIG_MODEL_APP_STATUS: 32830>, config_model_app_status=Container(status=<StatusCode.SUCCESS: 0>, element_address=1, app_key_index=0, model=Container(model_id=4869)))
INFO:root:Provisioning node a80171ad-1000-0063-0a44-63a7f8020000...
INFO:root:Provisioning 1 new address(es)
WARNING:root: plop [0, 16]
INFO:root:Provisioning 1 new address(es)
ERROR:root:Failed to provision a80171ad-1000-0063-0a44-63a7f8020000:
bad-pdu
Mesh contains 0 node(s):
INFO:MqttGateway:Unregistering application