- Notifications
You must be signed in to change notification settings - Fork 220
Description
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- [x ] I've searched for previous similar issues and didn't find any solution
Known Issue
- [x ] I'm using ATS data type endpoint: the endpoint should look like
<prefix>-ats.iot.<region>.amazonaws.com
Describe the bug
A clear and concise description of what the bug is.
In your ipc_greengrasss sample, line 70, you are doing this
ipc_client = awsiot.greengrasscoreipc.connect()
But when running the script I get this error "awsiot.greengrasscoreipc has no attibute 'connect'"
SDK version number
1.5.3
Platform/OS/Device
What are you running the sdk on?
Raspbian
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
Just running the ipc_greengrass.py sample you have in this repo
Expected behavior
A clear and concise description of what you expected to happen.
It should publish an MQTT message to some topic
Logs/output
If applicable, add logs or error output.
com.example.MyGreengrassCore: stderr. AttributeError: module 'awsiot.greengrasscoreipc' has no attribute 'connect'. {scriptName=services.com.example.MyGreengrassCore.lifecycle.Run, serviceName=com.example.MyGreengrassCore, currentState=RUNNING}
REMEMBER TO SANITIZE YOUR PERSONAL INFO
awscrt.io.init_logging(awscrt.io.LogLevel.Warn, 'stderr') Additional context
Add any other context about the problem here.