Moodle Mobile Server Requirements

Moodle Mobile Server Requirements

by Nelson Bartley -
Number of replies: 2

Hello,

I'm trying to get mobile support working on my server, but I'm having connectivity issues. One of my servers works just fine(dreamhost shared), the other (a more restricted server) doesn't. I've been looking over the wiki and I can't seem to see specifically which services are required for the mobile app to work correctly. (Beyond "click web services")


I'd specifically like to know the following:

What ports (beyond port 80 rest api) does the application attempt communication with the server?

What server services (environment) must be enabled for the application to work correctly?

Does https in any way affect the ability of the application connect to a site?

Are there any specific versions of Moodle where the web services were broken in such a way that the mobile app cannot communicate with them?

Are there any "safe" tests that can be done to the server to ensure that the server is working correctly when diagnosing user connection issues?


Any help with these questions would be appreciated. 

Average of ratings: -
In reply to Nelson Bartley

Re: Moodle Mobile Server Requirements

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

enabling the Mobile Service in Plugins -> Web Services -> Mobile should be enough.

Web Services are just plain REST requests (via the same port and URL that you Moodle installation).

Alternatively, you can try to install and enable the Moodle Mobile additional features plugin: https://moodle.org/plugins/view.php?plugin=local_mobile

Regards, Juan

Average of ratings: Useful (1)
In reply to Juan Leyva

Re: Moodle Mobile Server Requirements

by Nelson Bartley -

Thank you for your reply


It would be good to add that to the website wiki to help people with diagnosing their system if they're not familiar with the technology  

Also another add that would be good is the app does not follow domain redirects to sub directories. If a website is setup as http://somewhere.com to redirect to /moodle the application doesn't follow this redirect, which can be difficult if the user base isn't aware of how that works. (My problem which I only realized later... The fun of admiring a system someone else installed)


Again, thank you for your help.