Joomdle 2.x Installation

Fail to connect

  • Helene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #1 by Helene
Fail to connect was created by Helene
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.

More
1 year 8 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Fail to connect
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.

  • Helene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #3 by Helene
Replied by Helene on topic Fail to connect
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.

More
1 year 8 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Fail to connect
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.

  • Helene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #5 by Helene
Replied by Helene on topic Fail to connect
i get "OK"

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

More
1 year 8 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Fail to connect
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.

  • Helene
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 8 months ago #7 by Helene
Replied by Helene on topic Fail to connect
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.