Collections on watson discovery not being created and showing API timeout issue - ibm-cloud

Each time we look to create a collection on the discovery GUI using the API we are getting API timeout issues. This happens very erratically.

IBM provides one Website to see if the Services and Systems work fine. The site shows if have Maintenance and the Problems with the services.
I had the same problem with another service. My service works fine now. Verify if you service are ok and check if the service was with status no known issues too.
Check the error:
See the Website.

Related

Application Insights and Service Fabric Micro services (stateful and stateless)

I found many questions from several months back on Application Insights and Service Fabric and I'm wondering if there is any new information.
I would really like to get information for APIs (Stateful and state less service) response time, dependency, traces etc. In typical API, enabling and configuring the application insight with tracing and web api application insight, it shows the server response time, server requests and operation details.
Along with it, it will also have the dependency and tracing information. I would like to get same information for services running on the service fabric. I could add these by adding customize code using nuget like Microsoft.Diagnostics.EventListeners and Microsoft.Diagnostics.EventListeners.Fabric which allows to log the start and end with the custom code.Here are the links which I referred -
https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/10/06/distributed-tracing-in-service-fabric-using-application-insights/
Application Insights in Service Fabric?
https://acom-feature-videos-twitter-card.azurewebsites.net/en-us/documentation/articles/service-fabric-diagnostics-application-insights-setup/
Thanks!

"internal_metadta error" when using Blockchain as a service on bluemix account

We are using Blockchain as a service on a Bluemix account.
We have been using node-sdk to deploy, invoke, and query transactions on Bluemix.
Currently, we are facing an error on Bluemix when I call, invoke, or query function for the first time. The error says internal_metadata error. But if I call the functions for a second time, it works correctly. After some time (say 10 minutes) if we again call this function, it gives the same error.
Problem is similar to 38893402
I work for IBM Blockchain support. For this type of problem I suggest that you open a support ticket via the Bluemix dashboard. We will be happy to assist you with providing a solution.
Thanks for using IBM and blockcahin.

Issue Testing after IdentityServer3 Deploy

After going through walkthroughs I had a test mvc app, test web api, and identityserver3 all working perfectly on my machine. I deployed IdentityServer3 to our servers in AWS behind a load balancer. I followed all the instructions in the Deployment wiki. I am able to hit the .wellknown configuration fine after deployment from a browser on my machine.
I changed the authority url for the mvc and api test apps to point to the aws deployment. Clients, Scopes, users, etc are all configured identically as they are hitting the same database as it was when running on local machine.
I can get an access token using RequestResourceOwnerPasswordAsync just fine so I think ids is installed fine.
However, both the API and the MVC app just trying to use implicit flow are now failing. FOr instance, when I try to hit a mvc controller action marked with [Authorize] I get an error stating "An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set".
If I try to hit the webapi from the mvc app (both running locally on my machine) after a successful RequestResourceOwnerPasswordAsync call, I get the error "Response status code does not indicate success: 401 (Unauthorized)." after what seems like a timeout.
Any help would be greatly appreciated.
Figured out the problem. When specifying PublicOrigin, it has to be a full URL and not just the domain. I had left off https:// prefix.
The web api issue was related to connectivity to the identity server. There was some incorrect proxy settings for the app.

Can't delete Cloudant service - Error 400

I am taking the DWC001 Bluemix Intro course exercise 3b. After creating a node.js app and binding a new Cloudant database, then deleted my app from dashboard, checked delete for Cloudant, my Cloudant service remains and I cannot delete it.
This error from Dashboard & cmdline:
Service instance RLCCloudant: Service broker error:
{"description"=>"Error 400 received from broker url
https://cloudantbroker.ng.bluemix.net/v2/service_instances/40791045-620f-
4fda-b9d4-eabe50c4783c?plan_id=cloudant-shared&service_id=cloudant"}
As you can see in the Bluemix Status Page we are currently experiencing some issues provisioning and managing Cloudant service instances in Bluemix. Bluemix users attempting to provision/unprovision/bind/unbind Cloudant service instances may see errors during these operations. The operations team has restored the service to allow provisioning, binding and unbinding. Issues may still be experienced when unprovisioning a service (as in your case).
Please visit that status page to see when the issues are resolved.
The service has been restored by Cloudant team as announced at https://developer.ibm.com/bluemix/support/#status.
Now the deletion action is working as normal.
"Service Broker Error" usually means that something went wrong communicating with the service side. Please send a request to delete the service to Bluemix Support.

API Management service in Bluemix can't be bound to CF application

I'm building a CloudFoundry application in Bluemix using the API Management service. For this I'm following this tutorial http://www.ibm.com/developerworks/cloud/library/cl-bluemix-api-mgmt-app/index.html.
I can successfully create an API Plan for a custom REST API application (running on a Liberty server on Bluemix as well) and it is published.
I can also create a service in my Bluemix dashboard using the new Custom API, which I take as the API plan was successfully deployed on Bluemix.
Whenever I try to bind this new service I get the following message:
BXNUI2055E: Unable to connect to Cloud Foundry because of the
following exception: "Read timed out." If the problem persists, see
the Troubleshooting topics in the IBM Bluemix Documentation to check
service status, review troubleshooting information, or for information
about getting help.
From time to time I also get this message
The service broker returned an invalid response for the request to
https://apimasv1-stage.stage1.mybluemix.net/d118dceb-edbf-4a7f-9bab-d44371b0c9f9/privateservices/v2/service_instances/1a60830c-0796-4105-afb4-e3477424acf9/service_bindings/ebb853dc-ec88-4987-b8f2-e9acd38d1741.
Status Code: 502 Bad Gateway, Body: 502 Bad Gateway: Registered
endpoint failed to handle the request.
Also, I can open the API portal and see the services listed in there. However, whenever I try to test the service, I get the following error
A security error has occurred. If using a self-signed certificate on
your gateway, you will need to accept it in your browser, which you
can do by clicking the following link.
https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1
Also, below in the response I get this message:
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to
load
'https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1'.
I must clarify this service (the liberty app) doesn't have any security constraint to access the REST service nor I added some kind of security in the API Management portal.
Another thing to clarify is that I can bind other services, but not this one.
Does anyone know how I can fix those problems? Is there a known issue with IBM API Management service?
this seems to be an error with the service API Management instance you are trying to bind to.
You could open a ticket to support team following the link you can find here:
https://developer.ibm.com/bluemix/support/
Click on 'Contact IBM' and open a 'Support ticket'