1,239 questions
0
votes
1
answer
43
views
AWS MQTT connect from Python - receive not working
I'm learning how to use MQTT on AWS IoT - the goal is to simply publish and receive between AWS IoT MQTT test client and a Python script.
I can successfully publish from my Python code but I am unable ...
0
votes
0
answers
60
views
AWS IoT SigV4 presigned WebSocket URL fails when using temporary credentials
I'm generating a SigV4 presigned WebSocket URL for AWS IoT Core using the AWS SDK for Go (v2) and the v4 signer.
It works fine with long-term credentials (we have o Proof of Concept environment), but ...
0
votes
0
answers
95
views
AWS IoT MQTT: Devices randomly show as offline when subscribing to over 50 things in iOS app
I’m developing an iOS app using AWS IoT Core and MQTT to manage smart home devices. Each device has a corresponding AWS IoT "thing", and the app subscribes to the shadow delta topic of each ...
0
votes
1
answer
91
views
How can I fix Error EOF occurred in violation of protocol (_ssl.c:2393) with AWS IOT and MQTT
I am running python to send MQTT messages to an AWS-IOT server. It runs on a Raspberry Pi, and sends a message each time a button is pressed. It works for a while, but soon a message is sent that does ...
1
vote
2
answers
86
views
Why does AtMostOnce deliver to multiple devices? Is there a way to deliver to a single device?
I am trying AWS IoT Core and it seems when you publish message to a topic - even though I select AtMostOnce in QoS - it delivers the same message to all devices who listens this topic. Is it possible ...
0
votes
1
answer
86
views
How to allow an admin to override user IoT commands in AWS IoT Core (Device Shadow)?
I’m working with AWS IoT Core and using Device Shadows to control an IoT device (ESP32 connected to a relay to turn ON/OFF a motor), Right now, any user can turn the motor ON/OFF by updating the ...
0
votes
0
answers
56
views
AWS IoT MQTT Connection Issues with Cognito Authentication in React App
I'm building a React application that connects to AWS IoT via MQTT. I'm using Amazon Cognito for authentication and obtaining credentials from an Identity Pool.
Despite successful authentication and ...
0
votes
0
answers
97
views
Unable to receive IoT device shadow update events
I am trying to build a device client that is responsible for managing the IoT device. Idea is to have a control agent running all the time in a process which is responsible for provisioning the device ...
-1
votes
1
answer
258
views
Why do I not receive a response from $aws/certificates/create/json/accepted or rejected when I publish to topic $aws/certificates/create/json?
I have an esp32 device that has a certificate I generated in AWS to be used as a claim certificate. The esp32 connects to AWS fine and allows me to subscribe to the accepted and rejected topics. When ...
0
votes
1
answer
389
views
Issue in accessing aws-iot-device-sdk-v2 apis from react application
I am trying to use AWS IoT Device SDK JS 2 with a simple ReactJS application.
The application is targeted to run in a browser.
I have all the required certificates and credentials with me to configure ...
-1
votes
1
answer
247
views
AWS - createCertificateFromCsr - Fail to connect
till now we created a certificate using sdk method IotClient.CreateKeysAndCertificate. And easily manage to connect from the client side with the private key and certificate using iot device sdk
...
0
votes
0
answers
47
views
When calling the TestInvokeAuthorizer operation: Missing Authentication Token
i have a custom authoriser which is linked to a lambda function which validates a jwt token using symmetric key , the lambda function event looks like this
{
"token": "MyToken"
}
...
1
vote
0
answers
337
views
Unable to connect to MQTT (AWS IoT Core) in a Flutter application
We have a Flutter application where the device subscribes to MQTT and can publish information. The application connects to AWS IoT Core using mqtt_client. The vast majority of devices running our app ...
0
votes
0
answers
228
views
MQTT Connection Error to AWS IOT Core With ESP32-S3
I made test code with mqtt communicate with AWS IOT in ESP-IDF.
I made sample handler and save root ca in global ca store.
and then I set the Mqtt Config.
I tried to Connect MQTT With AWS IOT Core ...
0
votes
0
answers
49
views
Having problems with multiprocessing Python - Processes aren't running
I'm having problems trying to finish a university project and hopefully someone can help. Since the project is quite big and the only thing that isn't working is the multiprocessing technique, I will ...
0
votes
1
answer
557
views
Not able to ping the AWS IoT VPC interface endpoint via EC2 in same subnet
I am trying to create an AWS IoT VPC interface endpoint. I am using terraform.
Each AWS account comes with an IoT Core endpoint like this:
xxxxxxxxxxxxxx-ats.iot.us-east-1.amazonaws.com
They can be ...
0
votes
1
answer
115
views
AWSIoT Access denied when trying to get object
I am trying to create an AWS IoT Job, I have followed the pre-requisites here.
The Lambda creating the OTA Job has the required permissions.
But when I get the details of that Job to see why it hasn't ...
1
vote
1
answer
210
views
How to publish to the same AWS IoT Thing topic from multiple endpoints?
I'm currently running a test on an IoT project which is utilizing AWS IOT Core service. I have an MQTT broker with a Thing set up to which I have connection policies defined and authentication access ...
1
vote
0
answers
126
views
Spring-boot does not recognize my java class
I'm new to spring-boot and attempting to populate a property in a spring-boot XML with a function return value from a Java class but the class doesn't seem to be visible to the spring-boot loader. I'm ...
0
votes
1
answer
57
views
Query every X minutes in Dynamodb - How inefficient and costly it would be?
I have a device using AWS IOT that is saving the information on a Dynamodb table. It's not a lot of info, just water flow from my second house. My intention is to "turn on" a flag that will ...
0
votes
1
answer
41
views
AWS IoT with Dynamodb or other solution
I'm building a water leak detector for the days I'm out of my house, using an ESP-32. It's already working fine using AWS IoT saving the "pulses" (water flow) to DynamoDb.
But now I'm ...
0
votes
1
answer
292
views
Python: How to attach policy to AWS IoT thing?
I wrote Python script to create AWS IoT thing and policy. I attach policy to the IoT thing with the code as follows.
iot_client.attach_policy(policyName=policy_name, target=thing_arn)
I got the errors ...
0
votes
0
answers
223
views
AWS Things relation to MQTT topics
I have created several Things and security certificates in my AWS console. I can subscribe and post MQTT messages to XXXX-ats.iot.us-east-1.amazonaws.com:8883 without problems. But how to connect ...
2
votes
0
answers
171
views
${credentials-iot:ThingName} causing AccessDeniedException when used in an IAM policy
I've followed https://docs.aws.amazon.com/iot/latest/developerguide/authorizing-direct-aws.html to set up the following resources:
A DynamoDB table with name H42318K04D
IAM role with name "...
0
votes
1
answer
106
views
Cant turn ON the AWS IoT security audit through CDK
I want to enable the AWS IoT security audit through a CDK stack but it is not working.
First I followed this documentation for the interfaceAuditCheckConfigurationProperty
and the following was the ...