Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: 500 error on a simple request

by blue_cowdawg (Monsignor)
on Sep 24, 2014 at 16:07 UTC ( [id://1101823]=note: print w/replies, xml ) Need Help??


in reply to 500 error on a simple request

      '500 Can\'t connect to www.xxxxxxxx.com:80 (Bad hostname \'www.xxxxxxxx.com\')

This looks to be a DNS issue and not a Perl issue. If the hostname cannot be resolved have a word with your network support folks and find out why. You could to a

nslookup www.xxxxxxxx.com
or
host www.xxxxxxxxxx.com
and see if it resolves from the command line.


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.

Replies are listed 'Best First'.
Re^2: 500 error on a simple request
by sylph001 (Sexton) on Sep 24, 2014 at 17:16 UTC

    Here's result from nslookup and also resolv.conf file.

    It seems the first nameserver in the list doesn't work but the second does.

    Does that mean my perl program always uses the first nameserver from the list?

    Any suggestions what I should do before getting to support guys?

    $ /usr/sbin/nslookup www.xxxxxxxx.com
    ;; Got recursion not available from 172.25.226.13, trying next server
    Server:         172.25.229.141
    Address:        172.25.229.141#53

    Non-authoritative answer:
    Name:   www.xxxxxxxx.com
    Address: 207.xxx.xx.xxx

    $ more /etc/resolv.conf
    options timeout:2 retrans:1 retry:1
    domain xxxxxxxx
    nameserver 172.25.226.13
    nameserver 172.25.229.141
    nameserver 172.25.226.16

      Hi,

      Do the same on the other two systems, present everything to Support and ask them if they have been messing with the system that has stop working properly.

      Ask nicely, it's best to stay friends with Support

      J.C.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1101823]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found