Error creating BSD socket to be used for the websocket and error creating websocket structure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Error creating BSD socket to be used for the websocket and error creating websocket structure
I am trying to send data from Teltonika RUT955 to ThingWorx server and getting the below error - any idea how to fix this.
[WARN ] 2023-06-20 12:15:54,297: SDK Version: 2.2.1
[WARN ] 2023-06-20 12:15:54,298: TLS Library: OpenSSL
[WARN ] 2023-06-20 12:15:54,299: TLS Library Version: 1.1.1t
[WARN ] 2023-06-20 12:15:54,301: FIPS Capable
[ERROR] 2023-06-20 12:15:54,334: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2023-06-20 12:15:54,334: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2023-06-20 12:15:59,352: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2023-06-20 12:15:59,353: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2023-06-20 12:16:04,362: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2023-06-20 12:16:04,363: twApi_Initialize: Error creating websocket structure, retrying
[ERROR] 2023-06-20 12:16:09,374: twWs_Create: Error creating BSD socket to be used for the websocket
[ERROR] 2023-06-20 12:16:09,375: twApi_Initialize: Could not connect after 3 attempts
Failed to initialize ThingWorx connection
Failed to send data to ThingWorx
Solved! Go to Solution.
- Labels:
-
Coding
-
Connectivity
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Akj7579.
While reviewing your post we noticed a couple of things:
- You seem to be running an old version of the C SDK. You might want to upgrade and see if you run into the same issues. Our latest version has some security fixes and connection improvements.
- One of the Warning messages indicates "FIPS Capable." Do you have FIPS turned on? We don't yet support FIPS.
- The TLS library contained in the C SDK upgrades to 1.1.1q which is an earlier release than the one you're using.
Which version of ThingWorx are you running?
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Akj7579.
While reviewing your post we noticed a couple of things:
- You seem to be running an old version of the C SDK. You might want to upgrade and see if you run into the same issues. Our latest version has some security fixes and connection improvements.
- One of the Warning messages indicates "FIPS Capable." Do you have FIPS turned on? We don't yet support FIPS.
- The TLS library contained in the C SDK upgrades to 1.1.1q which is an earlier release than the one you're using.
Which version of ThingWorx are you running?
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Akj7579.
Did my previous response provide any help in resolving your issue? What is the current status?
Regards.
--Sharon
