Please include your version of Joomla, Moodle and Joomdle when seeking assistance.  Also, if you do not get an immediate response, do not bump your posting as it will be deleted.


Remember Joomdle is a free extension and the Joomdle Team has 'day time' jobs as well.

Thanks for your understanding

Welcome, Guest
Username: Password: Remember me
R0.22 and earlier: No Longer Supported
  • Page:
  • 1
  • 2

TOPIC: [Solved] Error XML-RPC (7021):

[Solved] Error XML-RPC (7021): 4 years 10 months ago #1

Joomdle Courses Error XML-RPC (7021):

Hi,
I get the error (in portuguese):
Joomdle Courses
Error XML-RPC (7021): O m�todo de transporte usado n�o � autorizado.
That means: Transfer method not authorized.
Any Idea regarding this issue?
It seems to be that there was a previous post regarding this issue with a database change in the previous release.
Any help would be useful.
Regards,
And thank you and congratulations Antonio Duran for this plugin.
Antonio Carlos.
Last Edit: 4 years 9 months ago by Chris.
The topic has been locked.

Re: Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #2

Hi and thanks ;)

I think is not the same issue, as the other one is about not permitted methods.

Usually the 7021 error is caused for not having the Joomdla IP in XML-RPC trusted hosts in Moodle. Did you add 127.0.0.1 or your public IP?

Regards,
Antonio
The topic has been locked.

Re: Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #3

Sure,
I added it as 127.0.0.1 and it was automatically updated to 127.0.0.1/32.
It was tested and it was ok.

tks.
Antonio Carlos.
Attachments:
The topic has been locked.

Re: Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #4

Are you working locally or in a hosted site? If it is a hosted site, try adding its public IP address.

I looked at Moodle's code again, and the 7021 error only appears when plaintext XML-RPC is not permitted:
} elseif ($MNET_REMOTE_CLIENT->plaintext_is_ok() == false) {
exit(mnet_server_fault(7021, 'forbidden-transport'));

Antonio
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #5

Hi Antonio,
I'm working in a dedicated server with plesk control panel.
I did tried to add the IP of the domain but it was classified as untrusted.
Regards.
Antonio.
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #6

Hi. I think I don't understand you.

Did you add the IP to the box in Networking-> XML-RPC hosts? You have to put it instead of 127.0.0.1.

Antonio
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #7

Worked!
Tks again.

But now, how would user be syncronized?
Moodle still reports only admin user, and in this way I couldn`t enrol anybody into course.
Joomla users still can`t login at moodle installation.
Regards.
Antonio Carlos.
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #8

Great :)
Step by step, as the new kids would say ;) I need more info to know what it is happening.

First:
- Course listing work, right?

To test SSO:
- Create new normal user in Joomla
- Login in Joomla
- Click on any course links in the courses module. You should be transfered to Moodle, landing on the new user's profile page.

If that is not happening, please give more details on:
- what you do
- what happens

Regards,
Antonio

PS: si quiseres podemos falar em portugués. Eu não falo muito bem, mas estou a aprender :)
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #9

Hi Antonio,
as you said, step by step...
things are working.
I'd like you test them yourself at:
joomla.dentalclinics.com.br
This is my test environment, and you could create an account to test SSO functioning.
When clicking at the course link for the first time, the user get the course itself, and not the profile. In an email forwarded by the system, there is a link to user profile, but it just work if the user already has a session opened, otherwise the moodle login page appear; but at moodle login page, user cannot login to the system.
Thanks again.
Regards.
Antonio Carlos.
The topic has been locked.

Re:Joomdle Courses Error XML-RPC (7021): 4 years 10 months ago #10

Hi, I just tested and everything worked fine at first try :)

-I created a new user.
-Logged in Joomla.
-Clicked on Curso de Teste link
-I was trasnfered to Moodle as a registered user, offering me to join the course

This is a little different from what I told you as I was not trasnfered to the profile page. I have already seen that in some Moodle versions.

Anyway, everything seems to work just fine :) Let me know if it works for you too.

Antonio
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.146 seconds