While testing yesterday with a lot of DLNA servers active (22), my Roku3 would hang on a GetToString() during discovery. My other three Roku hardware versions didn't have a problem. Checking the debug console, it was always a request to a WebDev server attached to Twonky on my Mac. It was VERY intermittent but I found that if I turned on debug logging but didn't have a telnet session connected, it failed almost every time. I ran a network trace to see what was going on.
Roku -> Mac - HEAD request for a url Mac -> Roku - Response headers Mac -> Roku - Response Body ( This isn't normal but who knows about webdav ! ) Roku -> Mac - GET request from GetToString() Mac -> Roku - Response headers with body Hang
My solution was to ignore a url with "webdav" in it, which is not a GOOD fix. Could the response body being on the TCP stack cause the GET to fail ? The Roku3 is running 5.5 319