Actions
Bug #488
closedwarden-client-2.0.0-beta: osetrit pad klienta pri jeho neuspesne akci tak, aby nezabil aplikaci, ktera jej vola (napr. pri alert handshake failure)
Start date:
06/12/2012
Due date:
% Done:
0%
Estimated time:
Description
Zjistitli jsme, ze klient pri neuspesnem pokusu o prihlaseni na Warden server, napr. pri problemech s SSL handshakem klient umre a s nim i cela aplikace, ktera jej vola:
[root@nfsen etc]# /opt/warden-client/doc/sender.pl DEBUG: .../IO/Socket/SSL.pm:1622: new ctx 320599712 DEBUG: .../IO/Socket/SSL.pm:339: socket not yet connected DEBUG: .../IO/Socket/SSL.pm:341: socket connected DEBUG: .../IO/Socket/SSL.pm:359: ssl handshake not started DEBUG: .../IO/Socket/SSL.pm:409: set socket to non-blocking to enforce timeout=180 DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> -1 DEBUG: .../IO/Socket/SSL.pm:432: ssl handshake in progress DEBUG: .../IO/Socket/SSL.pm:442: waiting for fd to become ready: SSL wants a read first DEBUG: .../IO/Socket/SSL.pm:462: socket ready, retrying connect DEBUG: .../IO/Socket/SSL.pm:422: Net::SSLeay::connect -> 0 DEBUG: .../IO/Socket/SSL.pm:470: connection failed - connect returned 0 DEBUG: .../IO/Socket/SSL.pm:1299: SSL connect attempt failed because of handshake problems error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure DEBUG: .../IO/Socket/SSL.pm:1299: IO::Socket::INET configuration failed error:00000000:lib(0):func(0):reason(0) DEBUG: .../IO/Socket/SSL.pm:1659: free ctx 320599712 open=320599712 DEBUG: .../IO/Socket/SSL.pm:1667: OK free ctx 320599712 not well-formed (invalid token) at line 1, column 3, byte 3 at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm line 187
Je tedy potreba tento stav, ale take vsechny ostatni, osetrit tak, aby pri problemech klienta nedoslo k padu aplikace, ktera jej vola. Vice informaci poskytne Tom.
Actions