Joomdle 2.x Installation

Web services in Moodle 4

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #1 by GlenanPL
Web services in Moodle 4 was created by GlenanPL
Hello,
I am trying to migrate a site to the new versions of Joomla 4 and Moodle 4.
I can't find
I posted the message on the Moodle forum, but since Antonio did the test, he should know how to access it.
Thanks for the feedback
PL

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

More
3 years 8 months ago - 3 years 8 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
Hi.

I guess you refer to this one:
www.joomdle.com/forum/installation2/1281...ange-of-server#23534

As I told you there, it seems like your new servers may have issues connecting to itself.
If you have shell access, you can try using wget to get your Joomla and Moodle sites from your own server. If that fails, you can ask your hosting provider about it.

If you prefer that we try to take care of the issue, please write to antonio at joomdle to get professional services.
Last edit: 3 years 8 months ago by Antonio Durán.

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

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #3 by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hello Antonio, and thank you for the answer.
The server is in Azure and as I can't set up Joomdle with Joomla 3 and Moodle 3.
I am testing with another domain and Joomla 4 and Moodle 4.
Are there any minimum technical requirements to make Joomdle work?
With Moodle 4 I don't see the Web Services in Plugins even though they are set up.
Philippe

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

More
3 years 8 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
> Are there any minimum technical requirements to make Joomdle work?

Well, right now the only requirement is that the server can connect to itself. This is usually not a problem, but I've seen some badly configured servers failing.

> With Moodle 4 I don't see the Web Services in Plugins even though they are set up.

They moved this in Moodle 4, to Site admin->Server->Web services

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

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #5 by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hello Antonio,
It was coming from HTTP/2
We have simplified the process for communication between Joomla and Moodle which before was php -> nginx -> apache -> php and now php -> apache -> php.
This works for Joomla 3 and Moodle 3.
There is still an error message between Joomla 4 and Moodle 4. In French and English I have the same error message
Joomdle Web Services "Valeur retournée incorrecte détectée"
Investigations are ongoing, but if anyone has a solution
Philippe

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

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago - 3 years 8 months ago #6 by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hello,
I found the file that contains the error message: in the joomdle_system_check.json file in the administrator/logs folder.
Even if you delete it, it regenerates itself! Even when connected in English...
Weird!

joomdle_system_check.json
{"exception":"invalid_response_exception","errorcode":"invalidresponse","message":"Valeur retourn\u00e9e incorrecte d\u00e9tect\u00e9e"}
Last edit: 3 years 8 months ago by GlenanPL.

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

More
3 years 8 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
> Even if you delete it, it regenerates itself! Even when connected in English...

This is the Joomdle check log, so it regenerates every time you load system check page.

> Joomdle Web Services "Valeur retournée incorrecte détectée"

Enable debugging in Moodle to try to get more info about this error.

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

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #8 by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hi Antonio,
With Enabling debugging in Moodle, the message error in Joomdle is
Valeur retournée incorrecte détectée test_data => Valeur retournée incorrecte détectée: Scalar type expected, array or object received.
regards
PL

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

More
3 years 8 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic Web services in Moodle 4
How are the other checks in the system check page?

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

  • GlenanPL
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #10 by GlenanPL
Replied by GlenanPL on topic Web services in Moodle 4
Hi Antonio,
all is OK except Joomdle Web Services !
Regards
PL

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