ibm-cloud

Not able to get my application logs using “cf logs my-cool-app” command (CF version 6.27)

一曲冷凌霜 提交于 2019-12-12 05:25:30
问题 I see an issue just like this from a few years ago, but I am facing the same problem. I am using cf version 6.27.0+d26b32dcc.2017-06-08 and bx version 0.5.4+ae22935-2017-05-18T06:24:28+00:00 When I issue bx app logs <myappname> , I get this error Loggregator endpoint missing from config file If I issue cf logs <myappname> , it works like a charm. Can anyone provide guidance on this? thank you 回答1: bx app logs is using embedded cf cli, while that embedded version cf cli is too old. A

API Connect shows “Cannot GET /apim/” error when updating schema

本小妞迷上赌 提交于 2019-12-12 05:17:00
问题 I have API Connect installed with mongodb connector over a remote server. When I access the IBM API Connect through browser, all is fine, but when I go to DataSources where my DB is, and try to hit Update Schema button as shown in the image, an error occurs showing this: Cannot GET /apim/dataSources/partials/dataSourceMigrate.html P.S. I gave full permission for my project directory (/var/www/) with full ownership for www-data group and still the same. Anyhelp would be appreciated. 回答1:

How to specify phonetic keywords for IBM Watson speech2text service?

馋奶兔 提交于 2019-12-12 05:06:16
问题 While we have had good success with Bluemix Java SDK in the general case, we've bumped into problems while trying to recognize occasional non-English words (e.g., foreign last names). Our hope was that one could specify the keyword list using SPR phonetic notation (which works great for text2speech), but that does not seem to be supported for speech2text. Any suggestions/workarounds? SpeechToText service = new SpeechToText(); service.setUsernameAndPassword("USERNAME", "PASSWORD"); File audio

Downloading code from Ibm bluemix using cloud foundry?

穿精又带淫゛_ 提交于 2019-12-12 05:05:04
问题 Hi guys my computer just died and I have lost all my files, Now I was using IBM Bluemix to make a node js application so all my files are on the IBM Bluemix space but I somehow can't seem to download my files that are there. It lets you download starter code but it doesn't let you download any recent pushes using cloud foundry. I'm really stuck at this any help will be useful. 回答1: Since it's a node.js application, you could also use the Bluemix file viewer to access the files directly from

Not able to use IBM Blockchain services after Bluemix 1.0 update (Hyperledger 0.6)

≡放荡痞女 提交于 2019-12-12 04:37:37
问题 My team and I are developing an app using Bluemix Blockchain services, and we were using the application just fine until the 1.0 update. We thought it could be an error related to the ibm-blockchain.js library, however we have tried deploying it via REST and we still get errors: { "jsonrpc": "2.0", "error": { "code": -32001, "message": "Deployment failure", "data": "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: 'exit

IBM MFP Logs disabling on ios simulator

老子叫甜甜 提交于 2019-12-12 04:36:14
问题 I have disabled all the NSLogs/print from my ios/swift project. But MFP Sdk is still logging the response when i run the app on simulator. When i run the app on device then it works properly by not showing any logs. How can i disable on simulator also?? 回答1: You can't disable logs in MFP 7.x SDK's while running on simulator as it is meant for development and testing phases. You can raise a request for enhancement of MFP product here. 来源: https://stackoverflow.com/questions/43494278/ibm-mfp

How we stash Data to Cloudant DB in IBM Bluemix?

无人久伴 提交于 2019-12-12 04:27:02
问题 Currently I am trying to stash data into Cloudant DB from a notebook using Python's Pixiedust package. After establishing a connection it gives me this error when trying to insert data into the database. nPy4JJavaError: An error occurred while calling o172.save. : org.apache.spark.SparkException: Job aborted due to stage failure: Task 3 in stage 38.0 failed 10 times, most recent failure: ' Lost task 3.9 in stage 38.0 (TID 1811, yp-spark-dal09-env5-0046): spray.http.IllegalUriException: The

How to enable CORS in softlayer object storage

那年仲夏 提交于 2019-12-12 04:23:06
问题 I am using the Softlayer object storage and accessing my objects in the S3 bucket using SDK API from my Node.js application deployed on IBM Bluemix. I am able to insert the objects in the bucket but while accessing the object using SDK API I am getting the CORS error as below: XMLHttpRequest cannot load https://s3-api.us-geo.objectstorage.softlayer.net/<my bucket-name>/<my object-name>. No. 'Access Control-......Allow-Origin' header is present on the requested source. Origin 'http://localhost

How to invoke openwhisk action within openwhisk platform on bluemix?

萝らか妹 提交于 2019-12-12 04:22:23
问题 I have created two actions on OpenWhisk on Bluemix. Both independently work fine when I can call them from outside the OpenWhisk platform. But I want to call action1 from within action2, and am using the following syntax: var openwhisk = require('openwhisk'); function main(args){ const name = 'action2'; const blocking = true; const params = { param1: 'sthing'}; var ow = openwhisk(); ow.actions.invoke({name, blocking, params}) .then(result => { console.log('result: ', result); return result; /

How can I setup a cell and collective in Bluemix

一个人想着一个人 提交于 2019-12-12 04:16:42
问题 I'm trying to setup a cell and a collective in a WAS for bluemix service. I've found a few steps online for generic liberty setup, but nothing specific for a bluemix collective or cell. Can someone point me in the right direction? 回答1: At a high level, you should be able to do the following for a Cell: Login to the Admin Console as wsadmin Create a server. Open all the ports on each host for each server created by running the openFirewallPorts.sh script. Below, you will find the standard