- Posts: 16
[Solved] Web Services Received empty response from Moodle
- tim
- Topic Author
- Offline
- New Member
-
Less
More
13 years 2 months ago - 13 years 1 month ago #1
by tim
[Solved] Web Services Received empty response from Moodle was created by tim
Hi I have looked through the forum for a solution. I have tried turning off our firewall but still the same. We are running on a dedicated webserver that hosts joomla in sub folder of moodle. But we are gettiung the error - Joomdle Web Services Received empty response from Moodle. I have isolated the problem to them being on the same server and possibly in the same domain. But hope you will be able to give us the insight we need to fix the problem.
I suspect it is an issue with the loopback on the server or some such but having switched of the server firewall and got no where I am not sure
Thanks in advance
I hope the holiday was good
Cheers
Tim
I suspect it is an issue with the loopback on the server or some such but having switched of the server firewall and got no where I am not sure
Thanks in advance
I hope the holiday was good
Cheers
Tim
Last edit: 13 years 1 month ago by Antonio Durán.
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #2
by Chris
Replied by Chris on topic Joomdle Web Services Received empty response from Moodle
Hi there,
Still not back from holiday yet
Being on the same domain is actually easier than when not on the same domain. Normally people install Moodle in a subfolder of Joomla (ie Joomla in the root) but either way it should not matter.
Have you configured using the server's internal ip address?
Still not back from holiday yet
Being on the same domain is actually easier than when not on the same domain. Normally people install Moodle in a subfolder of Joomla (ie Joomla in the root) but either way it should not matter.
Have you configured using the server's internal ip address?
The topic has been locked.
- tim
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
13 years 2 months ago #3
by tim
Replied by tim on topic Joomdle Web Services Received empty response from Moodle
Hi thanks fo the info. No it has been set up usng the domian name.
Should we use the server IP address instead?
I hope the holiday was good and thanks for the quick reply
Should we use the server IP address instead?
I hope the holiday was good and thanks for the quick reply
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #4
by Chris
Replied by Chris on topic Joomdle Web Services Received empty response from Moodle
In url it is fine, and normal, to use the domain name and path - basically the url used to get to joomla or moodle from the users perspective. The Internal IP is used in the Moodle configuration.
Is this a development / test server? If so, for "fun" move your joomla folder up to html/joomla folder name, ie out of moodle. I don't think this will cause a problem but I never seen anybody do it. Note: When moving it, you will need to manually edit your joomla config file in one place. (that's all)
I am assuming you are using Joomla 2.5.x, Moodle 2.+ and Joomdle 0.9?
Is this a development / test server? If so, for "fun" move your joomla folder up to html/joomla folder name, ie out of moodle. I don't think this will cause a problem but I never seen anybody do it. Note: When moving it, you will need to manually edit your joomla config file in one place. (that's all)
I am assuming you are using Joomla 2.5.x, Moodle 2.+ and Joomdle 0.9?
The topic has been locked.
- tim
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
13 years 2 months ago #5
by tim
Replied by tim on topic Joomdle Web Services Received empty response from Moodle
Hi I have done that on our test site learningzone.gb.com - the root is joomla and the moodle installation is in a moodle folder.
But I get the same thing
Received empty response from Moodle everything else passes.
Joomla 2.59 Moodle 2.4.1 Joomdle 0.9
I will happily give you logins if you think that may help
Cheeres
Tim
But I get the same thing
Received empty response from Moodle everything else passes.
Joomla 2.59 Moodle 2.4.1 Joomdle 0.9
I will happily give you logins if you think that may help
Cheeres
Tim
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #6
by Chris
Replied by Chris on topic Joomdle Web Services Received empty response from Moodle
If I get a chance tonight, I can have a peek but cannot promise anything. You can send the details to development@joomdle.com
The topic has been locked.
- Chris
-
- Offline
- Moderator
-
13 years 2 months ago #7
by Chris
Replied by Chris on topic Joomdle Web Services Received empty response from Moodle
I logged into both sides and noticed a few things, unfortunately they have not solved the problem yet.
What I changed:
- there was no token created in Moodle
- The incorrect token was entered into Joomla (I guess this was copied from your other side)
- There was an incorrect URL entered
- There was an IP address entered into Joomla side (I copied it out, so I could save without the IP, but unfortunately didn't copy out - so now there is none and you may need to entered agin).
Despite the above, the error message is still there. I can suggest the following things:
- Check for the internal server's IP address. This is different then what we side from the public side. IF you have cpanel it will be shown in there)
- I notice your moodle redirects from no www to www but your joomla / root does not. I am not sure if this will cause confusion or not.
- Failing the above, the only other thing I can think of is if you have a server or network firewall preventing the server from talking to itself. This you will need to check with your ISP or similar.
If I can think of some more I will post again.
What I changed:
- there was no token created in Moodle
- The incorrect token was entered into Joomla (I guess this was copied from your other side)
- There was an incorrect URL entered
- There was an IP address entered into Joomla side (I copied it out, so I could save without the IP, but unfortunately didn't copy out - so now there is none and you may need to entered agin).
Despite the above, the error message is still there. I can suggest the following things:
- Check for the internal server's IP address. This is different then what we side from the public side. IF you have cpanel it will be shown in there)
- I notice your moodle redirects from no www to www but your joomla / root does not. I am not sure if this will cause confusion or not.
- Failing the above, the only other thing I can think of is if you have a server or network firewall preventing the server from talking to itself. This you will need to check with your ISP or similar.
If I can think of some more I will post again.
The topic has been locked.
- tim
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
13 years 2 months ago #8
by tim
Replied by tim on topic Joomdle Web Services Received empty response from Moodle
Hi thanks for that yes those errors would have been in teh site change over. We have been through the setup very carfully.
When this first started we spoke to the server hosts who switched off the firewall for 30mins - made nod difference
But will look at what you have said about www
Cheers
Tim
When this first started we spoke to the server hosts who switched off the firewall for 30mins - made nod difference
But will look at what you have said about www
Cheers
Tim
The topic has been locked.
- tim
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
13 years 2 months ago #9
by tim
Replied by tim on topic Joomdle Web Services Received empty response from Moodle
Hi I have looked and we are using CENTOS 5.9 i686 standard server operating system.
I have corrected the issues you spoke about. I have looked and we have got the ip address setup it is a shared IP. But we have tried this on a different server with a dedicated IP address and it made no differnce.
Thanks So much for your time
But we may have to admit defeat as much as that hurts me
Cheers
Tim
I have corrected the issues you spoke about. I have looked and we have got the ip address setup it is a shared IP. But we have tried this on a different server with a dedicated IP address and it made no differnce.
Thanks So much for your time
But we may have to admit defeat as much as that hurts me
Cheers
Tim
The topic has been locked.
- tim
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 16
13 years 1 month ago #10
by tim
Replied by tim on topic Joomdle Web Services Received empty response from Moodle
Thanks for all this it turned out to Mod_security on the server
Fixed now
Fixed now
The topic has been locked.