How do you connect an IBM Cloud Functions (OpenWhisk) to a custom domain? - ibm-cloud

I had successfully setup a custom domain with IBM Cloud Functions in the past, but now suddenly it seems to be broken.
Here is how I was able to do it in the past: You first need to install a SSL cert in IBM Cloud by going to:
Log in to IBM Cloud
Go to Manage>Accounts>Cloud Foundry Orgs.
Click on your Org and then click Edit Org.
Choose the Domain tab, add a domain, and install the SSL cert that was purchased or obtained for free by letsencrypt.org
Go to Cloud Functions page by clicking on the Hamburger menu
and then click Functions.
Click APIs on the sidebar.
Choose an existing API you would like to map to the domain.
Choose Definitions from the sidebar.
Select Domain for API and change it your new domain!
YAY, IBM Cloud says it is now connecting your custom domain. You get a warning about how it takes a bit of time, but the task never finishes.
This actually worked until about a month or so ago. Now it just sits there and it will not route your domain to your API.
If you hit the site you which is routed, it will say:
404 Not Found: Requested route ('yourdomain.com') does not exist.
Am I missing something? Or has IBM again crapped out on me.

There was a bug affecting this feature, but it has since been fixed. Give it another try.

Related

Securing a Node Red GUI on IBM WATSON Cloud

I've got a Node-RED Dashboard running on Bluemix, but I want to secure it using the standard Node-RED security, i.e., editing the settings.js file.
Does anyone know how I can actually access this on BlueMix?
On the IBM Cloud dashboard for your application you need to enable the Continuous Delivery feature. That will get you a git repository containing the application code which you can edit in your browser and have changes automatically deploy back into your running application.
You will then need to edit the file called bluemix-settings.js to add the required settings to secure the Node-RED dashboard.

Cannot Sign In to OpenShift using Eclipse IDE

I am currently learning OpenShift and would like to experiment with a few examples. I have created an OpenShift account (using my github account as a login) and was able to create a new project and deploy an application online. Note that I'm using OpenShift Online (Developer Preview) which I think is OpenShift 3.
Now, I'd like to import that OpenShift project into Eclipse IDE. However, I cannot sign in to connect to the online server.
I tried both the versions 2 and 3 of the OpenShift server unsuccessfully. Attached is a screenshot of the error I'm getting
As shown on the screenshot, I can get a token when clicking the retrieve link (which does take me to the OpenShift site, with a token generated. This shows that eclipse does connect to https//console.preview.openshift.com).
I've also tried authentication with both username and password, leading to the same outcome.
Any help is appreciated.
This error is because you are using the free version. You need to use you console address in 'Server:' that you get after clicking the 'Open Web Console' button that you get after logging in to openshift.
This url should be something like this: "https://console.starter-us-east-1.openshift.com/console/catalog". You may use just "https://console.starter-us-east-1.openshift.com". And then click 'Next', it should work.

Adding Existing SAPUI5 Applications in HANA Cloud Portal site

I am new to HANA Cloud portal. I have created a standalone SAPUI5 Application following the below steps:
SAP HANA Cloud Platform
I have not set any destinations since I am using dummy data for now. The app works fine standalone but when I add it to a site in the HANA cloud portal the application fails with the error "could not open App.Try again Later". I have followed the below steps. Please let me know if I have missed put anything:-
1) Created a site from the site directory screen with a blank site temppplate.
2) Next I selected the app I want to add into the site from the account apps section in the left navigation inside the flpportal service and added it[using the forward icon].
3) Then when I try to add it as a menu configuration it shows up in the list and gets added but when I publish the site I get the above error mentioned.
Am I missing any step or doing it wrong altogether? BTW I am using a HANA trial account for now.
Also, I would like to know whether this is the correct way to do it. Also, any documentation on the same will be helpful
Adding the error description. The name of the app is Kpidemo:

Bluemix - Can't select space in boilerplate

[Edited with new info]
I have created some spaces under my organization name in Bluemix successfully, using both Bluemix web interface & CLI.
I was trying to create an app from IoTFoundation Boilerplate by clicking the icon on the catalog. It leads me to the introduction page, and at the right hand side I was asked to select Space, Name, Host domain etc.
My problem is though I have spaces created and shown successfully in the Bluemix web interface, it is NOT POSSIBLE for me to select the space in the boilerplate. [new info: After > 10 minutes of creating the space using CLI, it finally appears in the boilerplate, however, the spaces created using Bluemix web interface doesn't appear even after a day...].
May I know what is the possible cause in this case?
Thanks in advance for any advise.
BRs,
KH
Generally, to fix this kind of issue follow these steps:
logout
close browser
clean the cache and login in Bluemix console
If the issue is still there open a support request directly from your Bluemix console or you can open a new ticket here: https://support.ng.bluemix.net/gethelp/ .

How to deploy application in bluemix from eclipse

When I try to deploy application to bluemix, I get following error
Error: Host taken error. A different mapped application URL is required before pushing or starting the application.
Though If I download a default application created bluemix, download the same and import in eclipse and then redeploying application works fine. I am sure I must be missing some key steps, wondering if someone can point me to the link that has those details or missing step.
Use the screenshot below to ensure that your mapped URL is correct:
according to the posted error you just set a wrong URL for your app's mapping URL: just check on Eclipse Server view, you should have Bluemix Server item, double click on it to open, it should show your server configuration, go to Applications and Services tab, here you could find you app listed; now double click on it, it should open you app properties, check on Mapper URL property under General configuration tab.
Otherwise could you provide some details more about the configuration used on Bluemix Eclipse plugin?
As per my understanding..
application name is globle. what ever application name using that already used by someone.
try to change Name.
ex:- cocacola.mybluemix.net change to cocacola429.mybluemix.net.
it worked for me.