Forum Problems Installing LAMS: lams - Moodle Connection


 
You may request notification for lams - Moodle Connection.
Search: 

1: lams - Moodle Connection
04/16/09 09:45 PM
[ Reply | Forward ]
I have installed lams 2.2. and Moodle 1.9 in seperate servers.

When I validate lamstwo module I get the error:
"HTTP Error: Couldn't open socket connection to server http://elearning.agogiygeias.gr:8080/lams//services/VerificationService?wsdl, Error (111): Connection refused"

Nevertheless, I can open authoring environment in Lams but I can't add a lesson.
When I try to add a lesson I get the message:
"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."

Any suggestions what should I do?
Nikos

Posted by Nikos Dovros

2: Re: lams - Moodle Connection
In response to 1 04/16/09 09:48 PM
[ Reply | Forward ]
I deleted the last slash on server_url and I still get the message:
"HTTP Error: Couldn't open socket connection to server http://elearning.agogiygeias.gr:8080/lams/services/VerificationService?wsdl, Error (111): Connection refused"

Posted by Nikos Dovros

3: Re: lams - Moodle Connection
In response to 1 04/17/09 03:26 AM
[ Reply | Forward ]
Sounds like elearning.agogiygeias.gr is blocking port 8080 with a firewall - 'connection refused'. This port needs to be open to the moodle server so that the lamstwo module can talk to it.

Or LAMS isn't running port 8080 at all, but then you wouldn't be able to open authoring environment. So check that the moodle server can open a connection to port 8080 on the lams server.

Posted by Jun-Dir Liew

4: Re: Re: lams - Moodle Connection
In response to 3 04/17/09 11:19 AM
[ Reply | Forward ]
Thanks again Jun-Dir, but port 8080 is open on Lams server. I don't know how to check if moodle server can open a connection to port 8080. Could you please give me instructions how to do so?
Or how can I configure my firewall (centos 5.2. OS) to accept coonnection with moodle server.
Thank you again
Nikos

Posted by Nikos Dovros

5: Re: Re: Re: lams - Moodle Connection
In response to 4 04/18/09 07:40 AM
[ Reply | Forward ]
I tried to connect to elearning.agogiygeias.gr:8080/lams through my moodle installation in my laptop and validation was succesfull.
What does this mean? Why can't I connect through moodle installation in www.agogiygeias.gr/eclass, which is in another server?
Nikos

Posted by Nikos Dovros

6: Re: Re: Re: Re: lams - Moodle Connection
In response to 5 04/19/09 03:58 PM
[ Reply | Forward ]
Hi Nikos,

If your Moodle server is running on unix/linux, you can try to see if it can connect to LAMS on port 8080 by running telnet on port 8080:

$ telnet {your-lams-server-name-or-ip-here} 8080

If it connects, then that means that you can see the server. Otherwise the port might be blocked

Ernie

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Re: lams - Moodle Connection
In response to 6 04/21/09 03:22 AM
[ Reply | Forward ]
Hi Ernie,
I have asked the server administrator to check it and he replied that wsdl file is loaded properly.
I removed lamstwo module from Moodle and installed it form the begining, but I had the the same problem
Thanks
Nikos

Posted by Nikos Dovros

8: Re: Re: Re: Re: Re: Re: lams - Moodle Connection
In response to 7 06/18/09 05:04 PM
[ Reply | Forward ]
Make sure that the secret that LAMS and Moodle are to share is the same.
Also make sure SSl is working,installed.
John

Posted by John Andrewartha

9: Re: Re: Re: Re: Re: Re: Re: lams - Moodle Connection
In response to 8 08/23/09 06:30 AM
[ Reply | Forward ]
I have the same problem.
I have installed Lams 2.3.1 and Moodle 1.9.5 in seperate servers. It works only if Lams and Moodle are in the same server.

Posted by volcan laurent

10: Re: Re: Re: Re: Re: Re: Re: Re: lams - Moodle Connection
In response to 9 08/23/09 02:42 PM
[ Reply | Forward ]
Hi,

That might be due to a firewall issue on the Moodle server. If the Moodle server is not able to make calls to the LAMS server, then you get this error.

Run the telnet command Jun-Dir has put above to see if you can connect from the Moodle server. If not, most likely you need to allow your servers to make HTTP calls on that port.

Thanks,

Ernie

Posted by Ernie Ghiglione

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