Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: Re: Re: LAMS and Moodle 2.0


 
Search: 

25: Re: Re: Re: Re: Re: Re: Re: LAMS and Moodle 2.0
In response to 24 05/06/11 09:28 PM
[ Reply | Forward ]
Hi Afroze,

I think the error is here:


2011-05-06 22:36:32,901 [http-0.0.0.0-8080-4:] DEBUG org.lamsfoundation.lams.integration.service.IntegrationService - http://fatiedu.sma:8080/moodle/mod/lamslesson/userinfo.php?ts=1304706992900&un=fatiedu&hs=28dd88676daf61419cba19b8b535238a02306a37
2011-05-06 22:36:32,909 [http-0.0.0.0-8080-4:] ERROR org.lamsfoundation.lams.webservice.xml.LearningDesignRepositoryServlet - can not retreive user information
org.lamsfoundation.lams.integration.UserInfoFetchException: Fail to fetch user data from external server:moodle - Unexpected return HTTP Status:404

For some reason when LAMS is calling Moodle to get the user's details, it's getting a 404.

You mentioned before that if you call the URL (http://fatiedu.sma:8080/moodle/mod/lamslesson/userinfo.php?ts=1304706992900&un=fatiedu&hs=28dd88676daf61419cba19b8b535238a02306a37) from your browser you are getting the user data... is this correct?

If so, then are you using a proxy in your network?

Thanks,

Ernie

Posted by Ernie Ghiglione

26: Re: Re: Re: Re: Re: Re: Re: Re: LAMS and Moodle 2.0
In response to 25 05/08/11 12:28 AM
[ Reply | Forward ]
Hi Ernie;

I should have used nslookup or host commands instead of ping to confirm network connectivity . There was a problem with reverse lookup between the moodle and lams hosts.

Installed dnsmasq, reworked /etc/hosts, cleaned caches, used nslookup and dig to confirm connectivity -- problem resolved. I am starting to work on my lesson prototypes as I post this message.

Appreciate your help and thanks for pointing me in the right direction.

Regards,

Posted by Afroze Fatima Abidi

27: Re: LAMS and Moodle 2.0
In response to 26 05/08/11 12:54 AM
[ Reply | Forward ]
Great! Glad it's all working. Would love to hear if you have any feedback to improve this.

Thanks,

Ernie

Posted by Ernie Ghiglione

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