ibm-cloud

github php buildpack supporting DB2 and IBM Cloud php app

☆樱花仙子☆ 提交于 2019-12-10 11:25:24
问题 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

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

半世苍凉 提交于 2019-12-10 11:05:31
问题 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,

Error pushing changes to cloud foundry

有些话、适合烂在心里 提交于 2019-12-10 09:31:14
问题 from my local host, I connected to blue mix with cf api https://api.ng.bluemix.net I logged in and then I pushed the changes with cf push However, in the console, Uploading MY_PROJECT... Uploading app files from: /Users/MyName/Documents/MY_PROJECT Uploading 437.7K, 386 files Done uploading FAILED Error processing app files: Error uploading application. The resource file mode is invalid: File mode '0444' is invalid. (venv) My-iMac:MY_PROJECT MyName$ How do I trouble shoot this? 回答1: According

“500 Error: Failed to establish a backside connection” - Bluemix Selenium Tests

爷,独闯天下 提交于 2019-12-09 23:47:17
问题 I have deployed a simple web based project which runs basic test automation on browserstack (test environment) via IBM Cloud. URL : https://gaiaautomation0.au-syd.mybluemix.net/ The tests are executed by a call from the web page and an overlay is displayed when the tests are executing (Ajax call). During execution, IBM Cloud times out randomly at different test steps with the console error below however the tests are still getting executed. Is there a way to stop the 500 error shown below.

Can I use IBM Watson services without Bluemix?

拥有回忆 提交于 2019-12-08 19:26:58
问题 I've been using AWS for hosting my backend servers. What's the best way to sign up an account so I can call Watson services from my servers directly, without an account on Bluemix? If yes, how? I couldn't find that at Watson's website. Thanks. 回答1: You can absolutely use the Watson APIs from platforms and endpoints other than Bluemix. They are all REST APIs that do not restrict access by the source of the call. You do however have to use Bluemix to sign up, get credentials and for billing. I

Bluemix - object storage - node.js - pkgcloud - openstack returns 401

廉价感情. 提交于 2019-12-08 15:00:34
I am trying to use pkgcloud (node.js) openstack with bluemix object storage, but when I put all the requested parameters as on official page, it always returns 401. I tried using postman as described on bluemix and it works. I created a package , which is able to to authorize it right. It is just a copy of pkgcloud, with a few fixes. EDIT: IT IS WORKING! The V2 supports was shot down by bluemix and it has only V3 support now, but I once again find the issues. Remember to use newest version (2.0.0) So this is how you can use it now : var pkgcloud = require('pkgcloud-bluemix-objectstorage'); //

Is it possible to use wildcards in API paths in IBM API Connect

微笑、不失礼 提交于 2019-12-08 12:04:14
问题 I have a requirement to route all the API calls which meets some pattern, to a specific service. For example "/register/student", "register/teacher", "register/employee" should all go to one micro service. Can I define the above path (not absolute path for each API) using some wild card or pattern so that any request which matches the patter: "/register/**", should go to one specific micro service. 回答1: You can do it in the path definition using path parameters and operation switches to

Debug nodejs app in CF

試著忘記壹切 提交于 2019-12-08 10:47:27
问题 I follow this guide how to debug node.js application in CF and its currently not working , https://medium.com/@KevinHoffman/debugging-node-js-applications-in-cloud-foundry-b8fee5178a09#.ekkzo3f63 I've installed the node inspector and I see message in the logs like: 2017-03-23T15:29:21.58+0200 [APP/PROC/WEB/0]ERR Debugger listening on [::]:5858 I did the ssh command Now what should I do ? in the guide it says the following after the ssh export PATH=$PATH:/app/.heroku/node/bin what should be

IBm Cloud Watson Assistant: How to get the ID of a workspace

我怕爱的太早我们不能终老 提交于 2019-12-08 08:34:48
问题 I made a chatbot using IBM Cloud Watson Assistant and I need to use it in my Android applications. This my my config.xml code : <?xml version="1.0" encoding="utf-8"?> <resources> <!-- Watson Conversation Service Credentials --> <string name="workspace_id">???</string> <string name="conversation_username">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string> <string name="conversation_password">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string> <!--Watson Speech-To-Text Service Credentials-

IBM Watson Visual Recognition in Java

你离开我真会死。 提交于 2019-12-08 07:12:22
问题 I want to use IBM Watson Visual Recognition for my android app and want to call APIs in JAVA but i don't find any example or any reference to the list of methods in JAVA to use this service. You can see the JAVA examples are missing here. Please help me to find few suitable examples or any reference to these methods. Please also tell me what is bluemix platform and is it necessary to use it in order to use IBM Watson Visual Recognition? Thanks in Advance! 回答1: Look at the Java SDK, and in