Skip to content

awsiot.greengrasscoreipc has no attibute connect #152

@hackaprende

Description

@hackaprende

Confirm by changing [ ] to [x] below to ensure that it's a bug:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions