## WeBWorK Main Forum

### Adding homework problems from library works without SSL but when turn on SSL get this Apache error...

by Christian Seberino -
Number of replies: 2
Adding homework problems from library works without SSL but when turn on SSL get this Apache error...

[Mon Sep 08 04:50:57.574258 2014] [perl:error] [pid 1821]
[client 74.193.13.167:34625]
[/webwork2/instructorXMLHandler] Can't call method "result" on an undef
value at /opt/webwork/webwork2/lib/WebworkClient.pm line 164.\n * in
WebworkClient::xmlrpcCall called at line 318 of
/opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/instructorXMLHandler.pm\n *
at line 183 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm\n * in
WeBWorK::ContentGenerator::go called at line 370 of
/opt/webwork/webwork2/lib/WeBWorK.pm, referer:
https://services.philfour.com/webwork2/AP_Calculus_AB/instructor/setmaker/
There were a lot of errors

### Re: Adding homework problems from library works without SSL but when turn on SSL get this Apache error...

by Arnold Pizer -
Hi,

The first thing I would do is to try in site.conf BOTH these settings:

$server_root_url = https://yourserver.yourschool.edu $server_root_url = http://yourserver.yourschool.edu
and remember to restart apache2 after each change.  Are you using an official or self signed certificate?  This may or not be related to the problem below which usually manifests itself with the chapter and sections lists not updating in the library browser.

You might want to try replacing /opt/webwork/webwork2/lib/WebworkClient.pm
with
https://github.com/goehle/webwork2/blob/nocheckcert/lib/WebworkClient.pm

See the discussion https://github.com/openwebwork/webwork2/pull/474.

If you are using Ubuntu 14.04, the standard instructions work with one  strange setting (if you use self signed certificates)  see http://webwork.maa.org/wiki/Installation_Manual_for_2.9_on_Ubuntu_14.04#Check_site.conf

If you look at the forums you will see others who have had trouble with mis matched perl modules, etc.

Arnie