-
Notifications
You must be signed in to change notification settings - Fork 76
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
[Question] Generate Report node in rule chain refuses connection at Edge #59
Comments
Hello @akseerali, In order to generate reports on ThingsBoard Edge, there are a few critical steps that need to be carried out. Primarily, you'll need to initiate the web-report service and ensure that your Edge can access this service. Furthermore, the web-report service must be able to access the Edge in order to open dashboards, take 'screenshots' of these dashboards, and generate reports based on this data. To aid in the configuration, I've attached a sample docker compose file. This example pertains to an Edge that is connected to thingsboard.cloud and has the capability to generate reports: Please note that to ensure the web-report service can access the Edge container running inside Docker, it's necessary to access Edge using the IP address of your host machine: One potential pitfall to be aware of is that if you open the Edge UI using localhost:8080, the web-report service will interpret the baseUrl as localhost and attempt to open the dashboard within its own Docker container. However, it needs to open the dashboard in the Edge container for the correct operation. I hope this information aids in resolving your issue. Should you have further questions or encounter additional problems, please don't hesitate to reach out. |
Hi @akseerali, please provide your Scheduler configuration. Additionally, please check the same behavior on TB server, if possible. In this way we'll understand if the root cause is in the Edge or in TB Report generation in general. |
There was an issue with the rule chain configuration. |
The issue is appearing again. We have gone through some troubleshooting steps and presented some insights for better understanding.
Here are some detailed steps for the scheduler configuration and to reproduce this issue: |
Component
Description
I am trying to generate reports on cloud and edge. On the cloud, the reports can be easily scheduled; however, on the edge I am getting "connection refused" error in the Generate Report node in rule chain. The edge also can't export the dashboard.
Please share any hints on how to clear this error. I have also tried to configure the edge reporting parameters in docker compose file but its not solving the problem.
Environment
The text was updated successfully, but these errors were encountered: