Hi Ernie
Actually lesson creation is still broken or it broke by itself (can't remember if it actually did work). Since last week we only had to grade finalized sequences I forgot to test. But now students ran into this in another class:
When clicking on "Update this LAMS session", one has to wait a few minutes then get:
Call to LAMS failed: received no response or connection was refused. Please check that you have the correct LAMS server URL and that it is online.
error/lamslesson/restcallfail
Any ideas why this happens ?
- greetings ! - Daniel
In the apache log I can see the following:
[Thu Jun 02 15:47:18.395020 2016] [:error] [pid 5684] [client 129.194.30.22:41172] Default exception handler: Call to LAMS failed: received no response or connection was refused. Please check that you have the correct LAMS server URL and that it is online. Debug: \nError code: restcallfail\n* line 488 of /lib/setuplib.php: moodle_exception thrown\n* line 343 of /mod/lamslesson/lib.php: call to print_error()\n* line 92 of /mod/lamslesson/mod_form.php: call to lamslesson_get_sequences_rest()\n* line 194 of /lib/formslib.php: call to mod_lamslesson_mod_form->definition()\n* line 86 of /course/moodleform_mod.php: call to moodleform->__construct()\n* line 254 of /course/modedit.php: call to moodleform_mod->__construct()\n, referer: http://tecfalms.unige.ch/moodle/mod/lamslesson/view.php?id=8332
In the LAMS log:
lams.log
- nothing
local_host_access
129.194.7.79 - - [02/Jun/2016:15:42:16 +0200] "POST /lams//services/xml/LessonManager HTTP/1.1" 200 256 "-" "MoodleBot/1.0"
129.194.7.79 - - [02/Jun/2016:15:47:29 +0200] "POST /lams/services/getServerTime HTTP/1.1" 500 552 "-" "MoodleBot/1.0"
server.log:
2016-06-02 15:47:29,076 ERROR [org.apache.axis.EXCEPTIONS] (http-0.0.0.0-8080-4)
Generating fault class
AxisFault
faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
faultSubcode:
faultString: no SOAPAction header!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java\
:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSess\
ionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java\
:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
Using:
LAMS 2.4
Ubuntu 14LTS
I also noticed that Moodle detects a huge lag which is strange since both Moodle and LAMS sit on the same machine and host.
LAMS time: 01-01-1970 01:00:00.000000
Moodle time:06-02-2016 15:47:29.000000
Offset: -24414587.48515 minutes
-- greetings ! Daniel
Posted by Daniel Schneider