Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: LWP::UserAgent Mystery

by Herkum (Parson)
on Oct 17, 2007 at 09:23 UTC ( #645407=note: print w/replies, xml ) Need Help??

in reply to LWP::UserAgent Mystery

Do a Dump on the $xmlString instead of the result. I am willing to bet that the document that you are requesting is either,

  1. Invalid XML
  2. You are not getting a document back.
If you are not getting a document back, it might have to do with where your script is located. It might not be able to reach the URL from the server that it is installed on( stuff happens ).

Replies are listed 'Best First'.
Re^2: LWP::UserAgent Mystery
by Anonymous Monk on Oct 17, 2007 at 11:00 UTC
    Thanks for the replies...

    it was the webhost blocking outgoing connections, I knew it! I'm so annoyed.
    Looks like I was talking to a junior member of support who was guessing all sorts.
    An expert took over and told me it was a server problem blocking outgoing connections (what a surprise)which is being resolved.

    For info, the error message I got was

    500 Can't connect to somedomain:80 (connect: No route to host)

    so imagine how I felt when the junior told me I had my outgoing connection blocked due to terms and conditions abuse (incorrect)!!
    Anyway, I'm talking to someone who knows what they're doing now...

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-05-21 16:20 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (76 votes). Check out past polls.