- Home /
WWW Resolving host timed out
My game server is using Google App Engine and it's a game that does not require low latency. Nevertheless, I'm getting too much resolving host timed out errors when using the WWW class to communicate with the server.
I've been with this for some months, and back then I was told that there was no way to set up WWW to increase the timeout. So,
1 - Is that really happening because of a small Unity WWW timeout? I feel I get these erros so fast (less than 3 sec.) that I'm not sure that happens because of the WWW timeout.
2 - WWW API changed, I can't see if that header in that new constructor can help me on this.
3 - One solution would be to use the C# API. Any other sugestions?
Thank you.
Answer by DaveA · Apr 09, 2011 at 07:10 PM
Somebody wrote a WWW replacement I read about a few days ago. I'm sorry I don't recall the name of it, but it gives a lot more control, specifically of timeouts. Google and/or look in Asset Store. Perhaps someone knows the name?
Did you ever figure this out? I am having the same problem on one computer, but not my other computer, and it never happens in the build. It times out almost instantly on the computer that doesn't work. They are both connected to the same WAN.
@Tyler 10 - I still have the same problem, I didn't buy UniWeb and I implemented workaround to keep retrying. I noticed the same thing you said, my Windows machine works well but my $$anonymous$$ac always times out.
if you use the yield command, perhaps you can make some sort of progress indicator and when you get the WWW back and it contains an error, then how about just requesting the same URL again and still showing this in the progress indicator?
Your answer
Follow this Question
Related Questions
Help searching google! 1 Answer
WWW.uploadProgress doesn't work on iOS 0 Answers
UriFormatException: Invalid URI: Invalid port number for VirtualBox server using IPv6 Address 1 Answer
Error when creating http request. GET request with custom headers is not supported. 3 Answers
Is System.Net.HttpWebRequest supported on Android/iOS 1 Answer