Connecting To the Server Error in moodle mobile app

Connecting To the Server Error in moodle mobile app

Nadeem Qadar發表於
Number of replies: 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.

附件 server_error.PNG
評比平均分數: -
In reply to Nadeem Qadar

Re: Connecting To the Server Error in moodle mobile app

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.
附件 screenshot.png
In reply to Nithyanandan LMSACE

Re: Connecting To the Server Error in moodle mobile app

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:
附件 chromium-browser-disabled.png
評比平均分數:Useful (1)
In reply to Nadeem Qadar

Re: Connecting To the Server Error in moodle mobile app

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:-