Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The broker is not responding to the connection request message (Missing Connection Acknowledgement #1

Open
ramzaat opened this issue Feb 19, 2020 · 1 comment

Comments

@ramzaat
Copy link

ramzaat commented Feb 19, 2020

I have the awsconfiguration.json set up properly, I use the cognito plugin to create an account as well as verify it, and I have attached a policy that gives connect on resource "*", but when i try to connect i get:
I/flutter (18127): 2020-02-19 17:02:49.537331 -- SynchronousMqttConnectionHandler::internalConnect - pre sleep, state = Connection status is connecting with return code noneSpecified
for the connection attempts, and my message in the cloudwatch logs is
{
"timestamp": "2020-02-18 19:09:29.632",
"logLevel": "ERROR",
"traceId": "bed5fbca-eae3-3523-aa08-aa0f02119b1c",
"accountId": "154922551630",
"status": "Failure",
"eventType": "Connect",
"protocol": "MQTT",
"clientId": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"principalId": "AROASIEQ2RFHMAKJFY3CX:CognitoIdentityCredentials",
"sourceIp": "xx.xx.xxx.xxx",
"sourcePort": 49430,
"reason": "AUTHORIZATION_FAILURE",
"details": "Authorization Failure"
}

part of the setup process for cognito involved not including a secret key in the group pool creation, though I doubt that would be the issue because the cognito account is connecting and working without issue. Is there something I'm doing wrong or missing on my end?

@tejpochiraju
Copy link
Member

@devxpy @KaranRajPradhan is this broken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants