Forums | Mahara Community

Support /
Mahara Mobile


Jason Dong's profile picture
Posts: 33

03 January 2017, 22:57

Hi, All

       I've successfully upgraded to 16.10.0 and installed Mahara mobile. I activated mobileapi and installed node.js. But when I tried to login through my local app, I constantly got the message "Unable to login to server. Is the server address correct?". It looks like there are no tools/way around avaible for users to trace out the root reason for the problem, are there any good advices for me to do the troubleshooting?

Best Regards

Jason

Kristina Hoeppner's profile picture
Posts: 4067

04 January 2017, 11:03

Hi Jason,

Is your site running on https? If not, web services won't work and you won't be able to use Mahara Mobile. While it is possible to run web services without https when using productionmode = false, we don't recommend it as it is less safe.

Cheers

Kristina

 

Jason Dong's profile picture
Posts: 33

09 January 2017, 22:20

Hi Kristina,

      Thank you, it's https that caused the problem. When I switched to productionmode=false, my mahara mobile connected to the server and I logged in successfully. But after I added journals and files in my local app, I could not upload to the server. After pressing "Upload to your Mahara", the app poped up a message " Problem uploading. Response was: [object Objece]" and I have three pending uploads there hanging on. Is this a bug or is there anything I set wrong? My mahara version on server is 16.10.0 and mahara mobile app version is 1.1.0

Best Regards

Jason 

Kristina Hoeppner's profile picture
Posts: 4067

10 January 2017, 15:45

Hello Jason,

Mhh. I tested it with demo.mahara.org and could upload an image but not a journal entry. We'll take a look.

Cheers

Kristina

 

Kristina Hoeppner's profile picture
Posts: 4067

11 January 2017, 10:10

Hello Jason,

I did another test today on https://demo.mahara.org and we also tested on another site and didn't run into the error anymore.

Can you please give it a go on the demo site?

Thank you

Kristina

 

Jason Dong's profile picture
Posts: 33

11 January 2017, 16:09

Hi Kristina,

    I tried https://demo.mahara.org and the file and journal upload goes well. Subsequently, I logout and goes to my testing website which is not using SSL( I put productionmode=false) and successfully loged in. But something strange happened, the app did not change my profile while connecting to the new server and went wrong when I upload my file and journal entry. Please be reminded that this time the poped up message is different, it showed " Problem uploading, Response was: Invalid parameter value detected;execution cannot continue,:Unexpected keys(lastinstitution,mahara,) detected in parameter array.

Best Regards

Jason

 

Kristina Hoeppner's profile picture
Posts: 4067

11 January 2017, 23:37

Hello Jason,

Alexey found earlier today that the profile pic was not updating when simply switching servers but not shutting down the app. He's looking into that.

Cheers

Kristina

 

Peter Westebbe's profile picture
Posts: 24

03 March 2017, 6:10

Hi Kristina,

we installed 16.10.2 with access to Moodle. This works fine. But with Mahara Mobile we allways get error messages. Mahara mobile works fine the demo site of Mahara but with our site it refuses to get connected. We are using letsencrypt as security certificate. Maybe this is the problem?

Cheers

Peter

Patric Lougheed's profile picture
Posts: 92

03 March 2017, 7:24

Hi Peter,

I use Let's Encrypt as well and can confirm that Mahara Mobile works fine for me.

Patric

Kristina Hoeppner's profile picture
Posts: 4067

03 March 2017, 10:15

Hello Peter,

demo.mahara.org uses Let's Encrypt like Patric's site. So that isn't the problem. Do you have the mobileapi setting enabled?

If your users are allowed to log in via Moodle only, they would need to create a token: http://manual.mahara.org/en/16.10/account/apps.html

If all that doesn't help, can you please check your error log and send through the error message? The on-screen messages don't always give enough details.

Thanks

Kristina

 

11 results