Personal server deployment - docker or lean local server

Simplify IoT Development.

Moderators: lily.li, violet, seth.welday

Post Reply
cswiger
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Apr 08, 2016 2:27 am

Personal server deployment - docker or lean local server

Post by cswiger » Fri Apr 08, 2016 2:45 am

Just curious if anyone has the Server Deployment Guide working? I followed the steps carefully, have the apache proxy setup, can actually use the REST API to create a user, list, etc, but the Android app will not communicate with it when set to 'Custom' instead of 'International'.

Running the lean local server I think it logged a '404' not found when the Android App attempted to connect.
The Android App just reports a server error.

User avatar
xuguang.shao
Staff
Staff
Posts: 38
Joined: Tue May 20, 2014 1:57 pm

Re: Personal server deployment - docker or lean local server

Post by xuguang.shao » Fri Apr 08, 2016 10:57 am

Hi cswiger,

Upon double checking with our app developer, we found that android app connects custom server address at http://ip-address:8080. And in the guide we recommended to block the 8080 port in firewall. That's a problem in the alignment of our engineers. We'll fix this in next android release.

For now, the workaround is to unblock port 8080 in firewall.
Reach the unreal.

User avatar
xuguang.shao
Staff
Staff
Posts: 38
Joined: Tue May 20, 2014 1:57 pm

Re: Personal server deployment - docker or lean local server

Post by xuguang.shao » Fri Apr 08, 2016 11:48 am

ps: lean server can only be used as the exchange server, it will not serve the login or list commands etc. So that's why you get 404 error.
Reach the unreal.

teng.wang
Pre-kindergarten
Pre-kindergarten
Posts: 37
Joined: Fri Apr 08, 2016 10:50 am

Re: Personal server deployment - docker or lean local server

Post by teng.wang » Fri Apr 08, 2016 6:43 pm

Hi cswiger,

Thank you for your feedback.

The version 2.1.3 of android can updated now. Change custom server url is https.

Ten

Post Reply