Comments (4)
In your device properties try setting the domain property to staging.internetofthings.ibmcloud.com
.
from streamsx.waterconservation.starterkit.
Like this?
[device]
org = cvsmok
domain = staging.internetofthings.ibmcloud.com
type = iotSprinkler
id = rPiSprinkler1
auth-method = token
auth-token = streamers
ui-host = http://WaterIvanAuto.stage1.mybluemix.net
simulation = true
It did not work...
C:\Dev_Streams\WaterIvanAuto>java -jar smartsprinkler.edgent-1.1.0.jar
UI host configure to: http://WaterIvanAuto.stage1.mybluemix.net
Running Simulation: true
Moisture: 940.600677555731
Sprinkler: false
Avg: 940.600677555731
Aug 23, 2016 11:55:25 AM com.ibm.iotf.client.AbstractClient createClient
INFO: pool-1-thread-1-0cc9b664-d1a8-4265-a8b1-87e9042baec9: Org ID = cvsmok
Client ID = d:cvsmok:iotSprinkler:rPiSprinkler1
Aug 23, 2016 11:55:27 AM com.ibm.iotf.client.AbstractClient connect
INFO: pool-1-thread-1-0cc9b664-d1a8-4265-a8b1-87e9042baec9: Connecting client d:cvsmok:iotSprinkler:rPiSprinkler1 to ssl://cvsmok.messaging.internetofthings.ibm
cloud.com:8883 (attempt #1)...
MqttException (0) - java.net.UnknownHostException: cvsmok.messaging.internetofthings.ibmcloud.com
at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:633)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: cvsmok.messaging.internetofthings.ibmcloud.com
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at org.eclipse.paho.client.mqttv3.internal.TCPNetworkModule.start(TCPNetworkModule.java:70)
at org.eclipse.paho.client.mqttv3.internal.SSLNetworkModule.start(SSLNetworkModule.java:82)
at org.eclipse.paho.client.mqttv3.internal.ClientComms$ConnectBG.run(ClientComms.java:619)
from streamsx.waterconservation.starterkit.
Ok - looks like that domain parameter support is in the IBM IoT client library but not yet in a release.
You could try to build the library and replace the one in Edgent.
https://github.com/ibm-watson-iot/iot-java
from streamsx.waterconservation.starterkit.
Hi, is there a solution to this problem as yet?
from streamsx.waterconservation.starterkit.
Related Issues (10)
- Update Deploy to Bluemix URL #14 HOT 6
- Web app hosted locally or on bluemix does not load HOT 1
- waterconservation.mybluemix.net is down
- Handle vulnerability in package.json dependency HOT 1
- Vulnerability in dependency "webpack-dev-server" found in nodejs/package.json HOT 1
- Vulnerability found in 'superagent' refered by nodejs/package.json
- Starter kit deployment issues
- Vulnerabilities found in eslint
- change name of the default branch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsx.waterconservation.starterkit.