Hi!
On 2013-11-05 09:43, Federico Leva (Nemo) wrote:
You should install the modules your code is crying about. :) The script I was running asked me the following: Crypt::SSLeay IO::Socket::SSL LWP::Protocol::https
all of them seem to be installed:
seth@willow:~/bots$ cpan [...]
cpan[1]> install Crypt::SSLeay IO::Socket::SSL LWP::Protocol::https CPAN: Storable loaded ok (v2.22) Going to read '/home/seth/.cpan/Metadata' Database was generated on Wed, 06 Nov 2013 18:53:02 GMT CPAN: Module::CoreList loaded ok (v2.43) Crypt::SSLeay is up to date (0.64). IO::Socket::SSL is up to date (1.955). LWP::Protocol::https is up to date (6.04).
the error occurs though:
seth@willow:~/bots$ ./camelbot_test.pl Wiki set to https://de.wikipedia.org/w/api.php Error code 2: 500 Can't connect to de.wikipedia.org:443 (Crypt-SSLeay can't verify hostnames) : error occurred when accessing https://de.wikipedia.org/w/api.php after 6 attempt(s) at ./camelbot_test.pl line 24. Error code 2: 500 Can't connect to de.wikipedia.org:443 (Crypt-SSLeay can't verify hostnames) : error occurred when accessing https://de.wikipedia.org/w/api.php after 6 attempt(s) at ./camelbot_test.pl line 24. [...]
:-(