Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WWW - Resolving host timed out

Discussion in 'Multiplayer' started by roberto_sc, Dec 13, 2010.

  1. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    144
    Sometimes I am getting "Resolving host timed out" error messages when using the WWW class. I couldn't find a way to increase the timeout for these requests, is there a way to do this?

    Thank you.
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    No, the timeout can't be impacted.

    though normally it also wouldn't help, a server that slow that requests don't resolve normally commonly goes hand in hand with a host thats unable to provide error free transfers, leading to errors later on
     
  3. roberto_sc

    roberto_sc

    Joined:
    Dec 13, 2010
    Posts:
    144
    We are using Google App Engine's servers to respond those requests, the game make those to ask for user preferences and things like that, so it's not network intensive.
    This timeout is very small, the error comes in less than 3 secs, is that right?
     
  4. fluxa

    fluxa

    Joined:
    Sep 8, 2009
    Posts:
    16
    I'm experiencing the same problem "Resolving host timed out" using WWW but for any host. This only happens on the IDE but not when I deploy to a device. I'm working on Unity 3.1.0f4 and it seems to work fine (using same method) on Unity iPhone 1.7.0f1.

    Anybody knows something about this?

    Thanks!
     
    CgPanda likes this.
  5. CgPanda

    CgPanda

    Joined:
    Aug 23, 2012
    Posts:
    6
    I have the same problem. Unity 4.5.2f1
     
  6. baconparticles

    baconparticles

    Joined:
    Mar 5, 2014
    Posts:
    4
    I have had this issue with every unity version when launching inside the editor. If I restart unity I can run the application 1 or 2 times before the problem reappears. The problem does not appear in device or standalone mode. It may be specific to OSX, as I have not tested this on Windows.

    Right now I am using 4.6.1f1
     
  7. GollumZzz

    GollumZzz

    Joined:
    Aug 1, 2012
    Posts:
    24
    I have the same issue on 4.6.3f1
     
  8. nicloay

    nicloay

    Joined:
    Jul 11, 2012
    Posts:
    540
    Just faced the same problem
    just tried to resolve ip manual and put it to editor. and get another problem "couldn't connect to host"
     
    Last edited: Mar 5, 2015
  9. EyalK

    EyalK

    Joined:
    Jun 13, 2013
    Posts:
    3
    Same problem here, the editor can't resolve any host.
    Anybody ? Anything ?