You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run this against demo.thingsboard.io or a fresh local install of TB 1.4.0 both yield the same results: dashboards are created, but rules and devices aren't. This has been tested under Windows 10 and Ubuntu 16.04 w/ Java 8.
Test command: java -jar facilities-monitoring.jar demo.thingsboard.io
Error output (example, it repeats the Rules and Device errors several times, presumably one for each rule and device): Unable to upload rule! Cause: org.springframework.web.client.HttpClientErrorException: 400 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:380) at org.thingsboard.demo.loader.data.DemoData.lambda$uploadData$9(DemoData.java:380) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.thingsboard.demo.loader.data.DemoData.uploadData(DemoData.java:366) at org.thingsboard.demo.loader.DemoLoader.loadDemoFromClasspath(DemoLoader.java:77) at org.thingsboard.samples.facility.FacilitiesDemoMain.main(FacilitiesDemoMain.java:64) Unable to upload device! Cause: org.springframework.web.client.HttpClientErrorException: 400 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:380) at org.thingsboard.demo.loader.data.DemoData.lambda$uploadData$12(DemoData.java:451) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.thingsboard.demo.loader.data.DemoData.uploadData(DemoData.java:420) at org.thingsboard.demo.loader.DemoLoader.loadDemoFromClasspath(DemoLoader.java:77) at org.thingsboard.samples.facility.FacilitiesDemoMain.main(FacilitiesDemoMain.java:64)
The text was updated successfully, but these errors were encountered:
aderusha
changed the title
These sample do not appear to work again TB 1.4.0, self-hosted or live demo
This sample do not appear to work again TB 1.4.0, self-hosted or live demo
Mar 22, 2018
aderusha
changed the title
This sample do not appear to work again TB 1.4.0, self-hosted or live demo
This sample do not appear to work against TB 1.4.0, self-hosted or live demo
Mar 22, 2018
Attempting to run this against demo.thingsboard.io or a fresh local install of TB 1.4.0 both yield the same results: dashboards are created, but rules and devices aren't. This has been tested under Windows 10 and Ubuntu 16.04 w/ Java 8.
Test command:
java -jar facilities-monitoring.jar demo.thingsboard.io
Error output (example, it repeats the Rules and Device errors several times, presumably one for each rule and device):
Unable to upload rule! Cause: org.springframework.web.client.HttpClientErrorException: 400 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:380) at org.thingsboard.demo.loader.data.DemoData.lambda$uploadData$9(DemoData.java:380) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.thingsboard.demo.loader.data.DemoData.uploadData(DemoData.java:366) at org.thingsboard.demo.loader.DemoLoader.loadDemoFromClasspath(DemoLoader.java:77) at org.thingsboard.samples.facility.FacilitiesDemoMain.main(FacilitiesDemoMain.java:64) Unable to upload device! Cause: org.springframework.web.client.HttpClientErrorException: 400 null at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580) at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:380) at org.thingsboard.demo.loader.data.DemoData.lambda$uploadData$12(DemoData.java:451) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.thingsboard.demo.loader.data.DemoData.uploadData(DemoData.java:420) at org.thingsboard.demo.loader.DemoLoader.loadDemoFromClasspath(DemoLoader.java:77) at org.thingsboard.samples.facility.FacilitiesDemoMain.main(FacilitiesDemoMain.java:64)
The text was updated successfully, but these errors were encountered: