× How To / General

Suddenly getting errors in system check

3 months 2 weeks ago
Eric vanBok
Posts: 67
More
Topic Author
Suddenly getting errors in system check #1
I have a website that has been running well for years. Now all of a sudden, over the weekend, the connection between Joomla and Moodle isn't functioning.

System check shows:

Joomdlehooks User Plugin enabled Green Check
cURL Enabled Green Check
Joomla to Moodle HTTP connectivity Joomla cannot connect to Moodle
Moodle to Joomla HTTP connectivity Moodle cannot connect to Joomla
Joomdle Web Services Received empty response from Moodle

Nothing with Moodle, Joomla, or Joomdle has changed. I am having the hosting company look into possible changes on the server, but so far they are seeing nothing. They are not seeing anything in the security logs that would suggest that the communication is being blocked.

The website does have AdminTools installed. I deactivated that and it didn't solve the problem.

I have checked the configurations of Joomdle in both Joomla and Moodle and they look good. They just are not talking anymore.

Where can I start trying to debug this? Any thoughts?

Joomla 5.2.3
Moodle 4.1.6
Joomdle 2.3.1
PHP 8.1.31

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
Antonio Durán
Posts: 7815
More
Suddenly getting errors in system check #2
Hi.

I would start by using wget in a SSH session to the Joomla server to fetch Moodle home page, and see if you get any errors there.

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
Eric vanBok
Posts: 67
More
Topic Author
Suddenly getting errors in system check #3
I was able to use wget in an SSH session and I was able to connect to the home page of Moodle without errors. What should I try next?

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
Antonio Durán
Posts: 7815
More
Suddenly getting errors in system check #4
I uploaded a package you can use for further testing:
joomdle.com/aux/debug.zip k
You can unzip this in your Joomla root folder, and the edit rest_joomdle.php to add your details.
Then, open it with the browser to see what you get.

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
Eric vanBok
Posts: 67
More
Topic Author
Suddenly getting errors in system check #5
I was working with my hosting company while also asking you for help, and they found the issue. The website is using CloudFlare and the Joomdle requests suddenly started to route through CloudFlare and CloudFlare was not passing them on. So they created a local host file that forced the local traffic to stay local and all is working now.

Still not sure why the problem suddenly popped up, but at least we got to the bottom of it, and solved the problem.

Thank you for your help with this though. As always it is very much appreciated.

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
Antonio Durán
Posts: 7815
More
Suddenly getting errors in system check #6
Great, glad to know that you managed to get it working.

Please Log in or Create an account to join the conversation.