Hi Rengar,
Enabling STP to obtain an IP address takes a long time because STP role election takes a long time. The maximum value is 50 seconds (20 + 15 + 15). Some network adapters fail to be obtained and the network adapters do not retry.
It is recommended that the port connected to the host be an STP edge port.
# Configure GE0/0/1 as an edge port.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] stp edged-port enable
I hope it helps!