These are error logs occurs while i start my predix machine please provide the appropriate solution to this problem ERROR |ERROR|com.ge.dspmicro.machineadapter.mqtt.impl.MqttMachineAdapterImpl|95-com.ge.dspmicro.machineadapter-mqtt-16.4.3|MQTT adapter Mqtt Machine Adapter not available. Configuration for MQTT broker is empty. |com.ge.dspmicro.httpclient.impl.HttpRequestThread|87-com.ge.dspmicro.httpclient-16.4.3|HTTP request error. java.lang.NullPointerException at org.apache.http.impl.client.CloseableHttpClient.determineTarget(CloseableHttpClient.java:91) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.ge.dspmicro.httpclient.impl.HttpRequestThread$1.run(HttpRequestThread.java:85) at com.ge.dspmicro.httpclient.impl.HttpRequestThread$1.run(HttpRequestThread.java:80) at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_121] at com.ge.dspmicro.httpclient.impl.HttpRequestThread.run(HttpRequestThread.java:79)[87:com.ge.dspmicro.httpclient:16.4.3] at com.ge.dspmicro.httpclient.impl.ReservedHttpClient.sendRequest(ReservedHttpClient.java:242)[87:com.ge.dspmicro.httpclient:16.4.3] at com.ge.dspmicro.httpclient.impl.ReservedHttpClient.sendRequest(ReservedHttpClient.java:233)[87:com.ge.dspmicro.httpclient:16.4.3] at com.ge.dspmicro.httpclient.impl.ReservedHttpClient.post(ReservedHttpClient.java:194)[87:com.ge.dspmicro.httpclient:16.4.3] at com.ge.dspmicro.cloud.gateway.impl.GatewaySync.syncWithCloud(GatewaySync.java:196)[97:com.ge.dspmicro.cloud-gateway:16.4.3] at com.ge.dspmicro.cloud.gateway.impl.GatewaySync.run(GatewaySync.java:326)[97:com.ge.dspmicro.cloud-gateway:16.4.3] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121] at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
i have visited through the following tutorial but it didn't help a lot:https://www.predix.io/docs/?r=99357#s8wRgtg6 so please provide the configuration file so that i can configure file according to that
Answer by Nadeem Ahmed · Mar 07, 2017 at 02:13 AM
There are two ways to send data from Predix machine to Predix cloud. 1- Sending data from Predix machine to predix time series (Predix cloud) through web socket river. 2- Sending data through http river from Predix machine to Predix cloud. In this case a micro service is required at Predix cloud that will receive the data from http river and stores into destination (PostgreSQL or Time series store etc).
Let me know that how you are sending data from Predix machine to Predix cloud?
Answer by Tom Turner · Mar 07, 2017 at 02:30 PM
Perhaps give this a try, it'll configure it for you.
Answer by Hiro Tanaka · Mar 09, 2017 at 03:17 AM
Are you Using MQTT protocol? The error message says configuration of MQTT broker is blank.
If not, simply do not install MQTT service when you start Predix Machine container.
If yes, you can refer https://www.predix.io/docs/?r=99357#iTxpazT1 this page for MQTT configuration.