Cloud connector

How to configure Meshlium or use the Manager System
martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Cloud connector

Post by martajg19 » Mon May 27, 2019 1:58 pm

Hi, I've been trying to connect to data base AWS and Wonderware following the meshlium documentation, but in both cases in the meshlium logs there is and error and don't know why. I tried AWS first but because it wasn't working I changed to Wonderware but then the same happened.

Here's the Wonderware connection (logs):
2019-05-27T13:35:42.721371Z: INFO: Starting
2019-05-27T13:35:42.802394Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:35:42.807684Z: ERROR: Exception = [Errno -2] Name or service not known

Here the AWS
Error(-23) connecting to a38oe3xnqyjvd2-ats.iot.us-east-2.amazonaws.com:8883 : Returned when the network layer failed to open a socket
DEBUG: iot_tls_connect L#120
. Seeding the random number generator...
DEBUG: iot_tls_connect L#128 . Loading the CA root certificate ...
DEBUG: iot_tls_connect L#134 ok (0 skipped)

DEBUG: iot_tls_connect L#136 . Loading the client cert. and key...
DEBUG: iot_tls_connect L#149 ok

DEBUG: iot_tls_connect L#151 . Connecting to a38oe3xnqyjvd2-ats.iot.us-east-2.amazonaws.com/8883...
ERROR: iot_tls_connect L#154 failed
! mbedtls_net_connect returned -0x52
the error seems to be here...

thankyou

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Cloud connector

Post by libelium-dev » Tue May 28, 2019 9:36 am

Hi,

Please access to the debug logs and share with us the complete files to know more information about the problems. You can access through the browser accessing to ftp://YOUR_MESHLIUM_IP
http://www.libelium.com/downloads/docum ... df#page=29

The credentials are log/libelium2014

Then share with us the wonderware and amazon logs.

Regards

martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Re: Cloud connector

Post by martajg19 » Wed May 29, 2019 10:25 am

'had trouble accessing the logs but here are the ones for wonderware. Is this what you asked for? Thankyou


2019-05-27T13:26:43.014720Z: INFO: Starting
2019-05-27T13:26:43.131235Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:26:43.138661Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:27:42.347108Z: INFO: Starting
2019-05-27T13:27:42.425896Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:27:42.431198Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:28:42.644971Z: INFO: Starting
2019-05-27T13:28:42.724494Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:28:42.729524Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:29:42.935041Z: INFO: Starting
2019-05-27T13:29:43.016115Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:29:43.021162Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:30:42.236065Z: INFO: Starting
2019-05-27T13:30:42.316380Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:30:42.321744Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:31:42.535685Z: INFO: Starting
2019-05-27T13:31:42.616663Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:31:42.621956Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:32:42.834712Z: INFO: Starting
2019-05-27T13:32:42.914619Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:32:42.919884Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:33:43.128342Z: INFO: Starting
2019-05-27T13:33:43.207644Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:33:43.212784Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:34:42.420466Z: INFO: Starting
2019-05-27T13:34:42.498680Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:34:42.503622Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:35:42.721371Z: INFO: Starting
2019-05-27T13:35:42.802394Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:35:42.807684Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:36:43.025785Z: INFO: Starting
2019-05-27T13:36:43.106918Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:36:43.112052Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:37:42.318421Z: INFO: Starting
2019-05-27T13:37:42.398427Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:37:42.403218Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:38:07.910789Z: INFO: Starting
2019-05-27T13:38:07.998518Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:38:08.003786Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:39:07.215305Z: INFO: Starting
2019-05-27T13:39:07.294153Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:39:07.299299Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:40:07.504808Z: INFO: Starting
2019-05-27T13:40:07.582069Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:40:07.587019Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:41:07.796914Z: INFO: Starting
2019-05-27T13:41:07.879298Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:41:07.884415Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:42:08.092810Z: INFO: Starting
2019-05-27T13:42:08.172280Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:42:08.177282Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:43:07.386866Z: INFO: Starting
2019-05-27T13:43:07.468619Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:43:07.473746Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:44:07.685588Z: INFO: Starting
2019-05-27T13:44:07.766131Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:44:07.771371Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:45:07.977736Z: INFO: Starting
2019-05-27T13:45:08.057199Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:45:08.062553Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:46:07.271287Z: INFO: Starting
2019-05-27T13:46:07.354040Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:46:07.359203Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-27T13:47:07.568258Z: INFO: Starting
2019-05-27T13:47:07.648107Z: INFO: Uploading metadata. 12 tags
2019-05-27T13:47:07.653411Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:13:31.545178Z: INFO: Starting
2019-05-29T10:13:31.659811Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:13:31.666835Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:14:31.883122Z: INFO: Starting
2019-05-29T10:14:31.966487Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:14:31.971544Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:15:31.178663Z: INFO: Starting
2019-05-29T10:15:31.259521Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:15:31.264488Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:16:31.472621Z: INFO: Starting
2019-05-29T10:16:31.552846Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:16:31.557927Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:17:31.765937Z: INFO: Starting
2019-05-29T10:17:31.844950Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:17:31.849798Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:18:32.055914Z: INFO: Starting
2019-05-29T10:18:32.135899Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:18:32.140859Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:19:31.348427Z: INFO: Starting
2019-05-29T10:19:31.427775Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:19:31.432807Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:20:31.638897Z: INFO: Starting
2019-05-29T10:20:31.714999Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:20:31.719925Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:21:31.927325Z: INFO: Starting
2019-05-29T10:21:32.007278Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:21:32.012182Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:22:31.218177Z: INFO: Starting
2019-05-29T10:22:31.294968Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:22:31.299989Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:23:31.506825Z: INFO: Starting
2019-05-29T10:23:31.586319Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:23:31.591451Z: ERROR: Exception = [Errno -2] Name or service not known
2019-05-29T10:24:31.798174Z: INFO: Starting
2019-05-29T10:24:31.876999Z: INFO: Uploading metadata. 12 tags
2019-05-29T10:24:31.882081Z: ERROR: Exception = [Errno -2] Name or service not known

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Cloud connector

Post by libelium-dev » Thu May 30, 2019 9:49 am

Hi,

Regarding AWS cloud, it seems that some of the steps weren't followed properly. Meshlium is trying to connect to AWS but something is wrong in the configuration. Please make sure the configuration parameters are correct or try to register Meshlium again to AWS.

The Wonderware Cloud Connector is supported by Wonderware, please contact them to try to solve the issue. If they don't reply or you have any problem, please let us know it and we will contact them.
http://www.libelium.com/downloads/docum ... f#page=127

Regards

martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Re: Cloud connector

Post by martajg19 » Thu May 30, 2019 9:57 am

OK, I'll let you know.
Thankyou

martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Re: Cloud connector

Post by martajg19 » Thu May 30, 2019 12:06 pm

Hello, I could contact with Wonderware but they asked me for the programming language and protocol the sensors are using. How can I know that? Thank you

martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Re: Cloud connector

Post by martajg19 » Thu May 30, 2019 12:28 pm

It's sql, right? Thankyou

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Cloud connector

Post by libelium-dev » Thu May 30, 2019 12:54 pm

Hi,

Wonderware developed the Cloud Connector for Meshlium, they know all information. Please tell them that you refer to the Meshlium device, you can share the guide with them to avoid any misunderstood
http://www.libelium.com/downloads/docum ... f#page=124

Apologies for the inconvenience.
Regards

martajg19
Posts: 89
Joined: Fri May 17, 2019 10:00 am
Company: JG Ingenieros

Re: Cloud connector

Post by martajg19 » Thu May 30, 2019 1:46 pm

Ok! Thankyou for your support.

Regarding the AWS connection, I found a previous post here in the forum (subject: Amazon Iot connection Error(-23)) from April 2018 and it's happening the same to me. So, does the meshlium nedd to have connection to the internet to send the data to de AWS DB? That's what I understand from your last response to that post. In any case, I'll follow the instructions you gave them.
Thankyou

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Cloud connector

Post by libelium-dev » Fri May 31, 2019 8:16 am

Hi,

Yes, Meshlium needs Internet access to send data to any cloud. Does your Meshlium have Internet access?

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest