This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/EK-TM4C129EXL: CloudTask: Failed to create a new TLS instance

Part Number: EK-TM4C129EXL
Other Parts Discussed in Thread: EK-TM4C1294XL,

Tool/software: TI-RTOS

Hello guys,

I have finally managed to rebuild the Secure_IoT_patch-1.0.0.7-1 demo for the EK-TM4C129EXL. It's running fine; acquires its IP address via DHCP, gets time from NTP... (there's no proxy involved).

For it to work I followed the steps of (https://e2e.ti.com/support/microcontrollers/other/f/908/p/596600/2197390#2197390), posted by Mr. 

My configuration used was:

  • TI-RTOS v 2.16.01.14
  • WolfSSL v3.10.2
  • XDCTools 3.32.01.22
  • CCS v8.3.0
  • Compiler ti-cgt-arm_5.2.2

More unfortunately after the startup, the following message appears:

Welcome to the Crypto Connected LaunchPad's,

Secure Internet of Things Demo.

MAC Address: 0800285a8d7c
IP Address acquired: 192.168.2.189
NTP IP resolved to 143.107.229.210
Current Date/Time is Wed Jan 23 16:49:20 2019

CloudTask: Failed to create a new TLS instance. Exiting.
>

Do I have a problem like my internet provider? My provider is of type (CGNAT, or Carrier Grade Network Address Translation). How could I test if it is affecting communication?

The problem is similar to the post (https://e2e.ti.com/support/microcontrollers/other/f/908/t/755363

Thank you all,

Alanderson

  • Hi Alanderson,
    Is this your office network or home network? Can you try with your home network? If you were running in the office network, I'm not sure if there is some security firewall that may be the reason.
  • Hi Charles,
    This is a home network. I disabled all Firewall, but unfortunately I did not succeed

    Thanks for the quick response,
    Regards,

    Alanderson
  • Hi,

    Sorry, I have to say I'm not an expert in TLS. I'm not sure if the problem is with the TLS or if you even have problem establishing TCP connection with the exosite server.

    Can you run the TivaWare example qs_iot (can be found under <TivaWare_Installation>/examples/boards/ek-tm4c1294xl/qs_iot) which establishes communication between the client and the exocite server over the internet. I ran this example before from a home network and it was working for me. If you can get this to work then we can rule out TCP communication issues with the exocite server. The problem will be more with the TLS which I hope you can get some guidance from WolfSSL.

    Here is a training video for Secure Iot Demo training.ti.com/secure-iot-demo. It is by no means that watching the video will resolve your problem but I hope you may be able to catch some hints that are worth investigating.
  • Hi Charles,
    Thanks for the tips, I'll try to run this example and I'll return with the answer.

    Thanks,
    Alanderson
  • Hi Charles,
    I did the tests with the qs_iot example.
    1°) Compiled and launch the example (<TivaWare_Installation>/examples/boards/ek-tm4c1294xl/qs_iot) for the EK-TM4C129EXL board. It's running fine.
    2°) Deleted the device (EK-TM4C129EXL) on the Exosite.
    3°) Added a new device (EK-TM4C1294XL Connected LaunchPad). My board is the EK-TM4C129EXL :)
    4°) Run...
    5°) Connection successful!

    It seems the problem is with TLS, I'm going to compile version 3.8.0 and I'll test. I will contact WolfSSL to see if there is a solution.

    Thanks,
    Alanderson
  • Hi Alanderson,
    Is this issue resolved? Have you been able to get advice from WolfSSL? I will close this thread for now. If you have new questions you can open a new thread. If you have some updates to your issue you can reopen this thread by posting comments.
  • Hello Charles,

    I could not talk to WolfSSL. Now I will enter SSL studies. With news, I'll open another topic.
    Thank you all,

    Alanderson