Forum Problems Installing LAMS: Re: Moodle/LAMS login failure


 
Search: 

3: Re: Moodle/LAMS login failure
In response to 1 09/22/10 08:14 AM
[ Reply | Forward ]
Hi Aureliano,

Just double check the User Information URL in the LAMS side (see http://is.gd/fn1VA). Make sure that it is correct according to your Moodle server URL/domain.

Thanks,

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Moodle/LAMS login failure
In response to 3 09/25/10 05:13 PM
[ Reply | Forward ]
Ok, going a bit nuts here. :)


I get the following message when I do the validation from moodle's LAMS v2:

HTTP Error: Couldn't open socket connection to server http://localhost:8080/lams/services/VerificationService?wsdl, Error (111): Connection refused

And this when I try to add a new lesson from within the course:

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.

When I select the Open Authoring from moodle, it works.

Thank you for your help,

Aureliano Nava

Posted by Aureliano Nava

6: Re: Re: Re: Moodle/LAMS login failure
In response to 5 09/25/10 05:28 PM
[ Reply | Forward ]
I'm running the LAMS server on my laptop using WAMP and I do the connecting mostly form within my home network. I access the LAMS server as http://localhost:8080/lams. As mentioned earlier, my moodle service is being hosted with Bluehost.

LAMS setup is:

id: mylausd
key: mylausd
name: mylausd
description: mylausd
prefix: mylausd

user info url: http://mylausd.com/mylausd/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%

external server url: http://mylausd.com/mylausd

and from moodle's LAMS v2:

server url: http://localhost:8080/lams
server id: mylausd
server key: mylausd
server source: mylausd


Thank you,

A. Nava

Posted by Aureliano Nava

7: Re: Re: Re: Re: Moodle/LAMS login failure
In response to 6 09/26/10 08:26 AM
[ Reply | Forward ]
Hi Aureliano,

Unfortunately, this is not going to work if you must refer your laptop as localhost.

The Moodle LAMS module (in Moodle) needs to contact LAMS to get the list of available sequences you have to create lessons. Since you have configure in Moodle that the LAMS URL is http://localhost:8080/lams when Moodle tries to contact localhost, it won't reach your laptop. (As localhost means 'this computer').

Can you refer to your laptop with a static internet public IP?

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to Problems Installing LAMS