ibm-cloud

Cannot Connect to gateway.watsonplatform.net:443

▼魔方 西西 提交于 2019-12-11 13:31:32
问题 i am trying to run the sample java application as described on https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/gs-full-java.shtml i have been able to set up my liberty server properly and i have been able to create an app on the bluemix server with my account. When i try to run the sample code in Eclipse, i can see the watson q&a app interface. But when i hit the Ask button, i get Error: Connect to gateway.watsonplatform.net:443 [gateway.watsonplatform.net

Deploying R shiny to IBM Cloud server

妖精的绣舞 提交于 2019-12-11 12:48:01
问题 I have an R shiny application which runs on shinny server. I want to run my R shiny application on IBM Cloud server how can i do it? 1)I have R package. 2) I have installed r studio server. 3)I have set Inbound security rules to it. 4)created username and password for it. followed these steps: https://console.bluemix.net/docs/infrastructure/security-groups/sg_guidelines.html#security-groups-guidelines I want this application created to run on IBM Cloud server. 回答1: There is a blog article

!pip install nltk -> permission denied

删除回忆录丶 提交于 2019-12-11 12:30:05
问题 I'm trying to install nltk with the following notebook command: !pip install nltk However, that throws the following error: error: could not create '/usr/local/src/bluemix_ipythonspark_141/notebook/lib/python2.7/site-packages/nltk': Permission denied How can I install nltk from the Jupyter notebook? Note that the spark environments on bluemix can only be accessed via the notebook. There isn't she'll access to the environment. 回答1: As the question is about IPython notebooks on Bluemix , the

Deploying a JAR file on IBM Cloud

狂风中的少年 提交于 2019-12-11 12:28:21
问题 I want to deploy a node.js workspace on IBM Cloud. The workspace contains a jar file. Is there any other way to deploy a JAR file exceptionally or the JAR gets uploaded along with the node.js files? I am calling the JAR file inside a function. Just wanted to know whether the JAR file gets uploaded or not when I use the following command: bx cf push 回答1: Here is the explanation from the Cloud Foundry docs ... How cf push Finds the Application By default, cf push recursively pushes the contents

How to access REST api endpoints for Bluemix

空扰寡人 提交于 2019-12-11 12:12:33
问题 I followed an IBM Blumix article on "Build and deploy a REST API on IBM Bluemix with PHP and MySQL". http://www.ibm.com/developerworks/library/wa-deployrest-app/index.html However it never says how to access the actual endpoints(I think I am using the right word). It says to call "/v1/products" to list all products. I am very new to bluemix and not too sure exactly what to append "/v1/products" to. Should I append it to make ">projectName<.mybluemix.net/v1/products"? This is not working. I

BlueMix Push Notification - support for Apple localized alert messages

こ雲淡風輕ζ 提交于 2019-12-11 10:49:21
问题 Using IBM Bluemix push notification service, is it possible to send a push notification using Apple's loc-key and loc-args fields? If so, how can you construct such a request using the REST API? The documentation does not mention the availability of these fields. 回答1: So after testing out a few things with the REST API it does not appear to currently support any aps or gcm specific fields for the "alert" value. I would say this is likely due to simplifying things to support both platforms.

Studio emulator not receiving Bluemix push messages

谁说胖子不能爱 提交于 2019-12-11 10:46:14
问题 Now that I see the sample (android) application is registered for Bluemix-PUSH notifications.I have configured the Bluemix Application's info (APP ROUTE, APP UID) I am using a Bluemix app from ----https://github.com/ibm-bluemix-mobile-services/bms-samples-android-hellopush. I have pulled this project, and built it with the proper dependency gradle settings. But the problem is that I can not see the Push message sent from the Bluemix app on the emulator's push-registered Android App. Also I

Bluemix Mongodb : Failed to authenticate

旧城冷巷雨未停 提交于 2019-12-11 10:36:22
问题 I am using bluemix mongodb experimental service but I cannot connect from my terminal to create new collections. i tried to ping the host which is specified in environment variables but it is timed out. Please help 回答1: You can only use the MongoDB experimental service from inside your Bluemix application. It does not allow you to connect to the database from your desktop. If you need full MongoDB capabilities you can try to use the MongoDB by Compose [1] service also available in Bluemix. [1

How to authenticate to Bluemix S3 Lite?

妖精的绣舞 提交于 2019-12-11 10:15:41
问题 I'm trying to use S3 API with Bluemix object storage using the following code: import boto3, pprint, sys; s3 = boto3.Session().client( service_name="s3", region_name="us-geo", endpoint_url="https://s3-api.us-geo.objectstorage.softlayer.net", aws_access_key_id="auto-generated-apikey-<redacted>", aws_secret_access_key="<redacted>"); pprint.pprint(s3.list_buckets()); but keep getting AccessDenied error: <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <Resource></Resource>

Bluemix - BXNUI0005E: The application could not be added

五迷三道 提交于 2019-12-11 10:14:54
问题 Since today, when creating an app (Web or Mobile), Bluemix prompts an error : BXNUI0005E: The application could not be added. Anyone else is facing this issue? 回答1: I'm new to Bluemix and just had this error when running through my first tutorial. I fixed it by changing my application name to something that should be unique rather than the 'HelloWorld' I had been trying. 回答2: If you are using a 'lite' plan, you can create only ONE Cloud foundry app. The naming convention (dns or App) has