Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Net::Telnet blocks

by kp2a (Sexton)
on Jul 19, 2010 at 15:57 UTC ( #850282=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Net::Telnet blocks
in thread Net::Telnet blocks

tried $telnet->print and $telnet>waitfor rather that $telnet->login

same results: sucessful login but blocked for timeout seconds

while playing with pompts I got this message which never appeared before as I had always had the correct prompt

This indicates to me that the block until timeout has nothing to do with prompt matching:

error => telnet: 10.100.176.104 pattern match timed-out


Comment on Re^3: Net::Telnet blocks
Replies are listed 'Best First'.
Re^4: Net::Telnet blocks
by Corion (Pope) on Jul 19, 2010 at 16:00 UTC

    Well, this is exactly the error message you would get when Net::Telnet times out while waiting for a prompt:

    ## Check for failure. return $self->error("pattern match timed-out") if $s->{timedout};

    So, something changed with your remote end. You need to debug this, see the methods mentioned previously to you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (19)
As of 2015-07-07 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls