Connecting To the Server Error in moodle mobile app

Connecting To the Server Error in moodle mobile app

by Nadeem Qadar -
အကြောင်းပြန်မှု အရေအတွက်: 4

I got error connecting server message when i want to connect moodle app with my moodle site. How to resolve that issues please guide me.

Attachment server_error.PNG
ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Nadeem Qadar ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Connecting To the Server Error in moodle mobile app

by Dani Palou -
Core developers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ
Hi,

make sure you've started your browser with the right flags as it's explained in this guide.

Cheers,
Dani
Nadeem Qadar ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Connecting To the Server Error in moodle mobile app

by Nithyanandan LMSACE -
Hi Nadeem,

I got the same error in my localhost (Moodle mobile version -4.0) and tried everything to fix it.
 
In the google chrome I am getting this error till now but in the chromium browser, it is working fine.
 
Try chromium browser.
Attachment screenshot.png
Nithyanandan LMSACE ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Connecting To the Server Error in moodle mobile app

by Nithyanandan LMSACE -
Step 1:
 
First run this command line "start chrome.exe --allow-file-access-from-files --disable-web-security --disable-site-isolation-trials --allow-running-insecure-content --no-referrers --unlimited-storage --auto-open-devtools-for-tabs --user-data-dir=~/.chromium-dev-data" and the chromium browser will open then run your "locahost:8100" in the opened chromim browser.
 
Reference:
Attachment chromium-browser-disabled.png
Nadeem Qadar ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Connecting To the Server Error in moodle mobile app

by Baskar Kannaiah -
Hi,

You have create .htaccess file in your Moodle root directory. 

The below code should be there in the .htaccess file.
<IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
</IfModule>

For more details, you can see my youtube video:-