Closed
Description
Using latest git, and most others...
I get the error
[httpUpdate] Update.writeStream failed! (ERROR[6]: Stream Read Timeout)
When using the HTTP update lib.
In sort it seems that lots of UDP traffic causes it to timeout...
:urch 306, 289
:urch 289, 306
:urch 306, 246
:urch 246, 246
:urch 246, 246
:urch 246, 246
:urch 246, 246
:urch 246, 246
:urch 246, 286
:urch 286, 306
:urch 306, 306
:urch 306, 306
:urch 306, 286
:urch 286, 286
:urch 286, 286
:urch 286, 286
:urch 286, 306
:urch 306, 289
:urch 289, 246
:urch 246, 246
ERROR[6]: Stream Read Timeout
Further investigation shows that this only occurs when using the Arduino IDE and is down to the MDNS being active during the update. I added in the IP and port for each packet, showing they come from all the other devices on the network running mdns.
:urch 291, 231 ip[192.168.1.218:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
:urch 231, 231 ip[192.168.1.218:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
LmacRxBlk:1
:urch 231, 286 ip[192.168.1.241:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
:urch 286, 231 ip[192.168.1.218:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
:urch 231, 306 ip[192.168.1.219:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
:urch 306, 306 ip[192.168.1.219:5353]
Reading answers RX: REQ, ID:0, Q:0, A:4, NS:0, ADD:0
Not expecting any answers right now, returning
:urch 306, 289 ip[192.168.1.186:5353]
Reading answers RX: REQ, ID:0, Q:0, A:1, NS:0, ADD:3
Not expecting any answers right now, returning
:urch 289, 289 ip[192.168.1.186:5353]
Reading answers RX: REQ, ID:0, Q:0, A:1, NS:0, ADD:3
Not expecting any answers right now, returning
:urch 289, 261 ip[192.168.1.208:5353]
So is this normal behaviour for MDNS? Should replies be broadcast to everyone? I do not really know anything about MDNS. However, this is currently breaking uploads at least via HTTP...