Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: Re: Re: LAMS MOODLE 3.0x Integration not working


 
Search: 

11: Re: Re: Re: Re: Re: Re: Re: LAMS MOODLE 3.0x Integration not working
In response to 8 06/02/16 07:57 AM
[ Reply | Forward ]
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

12: Re: Re: Re: Re: Re: Re: Re: Re: LAMS MOODLE 3.0x Integration not working
In response to 11 06/14/16 01:08 AM
[ Reply | Forward ]
Hi Daniel,

Sorry for the delay.

I tried to replicate the problem you were experiencing today but wasn't able to do.

Here's a little video I did to demonstrate.

Perhaps I'm doing something different?

Thanks,

Ernie

Posted by Ernie Ghiglione

13: Re: Re: Re: Re: Re: Re: Re: Re: Re: LAMS MOODLE 3.0x Integration not working
In response to 12 06/16/16 06:32 AM
[ Reply | Forward ]
Hi Ernie and thanx again for looking into this !

Ouch bad news. Your video demonstrates exactly what the integration should do. (In particular the towards the end, i.e. editing/selecting a LAMS lesson).

Can I do something to provide you with more data ?

- Daniel

Posted by Daniel Schneider

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum