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

MQTT showing "Device cannot be connected" #2422

Closed
arun-eglabs opened this issue Jan 14, 2024 · 4 comments
Closed

MQTT showing "Device cannot be connected" #2422

arun-eglabs opened this issue Jan 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@arun-eglabs
Copy link

Apache StreamPipes version

0.92.0

Affected StreamPipes components

Connect

What happened?

I was trying to connect via MQTT

Broker: broker.hivemq.com
TCP Port: 1883

it shows timeout , the broker is running fine.

Should we do anything in docker to enable the connectivity? from streampipe to internet inside docker network

How to reproduce?

No response

Expected behavior

No response

Additional technical information

No response

Are you willing to submit a PR?

None

@arun-eglabs arun-eglabs added the bug Something isn't working label Jan 14, 2024
@obermeier
Copy link
Member

Hi @arun-eglabs,

Thank you very much for your feedback!

Normally, external networks should be reachable from the containers.

One "common" cause of this error could be a timeout when the MQTT-Adapter is trying to determine the event schema. This issue often occurs if no data are published during the schema-guessing phase.

Could you please provide the content of the "Error details" window if this issue persists?

Cheers,
Stefan

@arun-eglabs
Copy link
Author

Thanks a lot for the quick update, I updated to the new version and it is working, however, I will check again and see if the data is flowing continuously, sometimes we face issues where the data is not continuously flowing etc.

But will keep you posted.... or we may close this bug

We would like to contribute to the product, the build failed when we compiled it. Do we have a different code base for contributing to it, please ? And can we raise queries if the build failed with giving the errors

@dominikriemer
Copy link
Member

Hi @arun-eglabs great that you were able to get it working!
Where exactly does your build fail? In most cases, it should be just a mvn package for the Java part and npm install followed by npm run build for the UI part.
Did any of these commands fail in your setup?

Cheers
Dominik

@dominikriemer
Copy link
Member

And sure we are happy to help in case you have any problems when building..feel free to open a discussion in case you have any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants