Help please "Failed to connect"

Results 1 to 11 of 11
  1. #1
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Help please "Failed to connect"

    Hello, the launcher says please try again

    r3dlog

    000000.000| Input Devices enabled: Mouse, Keyboard
    000000.043| VMEM As seen through DDRaw: 978
    000000.044| VMEM As seen through WMI: 0
    000000.065| We have 2317 MB texture memory
    000000.065| r3dFont: Creating Verdana 10pt
    000000.067| r3dFont: Finished creating Verdana 10pt
    000000.067| r3dFont: Creating Tahoma 12pt
    000000.071| r3dFont: Finished creating Tahoma 12pt
    000000.071| r3dFont: Creating Tahoma 10pt
    000000.074| r3dFont: Finished creating Tahoma 10pt
    000000.074| r3dFont: Creating Tahoma 9pt
    000000.077| r3dFont: Finished creating Tahoma 9pt
    000000.565| Starting updater, v:2.9.6, cmd:
    000000.565| Checking for new updater
    000030.574| !resp ChilkatLog:

    SynchronousRequest:

    DllDate: Jun 14 2011

    UnlockPrefix: ARKTOSHttp

    Username: KOKO-PC:KoKo

    Architecture: Little Endian; 32-bit

    Language: Visual C++ 9.0

    domain: localhost

    port: 80

    ssl: 0

    OriginallySetFromUrl: http://localhost/wz/updater/woupd.xml

    RequestData:

    HttpVersion: 1.1

    Verb: GET

    Path: /wz/updater/woupd.xml

    Charset: utf-8

    SendCharset: 0

    MimeHeader:

    ReadTimeout: 60

    ConnectTimeout: 30

    httpConnect:

    hostname: localhost

    port: 80

    ssl: 0

    ConnectTimeoutMs: 30000

    calling ConnectSocket2

    This is an IPV4 numeric address...

    AddrInfoList:

    AddrInfo:

    ai_flags: 4

    ai_family: 2

    ai_socktype: 1

    ai_protocol: 0

    ai_addrlen: 16

    ai_canonname: (NULL)

    Connect using IPV4.

    ipAddress1: 127.0.0.1

    timeout waiting for connect to complete

    Connect function failed.

    SocketError: WSAEWOULDBLOCK The socket would block.

    For more information see this Chilkat Blog post: http://www.cknotes.com/?p=210

    connectTimeoutSec: 30

    idleTimeoutMs: 60000

    Failed to connect.

    Failed.


    000049.748| Requested to stop, 0 files in queue
    000049.748| CUpdater::Stop()


    Could you help me please


  2. #2
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: Help please "Failed to connect"

    You didn't give much information, so I am going to assume you're hosting on a server and not your pc.
    You need to change the IP's in the source and the "launcher.cfg" to your server's IP.
    Just open up "RSUpdate.sln" and look for "127.0.0.1" and "localhost" on the entire solution, and replace them.

  3. #3
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: Help please "Failed to connect"

    Hello, thank you very much : I managed to solve this problem but I have another error that appeared just after this one.

    r3dlog:

    000000.000| Input Devices enabled: Mouse, Keyboard
    000000.045| VMEM As seen through DDRaw: 978
    000000.045| VMEM As seen through WMI: 0
    000000.085| We have 2317 MB texture memory
    000000.086| r3dFont: Creating Verdana 10pt
    000000.087| r3dFont: Finished creating Verdana 10pt
    000000.087| r3dFont: Creating Tahoma 12pt
    000000.088| r3dFont: Finished creating Tahoma 12pt
    000000.089| r3dFont: Creating Tahoma 10pt
    000000.089| r3dFont: Finished creating Tahoma 10pt
    000000.089| r3dFont: Creating Tahoma 9pt
    000000.090| r3dFont: Finished creating Tahoma 9pt
    000000.727| Starting updater, v:2.9.6, cmd:
    000000.727| Checking for new updater
    000000.775| Checking for new updater - finished
    000065.317| WO_API: http timeout
    000065.317| Login FAILED, code: 8

    Please, if you could help me one more time. Thank you to having answered so quickly :).

  4. #4
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: Help please "Failed to connect"

    This should be due to HTTPS. Follow this tutorial and it should work: http://weblogs.asp.net/scottgu/archi...tificates.aspx

    Make sure your 443 port is open in your firewall.

  5. #5
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: Help please "Failed to connect"

    The https port of my firewall is open but i think the problem isn't caused by this. When I go for register using the launcher, i get this page http://www..com/redirect.php?page=register

    thank you for your help

  6. #6
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: Help please "Failed to connect"

    Open "RSUpdate.sln" and edit the file "LauncherConfig.cpp", and scroll down to the comment section "Manual Config", and then edit the values of all the variables to match your server's IP and links to your api files.
    Note: You don't need to provide the "launcher.cfg" file with your launcher after you've done the above.

  7. #7
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: Help please "Failed to connect"

    Hello, thank you again for all the help you provided me.
    I try to manage alone, but I'm stuck at this stage.


    r3dlog:


    000004.322| Loaded 12 of 12 grass settings locations from the glist file
    000004.334| Loaded 12 grass settings files
    000004.548| WEAPON ERROR: 100999_name trying to load non existent sound event Sounds/NewWeapons/SUP/SUP_Generic_Shot_single
    000004.556| Trying to load food item with id '301321' that is already loaded!000037.974| WOApi: Connect to 127.0.0.1
    000037.974| WOApi: api_LoginSessionPoller.aspx NETWORK time: 30.1066
    000037.974| WO_API: http timeout
    000037.975| LoginAuth: 8
    000047.917| obj_Zombie::FreePhysSkeletonCache:000047.917| done in 0.00 seconds
    000047.920| Deleting render targets
    000048.318|
    000048.320| WARNING: pd3ddev have 10 reference counts




    I hope I can always count on your help :) plz
    Last edited by pepitox; 27-05-14 at 04:16 AM.

  8. #8
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: Help please "Failed to connect"

    Open "WarZ.sln", then search for "127.0.0.1" in the following files:
    "Vars.h", "Main.cpp", "WOBackendAPI.cpp".
    replace "127.0.0.1" with your server's IP, also make sure the paths to your api are valid.
    If you have done the above and the problem still persists, check your port 443.

  9. #9
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: Help please "Failed to connect"

    I have followed your instruction but my problem is not resolved .

  10. #10
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: Help please "Failed to connect"

    I had the same issue and I resolved it by doing what I mentioned in my previous post. Try to clean your solution and rebuild everything.
    Check your API. My issue was that https was not binded on my IIS website and I also had to open the port both on the firewall and on the router.

  11. #11
    Apprentice pepitox is offline
    MemberRank
    May 2014 Join Date
    17Posts

    Re: Help please "Failed to connect"

    thank you very much for your help.



Advertisement