ibm-cloud

Error message in Bluemix

主宰稳场 提交于 2020-01-02 09:55:09
问题 I'm new to IBM Bluemix. I faced this error message 'BXNUI0515E: The attempt to retrieve the spaces in the org failed because of a network connection problem. Try again later.' Please Help me 回答1: Please double check if you have created a space in the current Region. This error often is received when you try to create an application or a service directly from the Catalog for the first time without creating a space. 回答2: 1) Generally this issue is resolved creating application\service using the

Bluemix toolchain export & import

久未见 提交于 2020-01-02 05:50:28
问题 If I have created a bluemix toolchain through UI, how can I export that. I see there's an option to create a toolchain from a template described in yml files. But how can I get these yml files for an existing toolchain created using UI. Thanks 回答1: In it's current form and shape, there isn't a import-export option for the toolchains. The existing toolchain templates have a repository where the file representation is stored (YAML, JSON and others). Clone a toolchain from this github repository

Creating IP table rules for a Bluemix app for Secure Gateway

蹲街弑〆低调 提交于 2019-12-31 04:20:12
问题 There is new section in Bluemix Doc for the Secure Gateway Service: Creating IP table rules for a Bluemix app Unfortunately I don't understand what I should do. E. g. the text says to make an API call in this form: PUT /v1/sgconfig/:<gateway_id>/destinations/:<endpoint_id>/ipTableRule That will never work, it should say something like curl -k --request PUT https://sgmanager.ng.bluemix.net/v1/sgconfig/... Also, in the Secure Gateway Definition, under Advanced / Network Options , do I need to

How to give personalised greeting in Watson Conversation?

不想你离开。 提交于 2019-12-31 00:44:12
问题 While Defining the Dialog in the Watson Conversation I'm not able to greet user with his/her name or I'm not able to detect contact number sent by the user and rephrase it to the user. Is it possible to do it in the Watson Conversation Api or not. 回答1: Do you already have access to this information? You can send these values through as context, and refer to them using $context_variable The same goes for collecting information from a user. You can capture things using regular expressions via

Cloud Foundry / Bluemix load balancing

*爱你&永不变心* 提交于 2019-12-30 11:14:09
问题 I know that by default, Bluemix / Cloud Foundry use round-robin load balancing. Is there a way to change that? If I deploy 2 apps with the same route, and want 90% of my traffic to go to blue, and 10% to green, is that possible? 回答1: You would have to deploy more than two instances of the app to have better than 50-50 control over who sees what. If you have 10 instances, for example, and you update 1, then you could get your 90-10 split. Check out this CF CLI plugin: https://github.com/krujos

How do I send a PDF to Watson's Document Conversion service without writing it to disk first?

落花浮王杯 提交于 2019-12-25 18:24:06
问题 I am trying to convert this document (http://www.redbooks.ibm.com/redbooks/pdfs/ga195486.pdf) to answer units in Watson's Document Conversion service using the watson-developer-cloud node.js library. In the actual program (not this test program), I am retrieving the document and converting it on-the-fly, without writing it to disk first. I have done this before with other documents, but the latest version of the library (v 1.7.0 ) seems to have changed and it no longer works the way I was

bluemix containers -> json: cannot unmarshal string into Go value of type []string

半腔热情 提交于 2019-12-25 18:13:32
问题 I'm trying to retrieve the logs on an IBM container: snowch$ cf ic logs $CONTAINER_ID json: cannot unmarshal string into Go value of type []string My versions are: snowch$ cf ic version Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d OS/Arch (client): darwin/amd64 Server version: 3.0 Server API version: 1.20 Go version (server): Git commit (server): OS/Arch (server): Bluemix Containers/ and snowch$ cf --version cf version 6.18.0+b22884b

Bluemix Blockchain service error with Fabric Composer

╄→尐↘猪︶ㄣ 提交于 2019-12-25 16:57:25
问题 Using fabric composer v0.7.0 I have deployed a business network to a Blockchain service on Bluemix (v0.6). After the app runs for a while I get the following error: throw er; // Unhandled 'error' event ^ Error at ClientDuplexStream._emitStatusIfDone (/home/vcap/app/node_modules/grpc/src/node/src/client.js:189:19) at ClientDuplexStream._receiveStatus (/home/vcap/app/node_modules/grpc/src/node/src/client.js:169:8) This sometimes happens when executing the composer network deploy command as well

“java.net.NoRouteToHostException: No route to host” between two Docker Containers

这一生的挚爱 提交于 2019-12-25 14:13:05
问题 Note: Question is related to Bluemix docker support. I am trying to connect two different Docker Containers deployed in Bluemix. I am getting the exception: java.net.NoRouteToHostException: No route to host when I try such connection (Java EE app running on Liberty trying to access MySQL). I tried using both private and public IPs of MySQL Docker Container. The point is that I am able to access MySQL Docker Container from outside Bluemix. So the IP, port, and MySQL itself are ok. It seems

MessageHub - api for creating topics?

和自甴很熟 提交于 2019-12-25 14:12:59
问题 In the bluemix web console, it is possible to create topics. However, is it possible to create topics using a REST API? I couldn't see documentation online - maybe I missed it. 回答1: @SHC no worries, it is easy to miss. Try here for a brief mention and link to the Swagger document for the topic administration API: https://console.ng.bluemix.net/docs/services/MessageHub/messagehub010.html#messagehub037 The docs are currently been restructured to improve discoverability. Feel free to come back