Menu
  • HOME
  • TAGS

Connecting Android application to BlueMix stored DB2 Database

android,database,db2,database-connection,bluemix

You can not talk directly to the SQL DB on Bluemix from your android app. You will need to create an intermediary application on bluemix that talks to the db and your android app can talk to that application. You can implement this backend as a RESTful API (Java JAX-RS,...

Any way to access a NFS from Bluemix runtime?

bluemix

NFS is not supported, however Cloud Foundry now supports FUSE, which is a pretty close alternative to NFS. To take advantage of FUSE you need to use the cflinuxfs2 stack. cflinuxfs2 is a new stack that supports FUSE, see below. Cloud Foundry recently added FUSE support, see here for more...

How can I move my application across spaces in Bluemix?

bluemix

How about a bash script? #!/bin/bash APP_NAME=$1 OLD_SPACE=$2 NEW_SPACE=$3 cf target -s $OLD_SPACE cf delete $APP_NAME -f cf target -s $NEW_SPACE cf push $APP_NAME ...

Custom datasets in Watson Q&A service

bluemix,ibm-watson

While the service is in BETA, there is no way to bring a custom corpus (dataset). This feature is being planned and should be available soon.

Bluemix API Manager Swagger 2.0 import ignores “formData” variables

import,integration,swagger,bluemix,swagger-2.0

API Management does not currently support form data parameters. Swagger is just the vehicle to get the meta-data into API Management. Since the feature is not there, form data parameters are explicitly ignored.

Is it possible to use the Single Sign On Service (currently only available on US) from an app deployed on UK?

single-sign-on,bluemix

Yes the SSO service can be reached from outside Bluemix and therefore also from apps deployed on UK. However, to retrieve the credentials you need to create an SSO service on US and then bind an app to it and inspect the VCAP_SERVICES. This is due to how Cloud Foundry...

Uploading files to a bluemix app and pointing to them from configuration files

cloudfoundry,bluemix

Try this: Put your agent jars in a folder called ".profile.d" inside your WAR package; cf se your-app JAVA_OPTS -javaagent:/home/vcap/app/.profile.d/your.jar ; Push the war to Bluemix. ...

How to uninstall the IBM Containers Extension (ICE) CLI tool?

osx,bluemix

Since the Containers CLI is a Python module that we installed with Pip we can uninstall it with Pip. Run the following. sudo pip uninstall icecli. [02:31 PM] [email protected] [~]>sudo pip uninstall icecli Password: Uninstalling icecli: /Library/Python/2.7/site-packages/icecli-2.0-py2.7.egg-info /Library/Python/2.7/site-packages/icecli/__init__.py /Library/Python/2.7/site-packages/icecli/__init__.pyc /Library/Python/2.7/site-packages/icecli/v2/__init__.py /Library/Python/2.7/site-packages/icecli/v2/__init__.pyc...

Can one get multiple results from one API call in IBM Watson?

python,bluemix,ibm-watson,personality-insights

Jeff is correct about the API limit: You are not limited to 100 api calls/month; this is just the number of free calls you get per month. However and replying your question: Yes, it is possible to compute multiple portraits. If you are using application/json as Content-Type, you will notice...

How can I connect to Cloudant from a Flask App running in Bluemix?

python,flask,bluemix,cloudant

The steps I followed to make the flask sample project work: Follow the instructions in the sample project README and deploy your code to Bluemix Login to the Bluemix console and add a Cloudant service to your application Modify the welcome.py and requirements.txt source code to connect to Cloudant. (see...

Creating a Virtual Machine on Bluemix, is giving an error while importing ssh key [closed]

ssh,openstack,bluemix

Try following github's steps to create a key pair. It seems your key pair might be invalid. Does your keypair work else where?

How to specify npm version when deploying nodejs apps to bluemix?

node.js,npm,bluemix

Before June 15, 2015: This was not possible using the default Node.js buildpack on Bluemix, yet. For now, you can use the community open-source Node.js buildpack: cf push mynodeapp -b https://github.com/cloudfoundry/nodejs-buildpack You've specified the npm version in your package.json correctly, so it should work for the community buildpack. After June...

How can I convert a PHP application in Bluemix to use SQL Database instead of mySQL database?

php,mysql,db2,bluemix

If you want to run it on Bluemix (via Cloud Foundry) you will need a PHP buildpack with DB2 driver support. This one should work: https://github.com/ibmdb/db2heroku-buildpack-php. Working sample here: Tip: to troubleshoot problems like this try the cf logs "APP_NAME" --recent command. Read more here...

Does the Watson Text-to-Speech service in Bluemix work for mobile apps?

bluemix,ibm-watson

Text To Speech works in Android, and there is a SDK you can use. http://watson-developer-cloud.github.io/java-wrapper/ For example, to get all the voices you can do: import com.ibm.watson.developer_cloud.text_to_speech.v1.TextToSpeech; import com.ibm.watson.developer_cloud.text_to_speech.v1.model.VoiceSet; TextToSpeech service = new TextToSpeech(); service.setUsernameAndPassword("<username>", "<password>"); VoiceSet voices = service.getVoices(); System.out.println(voices); where username and password are the credentials you get...

How can I execute a program (C/C++) after uploading it to Bluemix?

bluemix

I needed to specify two pieces of information to my cf push command to do this. First use the -c option with the command to start my program. Second use the -b option with a null-buildpack to indicate no actual buildpack is required to run the comand. For example: cf...

Error deploying application from Eclipse to Bluemix

cloudfoundry,bluemix

We are currently experiencing some issues in our South region. We expect these issues to be resolved shortly. For updates on the status of our runtimes, please see the following: https://developer.ibm.com/bluemix/support/#status...

How can I import my own pre-built VM images into Bluemix?

virtual-machine,openstack,bluemix

I learned that it is possible to upload my own VM images to in creating virtual machines on Bluemix. Since the Virtual Machines on Bluemix is running on Openstack you can bring any image that works to Openstack to Virtual Machines on Bluemix. Use the following steps: In the Bluemix...

Getting “failed to start accepting connection” while deploying my app into bluemix

node.js,db2,bluemix

There are a few syntactical errors in your snippet (missing closing brackets etc). Try using this instead: var express = require('express'); app = express(); var ibmbluemix = require('ibmbluemix') var ibmdb = require('ibm_db'); var http = require('http'); var url = require('url'); var logger = ibmbluemix.getLogger(); var PORT = (process.env.VCAP_APP_PORT || 8000);...

What does the error “Uncaught Exception: Uncaught RestRequestError - Unexpected error when communicating with server.” mean?

bluemix

Upon further testing I found that this ONLY occurs when I use the query.find() method against a class with many objects. I've tested 1k objects, 3k objects and 6k objects and I get the error each time. When I tested with 500 objects I did not receive the error, so...

Error BXNUI2032E: The host is taken — Occurs while creating a Java Liberty project in IBM Bluemix

java,cloudfoundry,bluemix

Try naming your application something else. Bluemix will try to auto create the URL for your app based on what you type into the name of the app. SentimentAnalysisAPP.mybluemix.net is already in use. Pick a name that is more unique, like SentimentAnalysisPDHTest....

difference between IoT Foundation and Node-RED?

bluemix,iot,node-red

The IoT Foundation Starter comes with a flow pre-deployed to demonstrate using the IoT Foundation service. The Node-RED boiler plate comes with no flow deployed so you have a blank canvas to work from....

Where can I get IBM Eclipse Tools for Bluemix for offline installation?

eclipse,bluemix

You can use the eclipse repository mirroring function to download the IBM Eclipse Tools for Bluemix to a local directory that you can then point your offline eclipse installs to. You can follow the guidelines for the repository mirroring here. The IBM Eclipse Tools for Bluemix update site can be...

Bluemix + Node.js - Is there documentation for the watson-developer-cloud module?

node.js,bluemix,ibm-watson

Yes, you should be able to use the service with the newer watson-developer-cloud module, but there's no updated demo. Note, that the module was not changed drastically enough that it should really matter.

Does Bluemix devops build pipeline support java 8 apps?

java-8,bluemix,ibm-jazz

To use Java 8 you need to change the JAVA_HOME environment variable in the build shell command: export JAVA_HOME=~/java8 For example: #!/bin/bash export JAVA_HOME=~/java8 mvn -B package ...

Unable to access Push service dashboard on Bluemix

push-notification,push,bluemix

There was maintenance being completed on US-South region over the last 24 hours. Here is the support notice: IBM Bluemix Platform maintenance US-SOUTH region June 2 10:00 PM EDT Starting at 10pm US EST Tuesday June 2, and lasting approximately 24 hours, there will be a maintenance update rolling out...

How can I write queries for the Bluemix SQL database

db2,bluemix

DB2 does not support the "AUTO_INCREMENT" statement. You can use the "GENERATED ALWAYS AS IDENTITY" command instead. CREATE TABLE discounts ( id INT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 1), title VARCHAR(255) NOT NULL, expired_date DATE NOT NULL, amount DECIMAL(10,2) NULL, PRIMARY KEY (id) );...

Bluemix: service bound to container does not appear in VCAP_SERVICES

ssh,docker,containers,cloudfoundry,bluemix

I think there is an issue with the way the ssh daemon is getting launched where it does not have visibility to the VCAP_SERVICES environment variable. However, you can confirm that the container's command will see the variable with following test: ice run registry-ice.ng.bluemix.net/ibmliberty --bind mamacdon-app --name vcap_services_party printenv; sleep...

How to add users to Cloud Directory via API?

single-sign-on,bluemix

As far as I know, it's not supported at this point.

What is the difference between api.mybluemix vs api.ng.bluemix?

bluemix

You should be using the api.ng.bluemix.net or api.eu-gb.bluemix.net as these are to two addresses for the two regions that are currently available in Bluemix. When new regions are created then you would use the api endpoint for that new region to log into it. So if you have apps and...

AutoReconfigurationServletContainerInitializer could not be instantiated

websphere-liberty,bluemix,buildpack

I suppose your application is using Spring Framework, and this triggers the Spring Auto-Reconfiguration. If you don't need this auto-reconfiguration support, you can disable it by setting the below environment variable for your application and do a restage: cf set-env <app-name> JBP_CONFIG_SPRINGAUTORECONFIGURATION "enabled: false" cf restage <app-name> ...

Using Java/Liberty to connect to a DB2 Database on Bluemix

java,android,ibm,websphere-liberty,bluemix

Have you downloaded the boilerplate source and taken a look? The CRUD functions are implemented in src/example/jpa/TODOListResource.java WebContent/index.js shows how to call api/todolist...

Deleting an IBM Bluemix Internet of things services gives an error

ibm,bluemix,iot

There was a DNS problem on May 5th but it has now been resolved.

Bluemix and peaks of traffic - how to protect from crashing

security,bluemix

You can use the "Auto-scaling" service in IBM Bluemix to define policies that will automatically add more instances of your application when the existing CPU or memory usage reaches a threshold. Bluemix will load-balance the traffic between all instances of your application that are running. This example application shows you...

HttpServlet in IBM Java?

bluemix,ibm-jdk

HttpServlet is not part of the Java Standard Edition runtime, it's provided by your application server--Tomcat or WebSphere Liberty, for instance. At development-time, you'll need one of these on-hand to provide you that class to compile against.

Simple node.js app deployed to Bluemix seems to be leaking memory

node.js,memory-leaks,bluemix

I have confirmed that the specified sample app does perform garbage collection in Bluemix with the memory set to 1gb. I tested using apache bench with 1000 requests to '/' with 10 concurrent transactions. I suspect the earlier volume tests were too low to trigger a gc....

Bluemix : cf logs command taking 10-15 mins to load

cloudfoundry,bluemix

Sometimes the logergator service responds slower than normal. Can you try again in a couple of hours?

Does Bluemix include a JBoss runtime?

jboss,cloudfoundry,bluemix

This is really two questions: The JBoss buildpack for Cloud Foundry only runs servlets. How do I create a JBoss runtime on Bluemix? I'll let the Cloud Foundry and JBoss communities address the usefulness of that buildpack. Bluemix lets you upload Cloud Foundry buildpacks, so you could use this in...

Bluemix: Cannot create VM with public IP

openstack,bluemix

I have not seen that error. I think the problem you ran into may be intermittent. I just created a VM an hour ago using the Bluemix dashboard and that worked no problem. As usual, the VM was assigned two IP's, one internal and one public. As you've discovered, in...

How can I use AMA(Advance Mobile Access) custom authentication with OAuth service provider?

bluemix

Unfortunately, we do not support Single Sign On. Using Advanced Mobile Acces(AMA) custom authentication involves 2 steps. In the first step, you have to configure the authentication mechanism to access the backend services and this is done in the AMA dashboard of the backend application. Please see the sub-section Configuring...

Laravel 5 app on Bluemix

php,laravel,composer-php,bluemix

Which version of the PHP buildpack are you using? You may want to try it with the latest community release by pushing your app with the -b https://github.com/cloudfoundry/php-buildpack option. I know that with an earlier version of the buildpack (v3.1.0), you actually needed to specify a special attribute called COMPOSER_VERSION...

Is there a recommended 3rd party solution to managing logs on Bluemix?

bluemix

We found several 3rd party apps that provide the functions we need. To use any of these we first had to configure third party logging on Bluemix and used the steps below. Any 3rd party logger that supports the syslog protocol can be used. The initial setup, registration and configuration...

Liberty Java Runtime - Websphere release change management

java,release,bluemix

You can choose between the current liberty buildpack version and a previous version. If the previous buildpack is based on an older version of Liberty, you can get the back level Liberty. However this would be temporary until another buildpack version is released. There is no permanent guarantee that you...

API Manager: Set API icon in Swagger 2.0 definition?

import,swagger,bluemix,swagger-2.0

As of version 4.0.1.0, The API Manager product itself does not support custom icons for APIs. It does not really matter if you import the API through Swagger 2.0, or manually compose it in the UI, since the feature itself for custom API icons does not exist. That said, we...

Accessing the Openstack API in Bluemix

virtual-machine,openstack,bluemix

You need to login using the OpenStack credentials, not your Bluemix ID. To see those credentials, in the Bluemix dashboard, go to Mange Organization > Manage Infrastructure, and select Show Credentials. It will display data that looks something like this: { "auth_url": "https://keystone2.open.ibmcloud.com", "tenant": "TENANT", "credentials": { "username": "USER", "password":...

Docker and Namespace-related errors after a successful login to Bluemix

osx,docker,bluemix

The error that is outputted by ICE is really unhelpful. To solve it: Added back to ~/.bash_profile the original 3 lines Created the namespace in Bluemix.net After that, everything has fallen to place and everything is working....

An internal error has occurred. The application may still be initializing or the URL used is invalid

bluemix,dashdb

The problem seems to be a cookie caching issue. I resolved the issue by using a different browser. Another option is to clear the browser cookie cache.

Deployment fail with build pack which is not located at cloudfoundry

bluemix

I checked your buildpack fork "https://github.com/antonpuz/phpbuildpack.git", and found that the detect, compile and release scripts in the bin folder does not have the executable bit. I guess you pushed these files from a Windows machine? Unfortunately when you do so, the executable bit is lost. You either need to change...

How can I preserve execute bits for files during 'cf push' for Node apps?

cloudfoundry,bluemix

A script that has the execute bit set will also have it set when being pushed. If you need to have a script invoked as part of staging or pushing the app, there are two options: Invoke script during staging Use scripts.preinstall stanza in package.json to run scripts during staging...

Beginner: Bluemix programming languages for analysis of IoT data

bluemix

This question actually has little to do with IoT--that just happens to be the source of the data--and focuses on how to process data for analysis, report generation, and publishing. You can do this mostly using services in Bluemix such that there's little if any code to write and so...

How to gain authorization to perform requested action, specifically create an instance of a service in Bluemix?

cloudfoundry,bluemix

The cause of your original error is that your likely don't have the SpaceDeveloper role in the space where you are trying to create the service. Currently, the space and org management functions are disabled on the CLI [in order to maintain multi region consistency], so go into the Console...

For the Bluemix Secure Gateway service, how does the data center's network need to be configured?

bluemix

A Secure Gateway instance runs in two parts, as shown in "Reaching enterprise backend with Bluemix Secure Gateway via console": the gateway and the gateway client. The gateway runs in Bluemix, the gateway client runs in the data center containing one or more systems of record to connect to. The...

Change the Jazz ID for a Bluemix account

bluemix,jazz,devops

Costin, thanks for your interest in IBM Bluemix and the IBM Bluemix DevOps Services. Like Lauren has said, you'll probably want two IBM IDs, one for your work email address and one for your personal. They ultimately can be associated with two Bluemix orgs, each associated with a different DevOps...

Custom Log Handler using HTTP PUT Method and creates loop

java,java-ee,logging,bluemix

A simple solution is to configure the logger not to log messages or use a higher level (such as INFO) for the URLConnection class or even its whole package. See http://docs.oracle.com/javase/7/docs/api/java/util/logging/LogManager.html on how to do this with java.util.logging. If your app is running on Liberty buildpack in Bluemix, you can...

Use of container docker as a proxy for CF app to get public IP

docker,containers,bluemix

No you can not do this. The DEA's (part of Cloud Foundry that runs your app) is firewalled off from talking to internal IP's of other DEA's. In Bluemix we do not charge for network bandwidth.

Populate API Manager “Documentation and Attachments” tab from Swagger 2.0 definition?

swagger,bluemix,swagger-2.0

As of version 4.0.1.0, this is not supported. This will likely be supported in future releases through Swagger 2.0 vendor extensions. "externalDocs" at operation level is the only thing from the Swagger 2.0 spec that even comes close, but it only allows user to put a single link ... where...

Bluemix Secure Gateway service, how to perform /v1/sgconfig GET call

bluemix,secure-gateway

Lokesh, The GET /v1/sgconfig call requires the user give either a Bluemix Bearer token or their Bluemix username and password base 64 encoded in the auth header. For example, if my org id was AlsOrg, space id was AlsSpace, username was [email protected], and password was password, I could execute this...

Bluemix: Node.js example with sqldb service (VCAP_SERVICES credentials)

javascript,node.js,bluemix

Use the "name" property, "SQL Database-nc". From the cfenv documentation... "The spec parameter should be a regular expression, or a string which is the exact name of the service."...

bluemix runtime: auto vertical scalability?

node.js,scalability,bluemix

Note Bluemix charges the application based on GB * Hour. So by large you will be charged similarly among vertical scaling and horizontal scaling. However, vertical scaling does improves memory usage efficiency because there is less memory overhead (e.g., you load the node.js runtime only once rather than twice ore...

Bluemix ClearDB MySQL capacity limitation

mysql,cloudfoundry,bluemix,cleardb

Although the clearDB service in Bluemix only currently offers the 'Free' Spark plan you can go directly to cleardb.com and use one of the larger paid plans. In Bluemix you can then create what is called a User-Provided Service using the cf cups command. The User-Provided Service needs to be...

Single Sign-On on Bluemix: how to retrive user profile after binding SSO service to Liberty

single-sign-on,bluemix

I ran into this same issue using Liberty with the BlueMix SSO service and found this link to be extremely helpful: https://www-304.ibm.com/connections/blogs/sweeden/entry/getting_started_with_ibm_single_sign_on_for_bluemix?lang=en_us The key point here is that the user info is embedded in the Hashtable of the private credentials. This is not obvious at all. If you download the...

How to debug asp.net remotely on bluemix?

c#,asp.net,bluemix

No, at the moment, the dotnet buildpack does not contain any agent to allow remote debugging. Your options for logging are as follows: You could use a Console logger as shown in this sample and retrieve with the cf logs command. You can use Console.WriteLine and retrieve with the cf...

Automatically import REST APIs from GitHub / via API into API Manager?

import,automation,swagger,bluemix,swagger-2.0

This is currently not possible. Your best bet is to manually re-import the Swagger using the GitHub raw URL every time you update it; however, doing this will require that you create a new API via the import, remove the old API, and then add the new to the same...

Using Twitter node in Node-RED in Bluemix

bluemix,node-red

To answer each of your questions: You cannot pass the search text dynamically, you have to configure it in the node via the editor Once deployed, it connects to the Twitter Streaming API to start receiving the tweets that match your search criteria. There is no further control of the...

Bluemix Load Balancer Algorithm

load-balancing,bluemix,autoscaling

Cloud Foundry uses round-robin load balancing to distribute requests across the running instances of your app.

Why can't I unbind this service?

cloudfoundry,sendgrid,bluemix

Go here and open a support ticket. This isn't something you can address on your end. Thanks!

Can I use Java 8 on IBM's Bluemix Application Platform

java-8,ibm,bluemix

You can ask for Java 8 with the default liberty buildpack by setting the following environment variable: $ cf set-env myapp JBP_CONFIG_IBMJDK "version: 1.8.+" See Customizing the JRE for additional details....

Does cf push respect the use of .gitignore?

git,push,bluemix

The file .cfignore is used for that purpose -- it is not the same as .gitignore, but rather its analogy for the cf tool. The reason for not using them for the same purpose is that you may have for example files that are used for your build (or even...

Deploying a Standard vNext WebApplication VS Next 2015 RC to Bluemix fails

cloudfoundry,asp.net-5,bluemix

The ASP.NET 5 buildpack in Bluemix only supports Beta3 right now. It will support Beta 4 in the near future. Please keep an eye on https://github.com/cloudfoundry-community/asp.net5-buildpack.

Why can't Node-RED parse the VCAP_SERVICES environment in Bluemix?

bluemix,node-red

By default, environment variables are not added to the Function global context object. To access the Bluemix VCAP_SERVICES environment variable from a Node-RED flow, you will need to add it to the Function node's global context. Edit bluemix-settings.js and add an entry to the functionGlobalContext property: functionGlobalContext: { VCAP_SERVICES: JSON.parse(process.env.VCAP_SERVICES)}...

Are there any known negatives to using Requests in Flask to interface to Cloudant on Buemix?

python,flask,couchdb,bluemix,cloudant

The main advantage of using a Cloudant/CouchDB library is that you write less code. This can be significant in languages like Java where Rest and JSON handling is very cumbersome. However working with Rest and JSON in python using standard libraries is very easy. However, the main disadvantages of using...

Bluemix can not list docker images

docker,bluemix

Try login to ice with this ice login -a https://api.ng.bluemix.net -H https://api-ice.ng.bluemix.net/v2/containers -R registry-ice.ng.bluemix.net This is what I get when running ice --verbose images bash-3.2$ ice --verbose images @2015-05-08 14:54:49.692386 - Namespace(cloud=False, local=False, subparser_name='images', verbose=True) @2015-05-08 14:54:49.692455 - request url: https://api-ice.ng.bluemix.net/v2/containers/images/json @2015-05-08 14:54:49.692466 - using bearer token and space id...

Can I move a Bluemix service to a different org

bluemix

Moving services between orgs is not possible. You will need to to create a new service in the new org.

Git Repo was created missing many project files

git,bluemix

This happens as the "Add Git" button will only clone in the files from the Boilerplate you created your app from. In your case it looks like a Node.js app. We are incredibly sorry for this. Our dev team is looking making the "Add Git" button work for all projects....

how to deploy standalone java applications (jar's) to bluemix?

java,bluemix

Runnable jar support was recently just introduced so you can do this. All you need to do is have a jar that has a Main method and it will run. Create an empty directory and place your jar file in it. Run cf push myappname -p myjarname.jar (replacing myappname with...

How to connect PHP web service on BlueMix and Android app? [closed]

php,android,json,db2,bluemix

Yup. In the Bluemix console, click on your application, bind existing service and then select the sqldb service. It will then prompt you to restage. After the restage, you can read the VCAP_SERVICES environment variable in your php code to get the database credentials. This thread has detailed steps...

Bluemix authentication ios8 with google and facebook

facebook,authentication,ios8,bluemix,google-authentication

It is not currently supported to use the provided Facebook and Google authentication in the same application for Advanced Mobile Access. However using the Custom Authentication option you can write your own custom authentication logic inside of your application and Node.js application. Using this method the application could handle multiple...

Are Bluemix Cloud Integration & Secure Gateway in High Availability? [on hold]

bluemix,secure-gateway

The Cloud Integration environment for Secure Gateway is full HA with a front end load balancer. All Secure Gateways are given a bluemix hostname to contact which is backed by a public physical IP.

Cloudant does not not store object data sent via Bluemix “Data for iOS 8”

ios,bluemix,cloudant

Can you provide the source code for the TestData class? For swift classes, String must currently use the NSString (ObjC) instead of the Swift String (e.g. var make:NSString)

CF CLI features that are enabled in Bluemix

command-line-interface,bluemix

Unfortunately it is not documented which features of the Cloud Foundry CLI are implemented in Bluemix and which ones are not - other than what is documented here. Some features, such as deleting organizations, can affect multiple things such as billing so that has to be done through support tickets....

Bluemix Node.js app not showing new code

cloudfoundry,bluemix

Well, this was stupid, but I honestly see this as a mistake others can make too so I'll fess up with what I did. My app had "recognition" in the name, and when I created the app I misspelled it as "recognation". So when I did my push it ended...

How to access REST api endpoints for Bluemix

rest,bluemix

If you have followed the developerWorks article then you should just be able to access the endpoint by doing a GET call (i.e. just adding this to a web browser) this url: your_app_route.mybluemix.net\v1\products or if you deployed to the UK (eu-gb) region then the url is: your_app_route.eu-gb.mybluemix.net\v1\products then append either...

Bluemix IoT Foundation Starter give Error: Lost connection to server

bluemix,iot

Shahir A permanent fix has been uploaded in the npmjs and Internet of Things Foundation Starter boilerplate of Bluemix, which resolves this issue.

Able to connect to Cloudant database, but cannot list contents from Bluemix Node.js app

node.js,api,bluemix,cloudant

The problem is that the code was using a single database API key to try and list all databases for a user. By changing cloudant.db.list to databasename.list (where 'databasename' is the name of the DB the API key was generated for), it worked fine. More info here.

What should the Python start command look like in Bluemix?

python-3.x,bluemix

You can define the start command in a file called Procfile. Create the Procfile in the root of your app code that you push to Bluemix. The contents of the Procfile should look like this: web: python3 appname.py where appname.py is the nameof your python script to run...

Connecting a Java application to an SQL database in IBM Bluemix

java,sql,database,bluemix,cloudant

None of these answers ended up working for me. I found no real solution so I switched to Node.js and got it working in minutes. I'd recommend using Node if you're using BlueMix. It's simpler.

Bluemix Mobile Application Security - User Authentication

security,authentication,bluemix

Yes, your mobile app will need to validate with your on-premise Worklight server and get an auth token before talking to Bluemix. First, you will need to implement code to acquire the security token from the Worklight server. Then you will be able to set the token with the provided...

How to import a 3rd party Python library into Bluemix?

python,bluemix

I recommend that you try out this starter template on GitHub. It is enabled with a deploy to Bluemix button that automatically creates a python runtime and postgress database with Django installed. https://github.com/fe01134/djangobluemix The project includes the requirements.txt file to ensure you have the right dependencies and also the .settings...

Can I use a service bound to apps in one Bluemix region across other Bluemix regions?

bluemix

There is no explicit mechanic for making a service instance available across regions from the Bluemix dashboard, but it can be done with a user-provided service instance. Starting from the region where I have my service instance running and bound to my application I needed to grab the credentials and...

unable to connect through SSH key to bluemix container

docker,bluemix

Use a public key of the form "ssh-rsa", space, 200+ characters ending in ==, space, [email protected] I generated mine using ssh-keygen -t rsa. I pasted the entire contents of the generated .pub file.

How to retrieve api key for IBM containers after first usage

bluemix

The 'ice login' does not require -k option any more. If unauthorized error is shown after 'ice login', delete lines 'x_auth_token' and 'api_key' from ~/.ice/ice-cfg.ini, and try 'ice login' again, everything should work fine.

Getting “error”: “No text provided” when trying to post content to V2/Profile of personality insights API

python,json,bluemix,ibm-watson,personality-insights

Note that you should not be POSTing to that URL. If you develop a local application, you need to bind a Personality Insights service to a Bluemix app, and take the credentials from there (there is a URL, username and password that you can use -- the URL will start...

How to write query to my Cloudant database?

nosql,bluemix,cloudant

you can change your view into function(doc) { if(doc.user_tracking_id !== null){ emit([user_tracking_id, user_permit_doc_id]); } } and then query using the complex key [1, 10]...

Is it possible to activate the compatibility mode for Oracle in SQL Database?

db2,bluemix

Oracle compatibility is a database level feature and cannot be enabled if the database is created with the feature disabled.

Update of Bluemix run times or services. Will they always be backward compatible?

paas,bluemix

While I don't believe there is a guarantee that the buildpacks will always be backwards compatible, you will always be able to select the previous buildpack version. Try running a 'cf buildpacks' command and have a look at the buildpack names and version info encoded therein and think you'll see...

What does this SSO error mean? - CTJSO1502E The authentication process to the configuration dashboard failed

bluemix

As it turns out the solution in Safari is that I needed to enable third-party cookies to access the SSO interface. The iframe containing the SSO service dashboard comes to the overall Bluemix console (.ng.bluemix.net) from a host on a different DNS domain (.iam.ibmcloudsecurity.com). Session cookies for the dashboard get...

Bluemix Push service security concern

ios,security,sdk,push-notification,bluemix

I understand your concern. To address all your questions: -You must have the app secret on the Client side in order to authenticate with MAS and use the Push service (Push relies on MAS auth) -We recommend implementing your own form of security to prevent a malicious user from easily...

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

cloudfoundry,bluemix

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...

How to tell which buildpack has staged my application in Cloud Foundry?

cloudfoundry,bluemix

cf curl /v2/apps Find your app and look at the block of data within. If you wanted to get fancy you could filter on your app name like so cf curl /v2/apps?q=name:<appname>...

Android, Bluemix Error 401 : You are not authorized

android,connection,database-connection,http-status-code-401,bluemix

Solved. I downloaded the April jars, the most recent ones. That worked....