× Joomdle 2.x Installation

Fail to connect

5 months 3 days ago
Helene
Posts: 4
More
Topic Author
Fail to connect #1
Hello!
Trying to install.
Got this message on the System check page :
Warning: file_get_contents( /auth/joomdle/connection_test.php): Failed to open stream: Connection timed out in /administrator/components/com_joomdle/helpers/content.php on line 532

Warning: file_get_contents( /auth/joomdle/connection_test_joomla.php): Failed to open stream: Connection timed out in /administrator/components/com_joomdle/helpers/content.php on line 532

Warning: file_put_contents(/joomdle_system_check.json): Failed to open stream: Permission denied in /administrator/components/com_joomdle/helpers/content.php on line 487


Joomla cannot connect to Moodle, Moodle cannot connect to Joomla, Received empty response from Moodle.
Frist two check are green.

Joomla = 4.4.3
Moodle = 3.11.2

file_get_contents
REST
both tokens are correct

What could be wrong?

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

5 months 3 days ago
Antonio Durán
Posts: 7807
More
Fail to connect #2
Hi.

Are you using Sucuri, Clodflare or any other security software/service?

> Warning: file_put_contents(/joomdle_system_check.json): Failed to open stream: Permission denied in /administrator/components/com_joomdle/helpers/content.php on line 487

That indicates some permission issue, as the system is not able to write to the log file.

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

5 months 3 days ago
Helene
Posts: 4
More
Topic Author
Fail to connect #3
Found Fail2Ban Intrusion Detector, can it be a problem?
apart from that Linux IPTables (firewall) only

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

5 months 3 days ago
Antonio Durán
Posts: 7807
More
Fail to connect #4
If you try to open yourmoodlesite/auth/joomdle/connection_test.php what do you get?

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

5 months 3 days ago
Helene
Posts: 4
More
Topic Author
Fail to connect #5
i get "OK"

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

5 months 3 days ago
Antonio Durán
Posts: 7807
More
Fail to connect #6
Do you have SSH access to your Joomla server? If you have, you can try to get the same URL with wget:

$ wget yourmoodlesite/auth/joomdle/connection_test.php

That way you can test if opening the page from the server is working, and if it is not, maybe get some more info.

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

5 months 1 day ago
Helene
Posts: 4
More
Topic Author
Fail to connect #7
it seems there is a problem with the server, it'll take time to solve it, so thank you for your help!

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