sedusedan has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
A few weeks ago, my module [Finance::Bank::ID::BCA] started failing to connect to the bank site https://ibank.klikbca.com/ with a Connection Reset error. The module uses [WWW::Mechanize] (which is a subclass of LWP::UserAgent). A quick check with curl seems to indicate that the server now denies HTTP/1.0 protocol:
% curl -v https://ibank.klikbca.com/ ; # success % curl --http1.0 -v https://ibank.klikbca.com/ ; # fails
Using wget also fails.
But checking with Gepok (gepok.client_protocol) indicates that wget as well as LWP already uses HTTP/1.1 instead of HTTP/1.0 to the server.
Also worth noting, don't know if this is correct, my Debian Squeeze wget seems to be only using TLSv1 (from playing with --secure-protocol option) while curl seems to use SSLv3 (looking at -v output).
Any pointer is appreciated on how to make LWP work with this site. As a last resort I might use curl (via [WWW::Curl], for example) but I'll probably need to replace WWW::Mechanize too, which will be painful.
|
|---|