Friday, November 02, 2018

API Unregistered in API manager

API manager showing up as "Unregistered " even after publishing the API to cloudhub

Check out the setting of clientid and secretkey in Anypoint Studio. Enter the value if missing




Issue fixed



Monday, October 08, 2018

S3 Bucket Policy - Applying security when redirecting from a domain

If you want to apply S3 bucket policy to protect the GET access originating from a URL , check this example out :

Wednesday, August 08, 2018

The requested URL can't be reached - MuleSoft Mock Service Error

Error encountered while accessing Mock Service

The requested URL can't be reached

The service might be temporarily down or it may have moved permanently to a new web address.





for details refer 
https://docs.mulesoft.com/api-manager/v/1.x/accessing-your-api-behind-a-firewall

For testing purpose as quick fix "Bypass the proxy". Select option next to "Mock Service" stating " API is behind a firewall"





Actual fix before you implement it in Test/Production environment  is to  implement and apply a CORS Policy for your browser to be able to load the resources in the API behind your firewall and the Anypoint Platform’s browser tools

https://docs.mulesoft.com/api-manager/v/1.x/cors-policy




Sunday, March 11, 2018

Setting VPC as default VPC in AWS

Not a new question and i have been asked about it multiple times in past 2 years. How can i set VPC as "default VPC"

and answers is...

 
You cannot at this time using console/CLI/ API. If it is must contact AWS support. 

Wednesday, March 07, 2018

Mechanical Sympathy - Learning from Racing

Formula 1 world champion once stated

“You don’t have to be an engineer to be a racing driver, but you do have to have Mechanical Sympathy.” 
– Jackie Stewart, racing driver


This fits so well with technology. What Jackie meant is that understanding how a car works make you a better driver. This is so much true for writing code mainly in today's cloud technology. You need to have a basic understanding of hardware to create a good software.

Friday, February 09, 2018

Unable to connect IIS Express - Visual Studio 2017


 Delete your web application’s .vs\applicationhost.config and try rebuilding the application and launching.

.vs is a hidden folder under your solution's folder.