Menu
  • HOME
  • TAGS

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

Tag: bluemix,dashdb

When I try opening the dashDB console from Bluemix, I occasionally get the following error message:

An internal error has occurred. The application may still be 
initializing or the URL used is invalid. Check the URL and try again. 
For more information, view the server log files. 

How can I fix this?

Best How To :

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.

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

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

How can I tell if my SDP process is still running the 'initial' load?

cloudant,dashdb,cloudant-sdp

Log in to the Cloudant dashboard and select the _warehouser database. Inside that database, select the document that represents the SDP that you are trying to verify the status of. Inside that document, look for the tag sub_status: "replication_status": { "yourdatabase": { ... "sub_status": "initial", ... } }, This will...

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

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

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

How can I debug problems with warehouse creation?

cloudant,dashdb,cloudant-sdp

Take a look inside the document inside the _warehouser database, and look for the warehouser_error_message element. For example: "warehouser_error_message": "Exception occurred while creating table. [SQL0670N The statement failed because the row size of the resulting table would have exceeded the row size limit. Row size limit: \"\". Table space name:...

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.

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.

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

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

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

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

how to perform 'SELECT TOP X FROM TABLE' type queries with DB2 / dashDB

dashdb

You can achieve this query using the FETCH FIRST x ROWS ONLY statement, E.g. SELECT * FROM customers FETCH FIRST 1 ROWS ONLY ...

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

how to 'flatten' the table in dashDB created by the schema discovery process (SDP)?

cloudant,dashdb,cloudant-sdp

One option is to create a Bluemix service that runs SQL code on a cron timer to move the data around into your desired structure. See here for an example project using spring boot and groovy....

SQLCODE=-911 : “warehouser_error_message”: "File <>.csv.zip could not be loaded due to an exception in dashDB

cloudant,dashdb,cloudant-sdp

The SDP locks the database during the initial load. The -911 error indicates there is a lock contention issue. Ensure you aren't performing any other operations on the database table that is being loaded by the SDP. For find the current load status, see this question: How can I tell...

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.

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

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

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

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

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.

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

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

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.

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

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

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

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

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

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

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

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

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

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.

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

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

Executing DDL in compound SQL using DashDB (DB2)

sql,db2,dashdb

You need to use dynamic SQL to execute some DDL statements: EXECUTE IMMEDIATE 'CREATE TABLE test AS (SELECT...' ...

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

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

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

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.

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

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

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.

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