Skip to main content


I'm getting an SSL failure , and I can’t figure out what isn’t migrated properly from the perl setup

'auto_upgrade' => 1 }, 'Mojo::Asset::Memory' ) }, 'Mojo::Content::Single' ), 'error' => [ 'IO::Socket::SSL 1.75 required for TLS support' ], 'finished' => 3, 'state' => 'finished'

It seems to be using the same exact local Perl config but after a long time chasing I have dumped out the module includes for perl and it is failing to load the file:

$VAR475 = 'IO/Socket/SSL.pm';
$VAR476 = undef;And $VAR161 = 'Net/SSLeay.pm';
$VAR162 = undef;

Whereas on the working (current, old server)It’s printing out correctly:

$VAR479 = 'IO/Socket/SSL.pm';
$VAR480 = '/var/home/tyeeapps/support.thetyee.ca/www/local/lib/perl5/IO/Socket/SSL.pm';$VAR161 = 'Net/SSLeay.pm';
$VAR162 = '/var/home/tyeeapps/support.thetyee.ca/www/local/lib/perl5/x86_64-linux/Net/SSLeay.pm';

I've reinstalled the revelant modules from yum at the system level, which shouldn't matter. As well as on the perlbrew install in play, and in Carton, which the app is using

relevant line of code:

https://github.com/TheTyee/support.thetyee.ca/blob/e5cf4fd189ea4256c7de2a4f91303908770125a7/app.pl#L705

which does:

$res

= $ua->post( $API

. 'subscriptions' =>

{ 'Content-Type' => 'application/xml', Accept => '*/*' } =>

$transxml )->res;

}

my $xml = $res->body;

submitted by /u/nkrva
[link] [comments]