#Discussion#Wio Link Server document has released, then?

Wio Link Server document has already released, what can you do?
a. Developing your App, even Windows Mobile App?
b. Integrating to IoT services
c. Wraping other SDK for JavaScript, Ruby, Python, Java, etc
D.What is your move?

github.com/Seeed-Studio/Wio_Lin … ment-Guide

Installed the Lean Server but get error: “socket.error: [Errno 98] Address already in use” when running either on or off line versions. What could be causing this error. When thru the install procedure and all when ok there. The rest of the Traceback is: Traceback (most recent call last):
File “./server_lean.py”, line 904, in
main()
File “./server_lean.py”, line 891, in main
http_server.listen(8080)
File “/usr/local/lib/python2.7/dist-packages/tornado/tcpserver.py”, line 126, in listen
sockets = bind_sockets(port, address=address)
File “/usr/local/lib/python2.7/dist-packages/tornado/netutil.py”, line 196, in bind_sockets
sock.bind(sockaddr)
File “/usr/lib/python2.7/socket.py”, line 224, in meth
return getattr(self._sock,name)(*args)

I also changed the server address to replace https with http. I am assuming that the Section “3.0 Deploy a Local Lean Data Exchange Server” can be done indepently of the earlier installation? I am using python 2.7. Is this the correct version?

Hi philip,

Python version is fine. The problem is your earlier installation is still running (at the same machine), and listening at port 8080. Unfortunately 8080 is used by lean server too. The full function server has “data exchange function” as well, so we assume that there is no need to deploy a lean server at the same server with a full function server deployed already.

Sorry for the confusion in documentation, we will fix it, telling more clearly that two server will conflict at the same machine.

Hello xuguang.shao, thanks for the reply. My installation is on a BBG and it did not have an earlier installation and I have never installed the full version. I also started on a fresh BBB and only installed the lean version . This machine did not have any previous installs and I ended up with the same problem. I closed down all wios and anything that make a reference to the wio servers including the Android apps and node-red servers. I do not know what machine the error message is referring to and where the address in already in use since I started on a new machine and closed everything else down. How to I resolve this issue? Thanks

I seem to have progressed one step further but not complete yet! At least no obvious failures at the lean server end. Three problems with the Android aps:
1) Can not change the Exchange Server Ip address on the Android app - see photo
2) Can not enter email address on the Android app - see photo
3) The photo at github.com/Seeed-Studio/Wio_Lin … -frond-end shows the local lean server with its port number. It is not possible to enter a port number on the Android app. The character “:” is not support in the app. Should the port number be included or does it default to ‘8080’?

I intent to run the the lean server locally so are the requirements for SSL certificates and https servers necessary? Is it ok to use: "CUSTOM_OTA_SERVER_ADDR=‘http://’ " in server_lean.py? I still get the above errors on either configuration ‘http’ or ‘https’. I have also downloaded ‘apache’ and completed 1.1 Get apache ready as the frond-end.
Android App1A.JPG
Android App3A.JPG
Android App2.JPG