Moodle Android App fails to connect to my moodle site...

Moodle Android App fails to connect to my moodle site...

дэргэд MD Idiake -
Хариу нийтлэлийн тоо: 11

Hi.

The above header refers.

My moodle site URL is: http://softworldng-001-site9.etempurl.com.

I have checked all the issues listed below and they are as was advised, yet the app still cannot connect to my site.


Assuming you have enabled mobile services on your site, please check:

1. If your site uses an SSL certificate, it must be a trusted certificate, not self-signed. Please use these tools or a similar one to check that your certificate is fine: SSL Checker and SSL Server Test. All the checks must be ok, including the "Certificate Chain Complete". Otherwise the app might work on iOS but not on Android.
2. Debugging is disabled (in Site administration > Development > Debugging)
3. The ADOdb debug option is disabled if you are using the external database auth or enrolment plugin (in Plugins > Authentication > External database and in Plugins > Enrolment > External database).
4. SHA-1 https certificates are not supported anymore in Chrome, this means that the Android version of the app won't work for your site. If your site doesn't work in desktop Chrome or Chromium it won't work in the Android app. See https://blog.chromium.org/2014/09/gradually-sunsetting-sha-1.html for more information
5. If you are using IIS check that Anonymous access is not disabled for the /webservice directory.
If you still have a problem, please post in the Moodle for mobile forum.
I am using SmarterASP.net as my hosts.

So, what do I do next?

Thanks.

MD Idiake

Үнэлгээний дундаж: -
MD Idiake-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Dani Palou -
Core developers зураг Moodle HQ зураг Particularly helpful Moodlers зураг Peer reviewers зураг Plugin developers зураг

Thanks for the credentials,

I'm able to connect to your site using 2 different Android devices. Which device and Android version are you using? Can you connect with the test account you sent to us?

Kind regards,

Dani

Dani Palou-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Dani Palou -
Core developers зураг Moodle HQ зураг Particularly helpful Moodlers зураг Peer reviewers зураг Plugin developers зураг

For the record, MD Idiake contacted me via private message, he's now able to login.

Dani Palou-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Balja Bp -

Hi

I have the same problem,

How did you decide?

Balja Bp-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Raymond Mlambo -

I also have the same issue. I cannot connect to the site

Raymond Mlambo-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Juan Leyva -
Core developers зураг Moodle HQ зураг Plugin developers зураг Testers зураг
Please, read carefully the Moodle FAQ:
https://docs.moodle.org/en/Moodle_Mobile_FAQ

typical issues are described there
Juan Leyva-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Gopakumar Velukkutty -
I am using moodle 3.4.
For moodle-mobile app, when tried to login I get an error Cannot connect: verify that I you have correctly typed the URL and that your site uses Moodle 2.4 or latter.
Mobile services are enabled for the site.
The user is entering the correct URL.
SSL the certificate is valid.
I am able to create a new user through moodle-mobile app.
Please help me to solve this problem.
Juan Leyva-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Ahmed Attar -

I am customizing the App, and it gives me an endless authentication screen, Thanks a miilion.

Ahmed Attar-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Ahmed Attar -
Update, I can log to the website from the official moodle application, so the website is working perfect.
Ahmed Attar-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Dani Palou -
Core developers зураг Moodle HQ зураг Particularly helpful Moodlers зураг Peer reviewers зураг Plugin developers зураг
Hi Ahmed,

looking at the screenshot it seems you're using the V1 version of the app, and that's really old. You should use this repository:

https://github.com/moodlehq/moodleapp/

Also, take a look at this guide:

https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2

Cheers,
Dani
Dani Palou-н хариуд

Re: Moodle Android App fails to connect to my moodle site...

дэргэд Ahmed Attar -
Hi Dani,

Thank you so much for your reply, I discovered this by chance yesterday when I read the thread of the change.
But still, there is something wrong with the new tutorial, it gives me dead white screen after I trying to fix the "Can't find file:///android_asset/www/index.html" and the provisioning as well

if you can recommend a more detailed tutorial, this would be awesome инээмсэглэл

Thanks a million