Subject: | Can't connect to ibs.bankwest.com.au:443 |
I am unable to access particular websites over HTTPS using libwww-perl-
6.08 from Perl v5.20.1 on an ARM-based device running Debian Wheezy.
lwp-request can connect to some sites:
$ perl-5.20.1/bin/lwp-request https://google.com/ | head -1
<!doctype html>...
but not others:
$ perl-5.20.1/bin/lwp-request https://ibs.bankwest.com.au/
Can't connect to ibs.bankwest.com.au:443
despite other things on the same system being able to:
$ curl -s https://ibs.bankwest.com.au/ | head -1
<HTML><HEAD>
Module versions:
- LWP::Protocol::https v6.06
- IO::Socket::SSL v1.999
- Net::SSLeay v1.66
- Crypt::SSLeay v0.72
libssl-dev version:
$ dpkg -s libssl-dev | grep Version:
Version: 1.0.1e-2+deb7u12
Perl information:
$ perl-5.20.1/bin/perl -V
Summary of my perl5 (revision 5 version 20 subversion 1) configuration:
Platform:
osname=linux, osvers=3.7.3, archname=armv5tel-linux
uname='linux plug 3.7.3 #1 preempt thu jan 17 13:00:31 mst 2013 armv5tel gnulinux '
config_args='-Dprefix=/var/lib/bankwatch/perl-5.20.1 -de -A'eval:scriptdir=/var/lib/bankwatch/perl-5.20.1/bin''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.6.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/arm-linux-gnueabi/4.6/include-fixed /usr/include/arm-linux-gnueabi /usr/lib /lib/arm-linux-gnueabi /lib /usr/lib/arm-linux-gnueabi
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Oct 15 2014 17:29:05
@INC:
/var/lib/bankwatch/perl-5.20.1/lib/site_perl/5.20.1/armv5tel-linux
/var/lib/bankwatch/perl-5.20.1/lib/site_perl/5.20.1
/var/lib/bankwatch/perl-5.20.1/lib/5.20.1/armv5tel-linux
/var/lib/bankwatch/perl-5.20.1/lib/5.20.1
.