-
Notifications
You must be signed in to change notification settings - Fork 3
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
"MqttException: Client is not connected" when building client #5
Comments
@arthurdeschamps |
Hi. Thanks for the assistance.
Actually even though this exception occurs everything still works. It would just be cleaner not to have it. |
Hm... I don't know it's error, but account name is |
It doesn't solve it :( |
Hmm... It si problem with birth certificate. At first connection, it is supposed to client publish birth message to register device (creates new device entry)...I only used FuseClient instead PahoClient. Can you show me publish code? |
The issue is caused by the fact that the birth certificate is sent out while the client is still disconnected. This will raise an issue when using Paho IIRC. However the birth certificate will also be sent out when the client gets connected. So that is more like an information than a warning in this case. I am open to suggestions what a good fix could be. |
11:20:46.131 [main] WARN org.eclipse.kapua.gateway.client.kura.KuraBirthCertificateModule - Failed to publish birth certificate |
What help do you need? Is there anything not working? |
I want this exception to be resolved mentioned in comment above |
Does it cause any troubles? |
And is there any way to use android dependency? I want to use it in android application with cradle dependencies instead of maven |
@ctron any guidance on it ? |
Not really, works the same as all other Java dependencies. Nothing special here. |
When I try to build the client:
application = client.buildApplication(applicationId).build();
I get this exception:
The text was updated successfully, but these errors were encountered: