ibm-cloud

unable to connect through SSH key to bluemix container

杀马特。学长 韩版系。学妹 提交于 2019-12-13 21:07:42
问题 I am currently trying to use the bluemix container service (in beta) When I want to create a new container, I follow the steps, and just choose the name and the ports to open. I paste a SSH, and at the end I get the error : "Unable to create container. Error message returned is: Bad Request" . Whereas if I do not paste my key, there is no problem. I have tried with another key, created with puttygen, and I still get the same error. I don't know what is wrong, as I basically chose the default

Issue installing rpy2 inside Watson Studio Python 'Environment'

巧了我就是萌 提交于 2019-12-13 20:49:39
问题 I'm trying to install rpy2 inside a Watson Studio 'environment': !pip install rpy2 However, the environments don't appear to have R available: Collecting rpy2 Downloading https://files.pythonhosted.org/packages/f1/98/c7652cc9d7fc0afce74d2c30a52b9c9ac391713a63d037e4ab8feb56c530/rpy2-2.9.4.tar.gz (194kB) 100% |████████████████████████████████| 204kB 4.4MB/s eta 0:00:01 Complete output from command python setup.py egg_info: Error: Tried to guess R's HOME but no command 'R' in the PATH. ---------

“Invalid Host header” in a React app deployed to IBM Cloud

岁酱吖の 提交于 2019-12-13 20:49:03
问题 I have developed a very simple demo Todo List app (Express + React), according to Brad Traversy's YT tutorial and successfully deployed this app to Heroku, where it is up and running. However, when I deployed the same exact code to IBM Cloud, I only got a blank screen with a sentence Invalid Host header . Some more context: I've used create-react-app in the root of my project There is a proxy between the server and the React client I'm deploying a production version that serves the static

How to create temporary URL for Swift object storage using REST API?

南楼画角 提交于 2019-12-13 19:54:04
问题 Swift Object storage allow you to create a temporary URL for any resource with an expiry date. This can be achieved with swift CLI command line. To make use of this functionality in an web application, I need to achieve the creation of temporary URL using API call, So that I can make a rest CALL and get the temp URL which can later be embedded in HTML and resource downloaded by the we browser directly. From the documentation I dont see any API mentioned for this ? Do anyone know how i can get

Is there any known limit for the size of an app uploaded and for the GBs assigned to a runtime?

青春壹個敷衍的年華 提交于 2019-12-13 19:30:35
问题 I was asked to deploy a Java EE application of 700MB (single EAR file) which requires 8 GB of RAM to execute. I searched the docs but I didn't found any documented limit for those two parameters: size and RAM. Any URL or idea? Thanks! 回答1: The size of the application is limited to 1GB as mentioned here. The Memory allocation is limited to 8GB per app, you can see this when you try to allocate more than 8GB in the Bluemix UI as it either resets to 8GB or if, using the toggle, doesn't allow you

Duplicate symbols in IBM MobileFirst Platform Foundation (MFP) and Bluemix IMFCore SDK's

梦想与她 提交于 2019-12-13 19:04:35
问题 We have some issues when trying to use both the mobilefirst platform SDK and the IBM Bluemix notification SDK in the MyUnicity iOS project. There are a number of duplicate symbols between the MFP and the IMFCore libraries and the build of our project fails in the linking phase (see the examples below: in total we get "121 duplicate symbols for architecture arm64"). The Bluemix Push notification on iOS requires IMFCore and IMFPush features: duplicate symbol _OBJC_IVAR_$_WLAFQueryStringPair.

Bluemix Docker Container cf ic login the local Docker daemon is not reachable to authenticate

南笙酒味 提交于 2019-12-13 19:00:52
问题 I am running through the directions to work with docker containers and Bluemix using the ic plugin. When I run the command: cf ic login I receive the message: Your system was authenticated with the IBM Containers API, however the local Docker daemon is not reachable to authenticate it with the IBM Containers registry. You can still run IBM Containers on the cloud but will not be able to push or pull images. If I work with docker locally without running the cf ic login, all seems to be fine.

No such module 'BMSPush' after SDK installation with cocoapods

为君一笑 提交于 2019-12-13 16:54:24
问题 I've initialized the Bluemix Push SDK for iOS following the online documentation: https://console.ng.bluemix.net/docs/services/mobilepush/t_enable_ios_notifications_install.html Unfortunately, the "import BMSPush" statement in my AppDelegate.swift raises an error (No such module 'BMSPush'). When building my application (target: iOS 8.0), there are 13 issues raised on BMSPushClient.swift, as detailed in the following screenshot: My configuration is as following: XCode 7.0.1 Mac OS X 10.10.5

Watson Dialog service to Conversation service

混江龙づ霸主 提交于 2019-12-13 16:25:27
问题 We created dialogs with Bluemix Dialog service and now we would like to import them into the new Bluemix Conversation service. The export-import failed. Do you know if an transfert process exists ? Thank you 回答1: Unfortunately the ability to migrate to Conversation from Dialog is not possible, as the two systems are very different. Intents in Conversation are similar to NLC. So if you have an existing NLC service, you can export that and import as a CSV file. Entities in Conversation are not

Uploading a file via pyCurl

☆樱花仙子☆ 提交于 2019-12-13 12:29:46
问题 I am trying to convert the following curl code into pycurl. I do not want to use requests. I need to use pycurl because requests is not fully working in my old python version. curl -X POST -H "Accept-Language: en" -F "images_file=@fruitbowl.jpg" -F "parameters=@myparams.json" "https://gateway-a.watsonplatform.net/visual-recognition/api/v3/classify?api_key={api-key}&version=2016-05-20" Can someone please show me how to write it out in PyCurl? 回答1: import pycurl c = pycurl.Curl() c.setopt(c.URL