On Thursday, May 23, 2019 at 2:18:10 PM UTC-4, Dan Book wrote: > > You could easily try by installing them to a local::lib with cpanm and > temporarily adding the local::lib to your PERL5LIB. This would at least > help isolate the problem. > > $ wget -qO cpanm https://cpanmin.us # or App::cpanminus probably > available from repo > $ perl ./cpanm -l local Net::SSLeay IO::Socket::SSL > $ PERL5LIB=local/lib/perl5 perl app.pl daemon ... >
Thanks - I knew there must be a relatively simple way to do this, but I didn't realize quite how simple ;) I tried with up to date Net::SSLeay, IO::Socket::SSL, and Mojolicious itself, but the problem unfortunately persists: ~$ PERL5LIB=local/lib/perl5 mojo daemon -l https://*:3000 Server available at https://127.0.0.1:3000 ^Cyitzhak@lila:~$ PERL5LIB=local/lib/perl5 mojo version CORE Perl (v5.28.1, linux) Mojolicious (8.17, Supervillain) OPTIONAL Cpanel::JSON::XS 4.04+ (n/a) EV 4.0+ (4.25) IO::Socket::Socks 0.64+ (n/a) IO::Socket::SSL 2.009+ (2.066) Net::DNS::Native 0.15+ (n/a) Role::Tiny 2.000001+ (2.000006) This version is up to date, have fun! $ mojo get -k https://127.0.0.1:3000 SSL connect attempt failed at /usr/share/perl5/Mojolicious/Command/get.pm line 77. FWIW: $ openssl version OpenSSL 1.1.1b 26 Feb 2019 -Dan > > On Thu, May 23, 2019 at 2:04 PM Celejar <cel...@gmail.com <javascript:>> > wrote: > >> >> >> On Wednesday, May 22, 2019 at 10:21:56 AM UTC-4, Stefan Adams wrote: >>> >>> >>> >>> On Wed, May 22, 2019 at 7:20 AM Celejar <cel...@gmail.com> wrote: >>> >>>> Make sure everything is up to snuff with IO::Socket::SSL >>>>> >>>> >>>> What would you suggest I do, specifically? >>>> >>> >>> Unfortunately, I'll be of little help here. Did listening on https for >>> your app ever work on this instance that is currently failing? The latest >>> version of IO::Socket::SSL is 2.066 -- perhaps update? I think >>> IO::Socket::SSL depends on Net::SSLeay, perhaps update it to the latest >>> version 1.88? Of course, it's always a good idea to update Mojolicious to >>> the latest version. Do those one at a time and test after each update. >>> What about updating your openssl library openssl, libssl1.0.0, and >>> libssl-dev? I'm on Ubuntu 16.04 with openssl 1.0.2g. >>> >> >> Thanks. I'm not sure these version are available from the Debian repos, >> and installing them by hand will take some doing. [I already tried updating >> one of the perl modules via Debian's dh-make-perl tool, but the resulting >> package wouldn't install. I've never used raw CPAN.] >> >>> >>> Before doing any of that, I'm just curious: openssl, curl, and wget all >>> fail for you... what about trying the mojo useragent? >>> >> >> >>> >>> $ mojo get -k https://127.0.0.1:3000 >>> Your Mojo is working! >>> >>> >> $ mojo get -k https://127.0.0.1:3000 >> SSL connect attempt failed >> at /usr/share/perl5/Mojolicious/Command/get.pm line 77. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mojolicious" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to mojol...@googlegroups.com <javascript:>. >> To post to this group, send email to mojol...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/mojolicious. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/mojolicious/cb8237fb-7a77-4ac8-b4ee-add1fb233d33%40googlegroups.com >> >> <https://groups.google.com/d/msgid/mojolicious/cb8237fb-7a77-4ac8-b4ee-add1fb233d33%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To post to this group, send email to mojolicious@googlegroups.com. Visit this group at https://groups.google.com/group/mojolicious. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/57509597-6a36-4ce2-9e01-5ab1220c59a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.