Hub fails to complete registration

Hub fails to complete registration

by Dave Milliken -
Number of replies: 2

I've installed a Moodle instance on one server and a Moodle Hub on another server. Installation and set-up were done according to instructions posted on Moodle.org. My standard Moodle installation has successfully registered with other hubs including Moodle.net but when I register with my own Hub, I get as far as the reCaptcha form. But when I press enter to submit the form, nothing happens. If I resubmit a new Captcha, I get the same result. I can't seem to find any other discussions about this issue. I would be grateful for some suggestions. Thanks!

Average of ratings: -
In reply to Dave Milliken

Re: Hub fails to complete registration

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Have you turned on debugging to see what error messages you might be getting?  I don't know a lot about hubs but I did a search of Captcha Moodle hub and some  posts came up - I wonder if there is anything in here which might be of use? 

In reply to Mary Cooch

Re: Hub fails to complete registration

by Dave Milliken -

Thanks so much for your suggestions, Mary. I did turn on debugging, but no errors were created in the process. I ended up hiring a consultant to evaluate my installation and the following provides some insight. It appears that the "registered sites" service was not installed. I installed new instances of Moodle Hub as well as other Moodle sites to see if it would be corrected by fresh installations but I had the same results. Do you have any additional thoughts or insight? Could this be a bug of some sort?

Thanks!



1.Removed ReCaptcha on the Hub enrollment processing

 

a.(/public_html/content/local/hub/forms.php):http://screencast.com/t/S7RadTQu

2.Observed the error "unknownservice” when the recaptcha was no longer blocking progress

a.Error screen:http://screencast.com/t/KbakZitt8R 

3.Reviewed the code where the exception was being thrown and researched the "unknownservice” error response.

a.Code where the exception is thrown (/public_html/content/local/hub/lib.php):http://screencast.com/t/UVp8J14MWcxx 

 

4.Further researched the error to find that the Hub plugin should have installed the service identified in the Output Buffer "Registered Sites”

a.http://docs.moodle.org/27/en/Hub_administration#Minimal_Requirements

b.Excerpt from Services Section of Moodle Hub Documentation:

The hub creates during installation some web services that you should never delete/modify:

·one service for Hub directory

·one service for Registered sites

·one service for Public sites

It also creates tokens on the fly. These tokens are not displayed on the token management list, so you cannot accidentally delete them.

 

5.Confirmed that the Registered Sites service was not created by referencing the database

a.Screenshot of the External Services table in the database: http://screencast.com/t/zcLOqq2uoxy