mr_slava
11-12-2010, 03:19 PM
Trying to use "Telnet" Action from VBP 7.7. The action is failing and I cannot get the reason what is going on. The same connection works just fine from Putty. The following is the log from the action:
11/12/2010 3:19:24 PM: -------------------- Starting Build: 'ssh.bld' --------------------
11/12/2010 3:19:24 PM: Building project step 2 - Telnet...
Connecting to SSH server 'acer2.ourhost.local' on port 22
VISBUILDPRO 151924 0000 INF: started thread 0xA64 trace on 11-12-2010 15:19:24 [6.0.6030]
VISBUILDPRO 151924 0000 INF: gethostbyname("acer2.ourhost.local") returned 172.10.10.6 (acer2.ourhost.local)
VISBUILDPRO 151924 0000 INF: socket(2, 1, 0) returned 844
VISBUILDPRO 151924 0016 INF: setsockopt(844, 65535, 256, 0x22edfe4, 4) returned 0
VISBUILDPRO 151924 0000 INF: setsockopt(844, 6, 1, 0x22edfe4, 4) returned 0
VISBUILDPRO 151924 0000 INF: bind(844, 0.0.0.0:0, 16) returned 0
VISBUILDPRO 151924 0015 INF: connect(844, 172.10.10.6:22, 16) returned 0
VISBUILDPRO 151924 0000 INF: WSAEventSelect(844, 0x358, 0x0000003f) returned 0
VISBUILDPRO 151924 0000 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0110 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0015 INF: recv(844, 0x22e907c, 20480, 0) returned 21
VISBUILDPRO 151924 0000 INF: send(844, 0x20762bc, 25, 0) returned 25
VISBUILDPRO 151924 0000 INF: send(844, 0x20762bc, 512, 0) returned 512
VISBUILDPRO 151924 0000 INF: send(844, 0x2076a5c, 104, 0) returned 104
VISBUILDPRO 151924 0031 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 784
VISBUILDPRO 151924 0000 INF: send(844, 0x2076a5c, 16, 0) returned 16
VISBUILDPRO 151924 0032 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 536
VISBUILDPRO 151924 0187 INF: send(844, 0x2076a5c, 512, 0) returned 512
VISBUILDPRO 151924 0016 INF: send(844, 0x20762bc, 16, 0) returned 16
VISBUILDPRO 151924 0031 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0016 INF: recv(844, 0x22e907c, 20480, 0) returned 1104
VISBUILDPRO 151925 0203 INF: send(844, 0x20762bc, 16, 0) returned 16
VISBUILDPRO 151925 0015 INF: send(844, 0x20762bc, 52, 0) returned 52
VISBUILDPRO 151925 0000 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151925 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 52
VISBUILDPRO 151925 0000 INF: send(844, 0x20762bc, 84, 0) returned 84
VISBUILDPRO 151925 0016 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151925 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 68
VISBUILDPRO 151925 0016 INF: send(844, 0x20762bc, 84, 0) returned 84
VISBUILDPRO 151925 0000 INF: WSAEventSelect(844, 0x358, 0x00000000) returned 0
VISBUILDPRO 151925 0000 INF: closesocket(844) returned 0
Error connecting to SSH server: Invalid handle passed to function
11/12/2010 3:19:25 PM: Step '2 - Telnet' failed
11/12/2010 3:19:25 PM: Build ended (elapsed = 00:00:01).
Can I get some help on the issue. Thanks.
11/12/2010 3:19:24 PM: -------------------- Starting Build: 'ssh.bld' --------------------
11/12/2010 3:19:24 PM: Building project step 2 - Telnet...
Connecting to SSH server 'acer2.ourhost.local' on port 22
VISBUILDPRO 151924 0000 INF: started thread 0xA64 trace on 11-12-2010 15:19:24 [6.0.6030]
VISBUILDPRO 151924 0000 INF: gethostbyname("acer2.ourhost.local") returned 172.10.10.6 (acer2.ourhost.local)
VISBUILDPRO 151924 0000 INF: socket(2, 1, 0) returned 844
VISBUILDPRO 151924 0016 INF: setsockopt(844, 65535, 256, 0x22edfe4, 4) returned 0
VISBUILDPRO 151924 0000 INF: setsockopt(844, 6, 1, 0x22edfe4, 4) returned 0
VISBUILDPRO 151924 0000 INF: bind(844, 0.0.0.0:0, 16) returned 0
VISBUILDPRO 151924 0015 INF: connect(844, 172.10.10.6:22, 16) returned 0
VISBUILDPRO 151924 0000 INF: WSAEventSelect(844, 0x358, 0x0000003f) returned 0
VISBUILDPRO 151924 0000 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0110 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0015 INF: recv(844, 0x22e907c, 20480, 0) returned 21
VISBUILDPRO 151924 0000 INF: send(844, 0x20762bc, 25, 0) returned 25
VISBUILDPRO 151924 0000 INF: send(844, 0x20762bc, 512, 0) returned 512
VISBUILDPRO 151924 0000 INF: send(844, 0x2076a5c, 104, 0) returned 104
VISBUILDPRO 151924 0031 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 784
VISBUILDPRO 151924 0000 INF: send(844, 0x2076a5c, 16, 0) returned 16
VISBUILDPRO 151924 0032 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 536
VISBUILDPRO 151924 0187 INF: send(844, 0x2076a5c, 512, 0) returned 512
VISBUILDPRO 151924 0016 INF: send(844, 0x20762bc, 16, 0) returned 16
VISBUILDPRO 151924 0031 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151924 0016 INF: recv(844, 0x22e907c, 20480, 0) returned 1104
VISBUILDPRO 151925 0203 INF: send(844, 0x20762bc, 16, 0) returned 16
VISBUILDPRO 151925 0015 INF: send(844, 0x20762bc, 52, 0) returned 52
VISBUILDPRO 151925 0000 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151925 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 52
VISBUILDPRO 151925 0000 INF: send(844, 0x20762bc, 84, 0) returned 84
VISBUILDPRO 151925 0016 INF: WSAEnumNetworkEvents(844, 0x0, 0x022ee09c) returned 0
VISBUILDPRO 151925 0000 INF: recv(844, 0x22e907c, 20480, 0) returned 68
VISBUILDPRO 151925 0016 INF: send(844, 0x20762bc, 84, 0) returned 84
VISBUILDPRO 151925 0000 INF: WSAEventSelect(844, 0x358, 0x00000000) returned 0
VISBUILDPRO 151925 0000 INF: closesocket(844) returned 0
Error connecting to SSH server: Invalid handle passed to function
11/12/2010 3:19:25 PM: Step '2 - Telnet' failed
11/12/2010 3:19:25 PM: Build ended (elapsed = 00:00:01).
Can I get some help on the issue. Thanks.