Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

sockaddr_family, length is 0, should be at least 2

by vshah (Initiate)
on Jan 16, 2020 at 12:08 UTC ( [id://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 (Patriarch) 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found