Skip to content

DUPLICATE_CLIENTID disconnect error #495

Answered by jmklix
rishabh-pensieve asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I didn't notice you posted your policy already. No, that is not the issue then. The iot:* just limits the policy to all iot actions while * allows all actions including the IoT actions.

Can you try running the sample with a different clientID? As @MikeDombo said:

this must mean that you have another mqtt client running with the same client ID somewhere. Shutdown any other client connections you have running on this device and any other device using the same client ID.

You can also try to connect with a different client ID which would prove the issue.

Replies: 1 comment 29 replies

Comment options

You must be logged in to vote
29 replies
@rishabh-pensieve
Comment options

@jmklix
Comment options

@rishabh-pensieve
Comment options

@jmklix
Comment options

Answer selected by jmklix
@jmklix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 2 days. attention This discussion needs attention.

3 participants