ibm-cloud

how to install a letsencrypt cert on ibm cloud?

[亡魂溺海] 提交于 2019-12-06 15:54:12
I'm struggling to install a lets encrypt cert on IBM cloud to enable https access. I checked the cert using keytool and it includes all domains, and it seems valid. Right now i have two problems: https is only enabled on the root domain -> https://example.com but not on any of my subdomains including https://www.example.com the intermediate cert isnt delivered, which means some browsers wont accept it. I followed this tutorial https://www.ibm.com/blogs/bluemix/2014/09/ssl-certificates-bluemix-custom-domains/ unfortunately it's very old and most probably outdated. Does anyone know how to do

How to create a form builder with Watson Conversation Dialog

爷,独闯天下 提交于 2019-12-06 15:42:54
I'm working on a Watson Conversation project. I imported the following Watson project and I'm configuring it with my conversation: https://github.com/watson-developer-cloud/car-dashboard I would like the chatbot to show the user a checkbox with 7 options that the user has to choose. Each click in one option is linked to a part of the dialog. At the moment, I have inserted this text into a dialog node "Select:<br> <select id='select' on select: 'select()'> <option value='01' selected> Product 1 </option> <option value='02'>Product 2</option> </select>" And I have the following situation image

Visual Recognition error 400: Cannot execute learning task no classifier name given

不羁的心 提交于 2019-12-06 10:37:26
I am using Visual Recognition curl command to add a classification to an image: curl -u "user":"password" \ -X POST \ -F "images_file=@image0.jpg" \ -F "classifier_ids=classifierlist.json" \ "https://gateway.watsonplatform.net/visual-recognition-beta/api/v2/classifiers?version=2015-12-02" json file: { "classifiers": [ { "name": "tomato", "classifier_id": "tomato_1", "created": "2016-03-23T17:43:11+00:00", "owner": "xyz" } ] } (Also tried without the classifiers array. Got the same error) and getting an error: {"code":400,"error":"Cannot execute learning task : no classifier name given"} Is

Download Application files from Bluemix

走远了吗. 提交于 2019-12-06 09:18:17
Is there a way to download the content of an application running on Bluemix after staging it? Javediq Bluemix uses cloud foundry (CF) to manage the platform. By default the CF CLI does not have the capability to download the Application files from Bluemix. On CF CLI version 6.10.0 or higher, we can install a download plugin to retrieve these files from Bluemix locally. To install the plugin follow the below commands: $ cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/ $ cf install-plugin cf-download -r CF-Community Once the plugin is installed you can download the files using

How can I access IBM speech-to-text api with curl?

删除回忆录丶 提交于 2019-12-06 08:40:13
I cannot access the speech-to-text API on IBM Bluemix with curl! I tried the example from the documentation for a sessionless request with curl and it didn't work; I got an invalid userID/password message. Here is the error I got: "{ "code" : 401 , "error" : "Not Authorized" , "description" : "2016-10-08T15:22:37-04:00, Error ERCDPLTFRM-DNLKUPERR occurred when accessing https://158.85.132.94:443/speech-to-text/api/v1/recognize?timestamps=true&word_alternatives_threshold=0.9&continuous=true , Invalid UserId and/or Password. Please confirm that your credentials match the end-point you are trying

Connection error while connecting to cloudant DB from local

风格不统一 提交于 2019-12-06 08:22:56
I am new to cloudant. I have written code to connect cloudant DB which is DBaas in bluemix. I have written code locally to connect cloudant DB. Below is the code try { user="4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix"; password="xxxxxxxxxxxxxxxx"; url="https://4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix:xxxxxxxxxxxxxxxx@4728f43d-fcd2-41f0-be63-8945a78a9dab-bluemix.cloudant.com"; System.setProperty("http.proxyHost", "9.184.9.13"); System.setProperty("http.proxyPort", "80"); //user="8452e722-8945-47d9-b372-ede45e55a7a7-bluemix"; //password="xxxxxxxxxxxxxxxx"; //url="https://8452e722-8945-47d9

github php buildpack supporting DB2 and IBM Cloud php app

吃可爱长大的小学妹 提交于 2019-12-06 07:49:02
We have a PHP app on IBM Cloud connected to an instance of DB2 (also on IBM Cloud) that has been working flawlessly for 2 years Up until Sept 16th, we used the buildbpack with our PHP app (so that it could connect to DB2 via the db2_connect PHP function.) Now after the cflinuxfs3 upgrade that buildpack does not work and we are forced to use the " "php_buildpack" community buildpack already installed in Cloud Foundry". however, This new buildpack does not support DB2 connections. When trying to use this buildpack I run a log I find this error : "undefined function : db2_connect()". I've

How do I monitor daily API transaction usage for the Alchemy API service on Bluemix?

故事扮演 提交于 2019-12-06 07:10:18
As I use the Alchemy API service on Bluemix, I see the daily-transaction-limit-exceeded message. How can I monitor my transaction usage to determine when I am approaching the limit? Each API call typically equals many transactions. In the JSON response, you should see a transaction count returned for every API response that you receive from the server. However, you can determine the number of daily transactions that remain using the following query: curl -i http://access.alchemyapi.com/calls/info/GetAPIKeyInfo?apikey=<api_key> Replace the <api_key> variable with your own API key. In the XML

IBM Bluemix erroring when creating volumes via docker-compose up

情到浓时终转凉″ 提交于 2019-12-06 01:43:05
I am currently trying to get a docker-compose.yml working with Bluemix. The docker-compose.yml works fine when used directly with docker. Here the error message: $ docker-compose -f docker-compose-bluemix.yml up -d Creating volume "angularexpress_iib-binary" with default driver Creating angularexpress_iib-binary_1 ERROR: "angularexpress_iib-binary" I have created the volumes manually to see if it would help, but still getting the same error message: $ cf ic volume list iib iib-binary The relevant sections in the docker-compose-bluemix.yml are as follows: version: '2' services: iib: iib-binary:

How to get username & password for Watson Text to Speech Service?

百般思念 提交于 2019-12-06 01:34:44
I wanted to play with the text to speech service and forked the Official Sample available at - Text to Speech Demo . The sample uses Username and password while the credentials provide only an API Key. The service(s) appear to be moving over to using API keys (in favour of username and password which is reasonable). There must be a way to provide configuration(in the create new credentials page) which would provide the username and password. I can't locate those magic parameters to pass. Any pointers would be appreciated. As you spotted, the services have moved over to using API keys through