Moodle for mobile

Unable to request a Airnotifier key

 
 
Picture of Matthew Cutlack
Unable to request a Airnotifier key
 

Hi,

I have recently upgraded to Moodle 2.7 and have been looking at getting the notifications to Mobile apps working. I have previously setup our local Moodle install to allow the official apps to connection.

When I come to try and request a access key, I am given the message:

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.

I have updated our registration but still not getting any success. I thought it might be a proxy issue, so whitelisted message.moodle.net. Sadly this had no effect.

Is the registration service live? Are there any other web address I should look to whitelist?

Kind Regards,

Matt

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi Matthew,

please, send me via a private message your Moodle site URL, I will create an access key for you in Airnotifier

Regards

 
Average of ratings: -
Khyam Shahzad
Re: Unable to request a Airnotifier key
 

I am also getting the same error message with Moodle 2.6 and airnotifier plugin. 

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi,

there was a problem in the Airnotifier server, I've fixed it and it seems to work now

Regards

 
Average of ratings: -
Picture of Matthew Cutlack
Re: Unable to request a Airnotifier key
 

Just to confirm, I can get a key now. All working!

Matt

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Great! Thanks for your feedback

 
Average of ratings: -
Picture of Michele Balazs
Re: Unable to request a Airnotifier key
 

I have the same problem.

any chance you could help ?

 
Average of ratings: -
Picture of Toshiyuki Kamada
Re: Unable to request a Airnotifier key
 

Me too!!

The "Request access key" button always timed out.

 
Average of ratings: -
Picture of Malcolm Beasley
Re: Unable to request a Airnotifier key
 

I have been stymied getting this key as well.

"An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there."

In trying to register http://learn.wonthaggisc.vic.edu.au I get

"An error occurred during registration, please try again later. (Unable to Connect to tcp://hub.moodle.org:80. Error #110: Connection timed out)"

We are on an Ubuntu 12.04 box 

I am behind a proxy and this has been set in the /etc/environment config file. I have no problem with Wget nor apt-get.

any help appreciated

 
Average of ratings: -
Picture of Ahmed Attar
Re: Unable to request a Airnotifier key
 

I registered and I still can't get my access key, I receive this error

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.

My site is 

http://manaratelmostaqbal.com/moodle/

best regards

Ahmed El attar

 
Average of ratings: -
Picture of Matteo Scaramuccia
Re: Unable to request a Airnotifier key
Group DevelopersGroup Particularly helpful Moodlers

Hi Ahmed,
you don't need to register yourself into messages.moodle.net: you need to register your moodle instance to Moodle.org using Administration > Site Administration > Registration. Then, you'll be able to request the access key directly from the Moodle interface (Site administration > Plugins > Message outputs > Mobile Notifications and click in Request access key).

HTH,
Matteo

 
Average of ratings: -
Picture of Ahmed Attar
Re: Unable to request a Airnotifier key
 

Hi Matteo

That's Exactly what I did Matteo and got that message.

do I have to change any of the settings in the "Mobile Notifications" page before clicking request access key?


best regards

Ahmed 

 
Average of ratings: -
Picture of Matteo Scaramuccia
Re: Unable to request a Airnotifier key
Group DevelopersGroup Particularly helpful Moodlers

Hi Ahmed,
no, you don't need to change anything there: please, try to re-register your Moodle instance.

HTH,
Matteo

 
Average of ratings: -
Picture of Ahmed Attar
Re: Unable to request a Airnotifier key
 

So do you mean to unregister and register again or just update registration, because I did the update twice till now

 
Average of ratings: -
Picture of Matteo Scaramuccia
Re: Unable to request a Airnotifier key
Group DevelopersGroup Particularly helpful Moodlers

Hi Ahmed,
since you've already done it twice, it's better to wait for a Juan's advice.

Matteo

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi Ahmed,

I've created a key for you, please, see your private messages

Regards

 
Average of ratings: -
Picture of Ahmed Attar
Re: Unable to request a Airnotifier key
 
hi Juan 

Thank you for your great support

I entered the access key and is accepted by the moodle and a new link appeared under messaging output which is mobile notifications.


When I do any thing in a course or send a message to my test user nothing arrives to the mobile.


Best regards

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hello Ahmed,

did you configure your test user message preferences?

See: https://docs.moodle.org/27/en/Mobile_app_Push_Notifications

 
Average of ratings:Useful (1)
Picture of mahmoud hassan
Re: Unable to request a Airnotifier key
 

Hi icant request  airnotifier key

I registered  my site
http://www.alustadh.com/moodle
Plz   send key to me


 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Please, fill this form for requesting a new access key:

http://goo.gl/forms/Mlm86hggpj

 
Average of ratings: -
Picture of Eloy Junior
Re: Unable to request a Airnotifier key
 

Hi, i had the same error. Can you create a key for me too?

 
Average of ratings: -
Picture of mahmoud hassan
Re: Unable to request a Airnotifier key
 

hi Juan Leyva

i have the same problem

my site is registered and i can see it in moodle.org/sites

but i can request airnotifier

my site url http://www.alustadh.com/moodle

thx

 
Average of ratings: -
Picture of Jesús Ernesto Guzmán Elías
Re: Unable to request a Airnotifier key
 

Hi Juan:


I have the same problem with my site.


First of all I registered my site on moodle.org and then I´m trying to get my airnotifier key but I see the same error message.


My site is http://148.223.20.171/moodle/


Please help me


Regards


Jesús Guzmán from Tampico, México

 
Average of ratings: -
Picture of benjamin FORNAGE
Re: Unable to request a Airnotifier key
 

Hi,

The same error. Could you please send me a Airnotifier key for our moodlesite please ?

http://moodle.flshase.uni.lu

thanks

 
Average of ratings: -
Picture of Fabrizio Cocco
Re: Unable to request a Airnotifier key
 

Hi

Same Problem here and i can't get a answer with the messagesystem. Is there anyone who can help?

https://moodle.sek-am.ch

Thank you very much

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers
Hi all,


Airnotifier server was experiencing some problems, I've restarted it and it seems to work now


Can you try to register your sites again?

 
Average of ratings: -
Picture of Michele Balazs
Re: Unable to request a Airnotifier key
 

Many thanks. It is working for me now

 

 

 
Average of ratings: -
Picture of Toshiyuki Kamada
Re: Unable to request a Airnotifier key
 

Wow, it worked very well!, thank you!!

I can save my money with your effort.

 
Average of ratings: -
Picture of benjamin FORNAGE
Re: Unable to request a Airnotifier key
 

The same error :

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.


And my site is well registered :



 
Average of ratings: -
Picture of SAHEER V C
Unable to Register my site
 

Im having trouble in registering my website. When I try to register it says

Incorrect access detected, this server may be accessed only through "http://moodle.net" address, sorry.
Please notify server administrator.

and it redirects to moodle.net without registration. Im using moodle 2.7

Can you help me


 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to Register my site
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hello,

it seems that there are connectivity problems with the registration server, I've reported it and Moodle HQ people is working to fix that

Cheers, Juan

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to Register my site
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Tracker issue, (thanks for reporting):

https://tracker.moodle.org/browse/MDL-47375

 
Average of ratings:Useful (1)
Picture of Juan Leyva
Re: Unable to Register my site
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

It seems to be fixed, can you try to register your site again?

 
Average of ratings: -
Picture of Michel DENIS
Re: Unable to Register my site
 

Hi Juan,

Problems are still there: "This hub cannot access your web site. | ERRORCODE: cannotregisternotavailablesite"

Cheers,

-michel

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators
Michel: this error message (as I was explaining to Daniel on the French forums here ) can sometimes be because the host has restricted access to the site by IP. For example in the case there, Moodle.net cannot access the site, even though I personally can from my home. If you are getting this error message yourself, please tell us the URL of your Moodle site so we can check it.

(And of course for others who come here via Google, you will get the message also if your Moodle is a local host site, not online)

 
Average of ratings: -
Picture of Michel DENIS
Re: Unable to Register my site
 

Hi Mary,

The URL is: http://devmooc.net/

No access restriction by IP or something else, and the site is of course online for several months now, and used by a number of people regularly.

I actually  read the replies to Daniel's message ... but no info whether Daniel's problem is solved ... so ...


Thanks for your help,

-michel

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Thanks for the URL MIchel; I will investigate it. (I haven't heard from Daniel)

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Rebonjour Michel: here is a tracker report on an issue discovered while troubleshooting your site: MDLSITE-3433

 
Average of ratings: -
Picture of Michel DENIS
Re: Unable to Register my site
 

Un grand merci à toi Mary !

-michel

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

MIchel - can  you try to register your site again please?

 
Average of ratings: -
Picture of Michel DENIS
Re: Unable to Register my site
 

Merci Mary, j'ai à présent ce (nouveau) message:

"Une erreur est survenue durant l'enregistrement. Veuillez réessayer plus tard (Internal Server Error)"

Amicalement,

-michel

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Thanks Michel - the message suggests you try again later - can  you try again later and then let me know if you are still unable to register?

 
Average of ratings: -
Picture of Michel DENIS
Re: Unable to Register my site
 

Hi Mary,

I tried 2 more times, and still the same error message.

Cheers,

-michel

 
Average of ratings: -
Mary Cooch
Re: Unable to Register my site
Group Documentation writersGroup Moodle Course Creator Certificate holdersGroup Moodle HQGroup Particularly helpful MoodlersGroup TestersGroup Translators

Thanks both - it was MDLSITE-3440 and can you both please try again now it should be fixed?

 
Average of ratings: -
Picture of Enrique Robredo
Re: Unable to Register my site
 
Hello, today we managed to register successfully moodle.net aula.nuryana.com (Moodle 2.7+ ) but we can not activate the access key " An error occurred while retrieving key . Moodle Your site must be registered with Moodle.org to use this service. You May need to re -register to update your details there. "

greetings
 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to Register my site
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi Enrique,

please, send me a private message and I will create a key for you

Cheers, Juan

 
Average of ratings: -
Picture of Toshiyuki Kamada
Re: Unable to request a Airnotifier key
 

I doubt something difficulty in the implementation of the key server on Moodle.Net.

In theory, the airnotifier server need to have a certificate from Apple by requesting it as an iOS Developer member.  This is acceptable because by using certificate from Apple, every App users are protected from  forge notification server such as sending spam or misleading messages to iOS devices.  But in order to keep its certificate, the developer needs to keep the membership by paying a fee every year to Apple.

So Moodle HQ must decide to build a large scale message delivering server from the vanilla airnotifier implementation to share the server certificate with Moodle servers worldwide and identify the group of Moodle server and associated Moodle Mobile clients with the key created on the Moodle.Net server.

I imagine people in the Moodle HQ are working hard to improve key creation functionality from current very slow answer to be faster that does not cause timeout, but in my feeling, there might be an scalability issue still on it now.

Then, I decided to abandon utilizing key from Moodle.Net because I cant wait for resolving the issue, to pay Apple to be a member of iOS Developer Program and built my own airnotifier server for my Moodle server.

 
Average of ratings: -
Dongsheng Cai
Re: Unable to request a Airnotifier key
Group Developers

Hi Toshiyuki, it's definitely more reliable to use your own infrastructure, I'm AirNotifier maintainer, if you have any problems of using it, feel free to PM me or file a bug on github.

 
Average of ratings: -
Picture of Toshiyuki Kamada
Re: Unable to request a Airnotifier key
 
Hi DongSheng,

Thank you for your advice.  I agree with you in considering the stability between sharing server with massive number of people with independent server in a limited number of members.

The AirNotifier seems work well before installing crafted certificate (with openssl) from Apple's original one.  I said "Wow" when I started up the Python script and accessing to its web interface.  Nice work.

I would try your work in a future when I had a time to build and test Moodle Mobile client by myself.  I payed my money that I can use this month to the case for my new MBP Retina 13" today smile

(I contributed Japanese translated strings for Moodle Mobile app and corresponding plugin last week.)

Sorry for persons watching this thread I understand this post is off topic.

 
Average of ratings: -
Picture of Jason Losett
Re: Unable to request a Airnotifier key
 

Hi Juan, 


Our site is getting the same error:

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.

I do not have access to send you a private message with our account settings. Any help would be greatly appreciated. 




 
Average of ratings: -
Picture of Jhon Marx
Re: Unable to request a Airnotifier key
 

Hi everybody.

Im having the same issue: After register my site correctly, I can't get an access key.

Any hint of what I may be doing wrong or help would be appreciated. 

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hello,

please, send me a private message with your moodle site URL and your Moodle administrator e-mail address so I can create you a token manually

Cheers, Juan

 
Average of ratings: -
En Machu Picchu
Re: Unable to request a Airnotifier key
 

Hello, i have the same problem with my moodle site: educacionmatematica.cl

I can´t create a access key in Mobile Notifications.

Thanks for your help,


Cristian

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Please, send me a private message with your moodle site URL and your Moodle administrator e-mail address so I can create you a token manually

 
Average of ratings: -
Hey - that's me!
Re: Unable to request a Airnotifier key
 

Having the issue 

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.

Have registered a number of times without success.


 
Average of ratings: -
Picture of P Ashkarali
Re: Unable to request a Airnotifier key
 

Hello 

        I too faced same problem. The message shows 


An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.

I have already registered the . Please create a access key for my site : http://keralamoocs.org/moodle

Thanks in advance 

 
Average of ratings: -
Picture of Mats Johansson
Svar: Re: Unable to request a Airnotifier key
 

I have the same problem as many here - not possible to request a key even though my site is registered at moodle.org. Same error message...

 
Average of ratings: -
Picture of Juan Leyva
Re: Svar: Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hello,

please, if you cannot register your site fill this form:

http://goo.gl/forms/Mlm86hggpj

Cheers, Juan

 
Average of ratings: -
Picture of Andrew Wippler
Re: Unable to request a Airnotifier key
 

I receive the same notification when I try to register.

 
Average of ratings: -
Picture of Rafael Alvarado
Re: Unable to request a Airnotifier key
 

Hi Juan, nice to meet you, I have the same problem, I successfully registered my moodle instance (http://aulavirtual.instituto-escuela.com ) but when I tried to request the airnotifier Access key they told that I have to register..then when I tried to re-register the link is broken.

Can you help creating a Access key for my site?

 Thanks in advance,


Rafael Alvarado

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

Hi,

Please, fill this form for requesting a new access key:

http://goo.gl/forms/Mlm86hggpj


 
Average of ratings: -
Picture of Rafael Alvarado
Re: Unable to request a Airnotifier key
 

Hi Juan, thank you for the Support, I filled the form past tuesday. how do you let me know when the Access key is ready?


Thanks in advance.


Rafael.


 
Average of ratings: -
Picture of ong hazel
Re: Unable to request a Airnotifier key
 

Hi Juan

i had registered my site to moodle.org, but i still get this error

An error occurred while retrieving key. Your Moodle site must be registered with Moodle.org to use this service. You may need to re-register to update your details there.


my moodle site url is : http://www.fypproject2.org/moodle

and I had submitted the Airnotifier access key manual request form

how long do I need to wait for the key?

Can you generate the key for me? need it urgently.

Hope you can help. Thank yousmile



 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

You should've received the key a few days ago, please let me know if you are still waiting the key or having problems

Cheers, Juan

 
Average of ratings: -
Picture of ong hazel
Re: Unable to request a Airnotifier key
 
Do I need to replace the airnotifier folder with this https://github.com/jleyva/airnotifier/tree/moodle2 Or just directly use the one installed with command line? 

I found that no token is pass to the server...what wrong with it?

 
Average of ratings: -
Picture of Juan Leyva
Re: Unable to request a Airnotifier key
Group DevelopersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers

You should follow the Airnotifier installation guide:

https://github.com/airnotifier/airnotifier/wiki/Installation

but instead using their repository, use the one you mentioned above:

https://github.com/jleyva/airnotifier/tree/moodle2

 
Average of ratings: -
Picture of ong hazel
Re: Unable to request a Airnotifier key
 

Hi Juan,

I had installed moodle site 2.7 on my xampp server, and built a custom moodle mobile app 1.12 with gcm id and API key, and installed the airnotifier server in my ubuntu virtualBox machine . The airnotifier was installed correctly, moodle mobile app can access moodle site and I had edited all the airnotifier info in the mobile notification. But the push notification still cannot work, airnotifier did not receive any token and registered device. Did I miss out any setting?

 
Average of ratings: -
Picture of Enrique Robredo
Re: Unable to request a Airnotifier key
 

Hi, we have the same issue into aula.nuryana.com

"An error occurred during registration, please try again later. (Internal Server Error)"


Regards


 
Average of ratings: -