diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-03-22 16:07:54 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-03-22 16:07:54 -0700 |
commit | 7a1f0f2c760932b4a7d3732a298fce0570f3fe7d (patch) | |
tree | 0b436da63f5623f07f06b3d298f2a6d763666bc7 /FS | |
parent | 2262aed6720482f35b5c71fcc608ddca4bf51cb6 (diff) |
fix connection errors to print service under deb 8 ? RT#75293
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/Template_Mixin.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm index 8734a78b4..12a0e7c06 100644 --- a/FS/FS/Template_Mixin.pm +++ b/FS/FS/Template_Mixin.pm @@ -2417,6 +2417,7 @@ sub postal_mail_fsinc { 'ssl_opts' => { verify_hostname => 0, SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, + SSL_version => 'SSLv3', } ); my $response = $ua->request( POST $url, [ @@ -2450,7 +2451,8 @@ sub postal_mail_fsinc { 'country' => $bill_location->country, ]); - die "Print connection error: ". $response->message. "\n" + die "Print connection error: ". $response->message. + ' ('. $response->as_string. ")\n" unless $response->is_success; local $@; |