Moodle Airnotifier is running but API is not found

Moodle Airnotifier is running but API is not found

by Zoran Jeremic -
Number of replies: 2

Hi,

I installed Moodle version of Airnotifier. Web UI works fine and I was able to configure it as given in the screenshots bellow. However, when I try to run test https://github.com/airnotifier/test-scripts/blob/master/v2/push_gcm.php, I got the 404 error that /api/v2/push was not found.

string(306) "Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1390, in _execute
result = self.prepare()
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 2103, in prepare
raise HTTPError(self._status_code)
HTTPError: HTTP 404: Not Found

My airnotifier.err log also contains warning:

WARNING 404 POST /api/v2/push (192.168.2.68) 2.15ms


I guess this is something related to my configuration, but I'm not sure what should I check. I believe that I did everything as described in installation instructions.


This is my configuration:


settings





settings3


test file

Average of ratings: -
In reply to Zoran Jeremic

Re: Moodle Airnotifier is running but API is not found

by Samet Kul -
Picture of Testers

Hello Zoran,

Did you find a solution to your problem? if you did, please post it here.

thanks.