ibm-cloud

Watson IOT Out node on Raspberry Pi repeatedly disconnecting

瘦欲@ 提交于 2019-12-24 18:33:31
问题 I am using a Watson IOT Output (wiotp out) in a Node-RED flow on my Raspberry PI and am having issues with the connection repeatedly disconnecting and then re-connecting. Here is a screenshot of my Credentials Node and one of my IOT Out Node. The connection is configured so that I can send messages to the cloud and successfully have them trigger a flow in my cloud Node-RED instance. The problem I'm having is that when I attempt to send a string array as my payload, very items in the array

IBM Bluemix - NodeJS: unable to resolve the dependency in the manifest

人盡茶涼 提交于 2019-12-24 17:52:33
问题 I am using IBM Blue mix dev ops build and deploy. My application is nodejs application, which I created using nodejs express framework and added all the required files like manifest.yml. Previous Issues which i fixed: 1. I have to add .ymml file myself 2. the project name was already occupied, i supplied new one. 3. Because I had nested directories and it's in 2nd sub directory, so build step was also failing, I add /path/path/ then it was success. Issue: 4. On deploy, I am getting this error

IBM Bluemix - NodeJS: unable to resolve the dependency in the manifest

牧云@^-^@ 提交于 2019-12-24 17:52:01
问题 I am using IBM Blue mix dev ops build and deploy. My application is nodejs application, which I created using nodejs express framework and added all the required files like manifest.yml. Previous Issues which i fixed: 1. I have to add .ymml file myself 2. the project name was already occupied, i supplied new one. 3. Because I had nested directories and it's in 2nd sub directory, so build step was also failing, I add /path/path/ then it was success. Issue: 4. On deploy, I am getting this error

PHP Login Form using DashDB

ε祈祈猫儿з 提交于 2019-12-24 17:24:41
问题 I'm Trying to create a Login form using PHP with the DashDB service from Bluemix, I really dont know whats wrong with this code and I would really appreciate your help! My code is composed of five parts: ConexionDB.php, checklogin.php, login_success.php, logout.php and main_login.php DashDB Database: CREATE TABLE MEMBERS ( ID INT NOT NULL, USERNAME VARCHAR(65) NOT NULL DEFAULT, PASSWORD VARCHAR(65) NOT NULL DEFAULT, PRIMARY KEY (ID) ); ConexionDB.php <?php // Parse VCAP if( getenv("VCAP

push not initilizing when trying to create hybrid android application

為{幸葍}努か 提交于 2019-12-24 17:20:02
问题 I am trying to implement push notifications using bluemix and mobilefirst. I have used the following links to implement http://www.ibm.com/developerworks/library/mo-cordova-push-app/ http://mbaas-gettingstarted.ng.bluemix.net/hybrid#initialize-push - When i run the the below code I am getting the following message in the console: initPush called---------------- main.js:29 calling bluemix initialize with values---------------------- IBMBluemixHybrid.js:2956 [INFO] [DEFAULT] Hybrid initialize [

Is it possible for a spark job on bluemix to see a list of the other processes on the operating system?

旧城冷巷雨未停 提交于 2019-12-24 17:06:34
问题 A common approach for connecting to third party systems from spark is to provide the credentials for the systems as arguments to the spark script. However, this raises some questions about security. E.g. See this question Bluemix spark-submit -- How to secure credentials needed by my Scala jar Is it possible for a spark job running on bluemix to see a list of the other processes on the operating system? I.e. Can a job run the equivalent of ps -awx to inspect the processes running on the spark

How to resolve SG Client's ENOTFOUND error

心不动则不痛 提交于 2019-12-24 13:23:14
问题 I set up Secure Gateway's destination host as hostname which is ssldemo , not an IP address. I started SG Client with '--net="host"' option in order to resolve the hostname. Of course, the host operating system can resolve the hostname. Please see the logs of ping the hostname. But, SG Client couldn't resolve the hostname and got "ENOTFOUND" error when the trx was executed. I tried to add '--net="host" --add-host "ssldemo:192.168.56.1"' options, but I got the same error. Could you please

How to rename a Bluemix namespace (container registry)?

狂风中的少年 提交于 2019-12-24 12:36:17
问题 I've set up a namespace for my container registry. I tried creating my first docker container. However, now I would like to change the namespace. How can I do this? 回答1: You can't do it. According to IBM Containers Docs The first time that you create a container within an organization, you are prompted to enter a name for the namespace that is associated with the private Bluemix repository. The namespace is used to generate a unique URL that you use to access your private Bluemix repository.

I'm developing a cordova Bluemix push notification application. I'm not able to find “applicationSecret” when I create from the Bluemix dashboard

六月ゝ 毕业季﹏ 提交于 2019-12-24 11:47:05
问题 I'm developing a cordova Bluemix push notification application. I'm not able to find "applicationSecret" when I create from the Bluemix dashboard. bluemixpush: function() { console.log("device is ready, let's initialize bluemix!"); var values = { applicationId: "", applicationSecret: "<INSERT_APPLICATION_SECRET_HERE>", applicationRoute: "" }; 回答1: Your application secret is in the Mobile Application Security Dashboard which can be found from the navigation menu to the left in your application

IBM Cloud Functions - How to use and upload own libraries?

泄露秘密 提交于 2019-12-24 11:35:35
问题 Is it possible to use / upload own libraries to IBM Cloud Functions? Or is it limited to the preinstalled packages? I plan to use Python as programming language. 回答1: You can bundle your own dependencies. See the docs here https://github.com/apache/incubator-openwhisk/blob/master/docs/actions-python.md#packaging-python-actions-with-a-virtual-environment-in-zip-files for creating a virtual environment with your libraries. The docs provide an example installing dependencies via requirements.txt