Skip to main content
1-Visitor
April 6, 2022
Solved

How do I link ThingWorx 9.1 with AWS IoT Core?

  • April 6, 2022
  • 2 replies
  • 9806 views

Hello comunity,

 

I want to use AWS as data storage to connect with ThingWorx.

 

But, I found that in the tutorial video, the original video about AWS IoT link has been removed and changed to Azure tutorial video.

 

So, where can I learn how to link ThingWorx 9.1 to AWS IoT?

Best answer by VladimirRosu_116627

Hi @Bill_Wang ,

We can not give more suggestions to this because it would require us spending time on your system/setup to understand what's happening, and even in that case it might be a totally unknown issue requiring hours of work.

Certificate-based problems are fairly common, and you'll struggle a bit to understand the concepts, but once you do it will all make sense. I suggest reading some tutorials to understand how a certificate works.

However, you might also hit infrastructure problems, like some firewall that blocks communication (and that firewall might not be always under your control, making in turn a nasty experience).

Whenever I see issues like this, I try to take out of equation the infrastructure elements that are in-between. For example, I'd try to install Kepware in a VM in the same AWS cloud region and see if that works fine, or if Kepware works from your own computer. Basically everything to eliminate what could trigger the issues you see.

If your company has an active subscription to ThingWorx and/or Kepware, you can always open a Tech Support case - I saw you did that, what's the outcome from that case?

Unfortunately, the best solution here is to try to locate one of your colleagues which has a bit more experience with this domain, or, if you can, to use some of our Professional Services in PTC to help you set this up - reach out to your sales person and ask him for this.

 

2 replies

5-Regular Member
April 6, 2022

 

Hello Bill,

 

pls check whether the given article is useful for you:

https://www.ptc.com/en/support/article/cs358761

 

Kindly revert back if you have any further queries.

 

Regards

Bhawna

Bill_Wang1-VisitorAuthor
1-Visitor
April 7, 2022

Hi Bhawna,

 

Thanks for the suggestion.

But, what I need is ThingWorx to AWS, not Azure, do you have any information about this?

 

Best Regards

Bill

24-Ruby III
April 7, 2022

 Hi,

 

1. From "Help Center" - "ThingWorx Foundation on AWS": https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Installation/DeploymentArchitecture/other_deployments__thingworx_foundation_on_aws.html 

 

2. Some helpful articles:

Bill_Wang1-VisitorAuthor
1-Visitor
April 13, 2022

Hi,

 

Sorry for the late reply and thank you for your detailed reply.

 

articles : "How to ingested Kepware data into ThingWorx via AWS IoT Connector" is very helpful.

 

But I'm having a new problem, after I follow all the steps to set it up

1. Create Thing in AWS,

2. Download and activate certificate, attach a policy in AWS Thing,

3. Import certificate in Kepware IoT Gateway setting page,

4. Create a new IoT Gateway agent, set the URL address and TLS Configuration,

5. Reinitialize Kepware.

 

And the following error message appears in kerpware, "MQTT agent 'Agent Name' failed to connect - reason: 'unable to find valid certification path to requested target'." (as shown in the attached image).

 

How can I solve this problem.

 

The version of kepware I am using is KEPServerEX 6.5 / ThingWorx Industrial Connectivity 8.3.65.

 

Best Regards

Bill

5-Regular Member
April 13, 2022

Hello @Bill_Wang ,

 

After analyzing the attached errors, it seems like certificate issue. pls check the given article link and post:

https://www.ptc.com/en/support/article/CS307827

 

https://community.ptc.com/t5/ThingWorx-Developers/How-to-solve-SSLHandshakeException/td-p/514206

 

Also I would recommend you to open the case with PTC support.

 

Regards

Bhawna