ThingServer on AWS

Hi there,
has anyone try to install thing server on AWS? I created an Ubuntu instance on AWS and install both mongo and thing server. When i query its status, it indicated that it’s running but indicate some missing plugin? Also, what do i need to modify the config.json file? Do I keep the server ip to 0.0.0.0?

Thank you for the help

● snap.thinger-maker-server.thingerd.service - Service for snap application thinger-maker-server.thingerd
Loaded: loaded (/etc/systemd/system/snap.thinger-maker-server.thingerd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-04-27 19:30:06 UTC; 25s ago
Process: 14217 ExecStart=/usr/bin/snap run thinger-maker-server.thingerd (code=exited, status=0/SUCCESS)
Main PID: 14228 (thinger)
Tasks: 2
Memory: 5.2M
CPU: 39ms
CGroup: /system.slice/snap.thinger-maker-server.thingerd.service
└─14228 thinger --fork --runpath=/var/snap/thinger-maker-server/common

Apr 27 19:30:06 ip-172-31-28-115 systemd[1]: Starting Service for snap application thinger-maker-server.thingerd…
Apr 27 19:30:06 ip-172-31-28-115 systemd[1]: Started Service for snap application thinger-maker-server.thingerd.
Apr 27 19:30:06 ip-172-31-28-115 thinger[14228]: looking for plugins in ‘/usr/lib/x86_64-linux-gnu/sasl2’, failed to open directory, error: No such file or dir
Apr 27 19:30:06 ip-172-31-28-115 thinger[14228]: looking for plugins in ‘/usr/lib/sasl2’, failed to open directory, error: No such file or directory
lines 1-15/15 (END)

Hi, it seems that your server is working ok, as stated by your log (there are some errors that does not affect the instance). Did you opened the server ports? 80. 443, 25200, 25202?

Having the same problem. Ports are open.

My logs :

2018-11-23T16:57:44.728290 info [API HANDLER]CORS Enabled
2018-11-23T16:57:44.728517 info [API HANDLER]Web fallback enabled in ‘/snap/thinger-maker-server/41/console’
2018-11-23T16:57:44.748227 info [Bucket Config]Initialized MongoDB Bucket Storage Instance
2018-11-23T16:57:44.748256 info [Bucket Config]Initialized Filesystem Bucket Export Instance
2018-11-23T16:57:44.748265 error [Email Config] Email interface not initialized
2018-11-23T16:57:44.748305 info [Server Manager]Initializing 1 working thread(s)…
2018-11-23T16:57:45.749059 info [Socket server]Server listening on 0.0.0.0:80
2018-11-23T16:57:45.749142 info [Socket server]Server listening on 0.0.0.0:443
2018-11-23T16:57:45.749240 info [Socket server]Server listening on 0.0.0.0:25200
2018-11-23T16:57:45.749280 info [Socket server]Server listening on 0.0.0.0:25202
2018-11-23T16:57:51.523696 error [Socket Server] Error while handling SSL handshake! → asio.ssl:335544539
2018-11-23T16:57:59.240451 error [Socket Server] Error while handling SSL handshake! → asio.ssl:335544539
2018-11-23T16:58:01.453149 error [Socket Server] Error while handling SSL handshake! → asio.ssl:336109761
2018-11-23T16:58:06.907514 error [Socket Server] Error while handling SSL handshake! → asio.ssl:335544539
2018-11-23T16:58:14.556831 error [Socket Server] Error while handling SSL handshake! → asio.ssl:335544539

I am using Arduino MKR 1400. Server on AWS.

Did #define THINGER_SERVER “xxx.xxx.xxx.xxx” in the sketch

I managed to connect by turning on debug and saw authentication errors although all my credentials were correct.

In the end, had to disable TLS for the device to connect.