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

source connection to Eclipse Ditto #25

Open
gogardas opened this issue Jan 24, 2025 · 2 comments
Open

source connection to Eclipse Ditto #25

gogardas opened this issue Jan 24, 2025 · 2 comments

Comments

@gogardas
Copy link

Hi! I have created a DT example and I am receiving data in MQTT Explorer. But, I can't see data in Grafana OpenTwins (dynamic data). On website, there is a comment: "If the messages are being received, then the problem is in the source connection to Eclipse Ditto. Check the connection logs with http://:/api/2/connections/mosquitto-source-connection/logs. The Eclipse Ditto ip and port are obtained the same as mosquitto's, but since Ditto has more than one service, you have to query/expose the nginx one."

Here is the log I received:
{
"connectionId": "mosquitto-source-connection",
"connectionLogs": [],
"enabledSince": null,
"enabledUntil": null

Morover, when I put in python code the MQTT broker address, I am receiving the error (with broker = "localhost", the code runs without problem).

@sergioinf
Copy link
Member

Hi, are you using minikube? When using minikube, you must use specific URL
Try using this https://ertis-research.github.io/opentwins/docs/installation/using-helm#configuration

@gogardas
Copy link
Author

Hi @sergioinf. Yes, I am using Minikube, and I'm using the proper URL and port number (obtained by minikube service --url). However, the dynamic data are not populated into the Grafana DT model (but I can see data in MQTT Explorer under the telemetry# topic.)

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