Jump to content


Photo

Today I started getting: Lua runtime error: libs/socket.lua:29: attempt to call field 'getaddrinfo' (a nil value)

socket.luagetaddrinfonil value

    2 replies to this topic

    #1 IBHalliwell

    IBHalliwell

      Advanced Member

    • Members
    • PipPipPip
    • 102 posts
    • LocationBastok (Chicago)

    Posted 06 May 2017 - 01:21 AM

    Hello,

     

    When trying to do a bind, I'm getting the error:  Lua runtime error: libs/socket.lua:29: attempt to call field 'getaddrinfo' (a nil value)

     

    Yet, the value I'm passing for the host is 127.0.0.1 (hard coded).  For example:

     

    host = "127.0.0.1"

    local server = assert(socket.bind(host, 0))

     

    also tried:  local server = assert(socket.bind("127.0.0.1", 0))

     

    even went into sock.lua and coded host to be 127.0.0.1.

     

    Yesterday this worked fine and today it doesn't ....   I did a reboot **and** turned OFF the FIREWALL.

     

    Thank you in advance for your help.

     

    P.S.  I also tried uninstalling and reinstalling Windower without any change.


    • bpellin likes this

    #2 bpellin

    bpellin

      Newbie

    • Members
    • Pip
    • 1 posts

      Posted 08 May 2017 - 03:42 AM

      I started seeing the same thing yesterday. It was working a day or two before.



      #3 IBHalliwell

      IBHalliwell

        Advanced Member

      • Members
      • PipPipPip
      • 102 posts
      • LocationBastok (Chicago)

      Posted 11 May 2017 - 03:39 AM

      I started seeing the same thing yesterday. It was working a day or two before.

       

      Hi,

       

      It is working for me now, as I contacted the developers who sent me two new files.  They didn't notice the problem, as they had the new files, but we didn't as we did still had the old ones.  Once I installed these two new (core.dll) files, sockets worked again!

       

      Last I heard they were trying to figure out why these new files didn't go out through the update process.

       

      The correct file dates and sizes are:

       

      Wed 05/10/2017 22:34:43.22 C:\Program Files (x86)\Windower4\plugins>dir core.dll /s
       Volume in drive C is Vanadiel
       Volume Serial Number is 6EE9-5532
       
       Directory of C:\Program Files (x86)\Windower4\plugins\libs\mime
       
      05/08/2017  23:15            15,872 core.dll
                     1 File(s)         15,872 bytes
       
       Directory of C:\Program Files (x86)\Windower4\plugins\libs\socket
       
      05/08/2017  23:16            44,544 core.dll
                     1 File(s)         44,544 bytes
       
           Total Files Listed:
                     2 File(s)         60,416 bytes
       
      You can trust this copy & paste or go find these URLs in the Issues page at: https://github.com/W...sues/issues/908
       
      The links are to their dropbox account.
       
      Hope this helps!
       
      IBHalliwell on Ragnarok (formerly of Caitsith)






      Also tagged with one or more of these keywords: socket.lua, getaddrinfo, nil value

      1 user(s) are reading this topic

      0 members, 1 guests, 0 anonymous users