in reply to JSON::RPC::Server with SSL

Hi, I was looking thru some code on stackoverflow, and there are ways to try and catch the error message in your client. For example:
my $res = $client->call( $uri, $obj ); if($res){ if ($res->is_error) { print "Error : ", $res->error_message; } else { print $res->result; } } else { print $client->status_line; }

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: JSON::RPC::Server with SSL
by mwb613 (Beadle) on Mar 11, 2014 at 19:45 UTC
    Thanks Zentara! I incorporated that handling code into my client. I am now getting the following error message in my client (with the daemon still failing w/o error):
    No res 500 Can't connect to 127.0.0.1:88888
    I've been trying to extract some info from the server methods shown here but can't seem to get to the HTTPS::Daemon or IO::Socket::SSL error that is occurring.
      88888 is greater than 65535 and is therefore not a valid port number.
        Thanks Hazylife, I tried using port 8808 and got the same result.