Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by ankitdwvd79@gmail.com · Mar 07, 2017 at 01:03 AM · predix-machine-servicepredix cloud

how to send sensor data from predix machine to timeseries in predixcloud

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

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

  • Sort: 
avatar image
0

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.

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Tom Turner · Mar 07, 2017 at 02:30 PM

Perhaps give this a try, it'll configure it for you.

Setup Laptop/Devbox for Predix

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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?

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

73 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Pushing predix machine data into cloud database 2 Answers

how to send sensor data from predix machine to timeseries in predixcloud 1 Answer

how to configure predix machine to send to data to predix cloud 1 Answer

How to get data fom MQTT broker into GE predix cloud 4 Answers

predix machine data pushing to cassandra cloud database 1 Answer

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests