Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

sockaddr_family, length is 0, should be at least 2

by vshah (Initiate)
on Jan 16, 2020 at 12:08 UTC ( #11111479=perlquestion: print w/replies, xml ) Need Help??

vshah has asked for the wisdom of the Perl Monks concerning the following question:

Getting error in perl version 5.16.3 wpnInterfaceSoapServer25215:000 catch(): wpnSoapForkingDaemon::clientSoapRequestHandler(): Bad arg length for Socket::sockaddr_family, length is 0, should be at least 2 at /usr/share/perl5/vendor_perl/IO/So cket/IP.pm line 694 Please help
  • Comment on sockaddr_family, length is 0, should be at least 2

Replies are listed 'Best First'.
Re: sockaddr_family, length is 0, should be at least 2
by Corion (Pope) on Jan 16, 2020 at 12:19 UTC

    Most likely, the address you are getting in whatever HTTP / SOAP server you are running is invalid.

    Somebody calls sockaddr_family on an address that is likely undef, most likely because some code above it failed to properly allocate a host name.

      Thank you !! When I did nslookup it gave me different hostname, if I did nslookup <ip> then it gave me correct hostname. So might be DNS is not configured correctly.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11111479]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-02-20 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (86 votes). Check out past polls.

    Notices?