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

[Bug] FutureConnection method isConnected() return wrong status #115

Open
ansonliaomelco opened this issue Jan 9, 2020 · 0 comments
Open

Comments

@ansonliaomelco
Copy link

ansonliaomelco commented Jan 9, 2020

Hi
My mqtt-client version is 1.12

And I am facing the problem is FutureConnection#isConnectd() return the wrong status, the screenshot as below.

even the method
FutureConnection#isConnected()
return false, after statement
System.out.println("MQTT connected?" + connection.isConnected());,

run
FutureConnection#subscribe(...)
and
FutureConnection#publish(...)
are works fine and
FutureConnection#receive()#await()
also received message well.

Please help to fix it.

image

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

1 participant