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.

Sunday, January 28, 2018

AWS vs Azure Pricing

Handy Tool for estimating the price of services offered by AWS / Azure

AWS
https://calculator.s3.amazonaws.com/index.html  - Simple Monthly calculator
https://aws.amazon.com/tco-calculator/    - TCO Calculator


Azure
https://azure.microsoft.com/en-us/pricing/calculator/


Azure vs AWS

Not a surprising question by all the Cloud savvy peers!

Simple comparison data published here


Do check out the link 








Unable to connect - Azure Hybrid Connections

After you have configured the Azure App Service Hybrid connection, you might have a scenario when the Status of showing up as "Not Connected"

Azure Portal - > App Service -> Select App - > Networking - >Configure Hybrid connections

"Status : Not Connected"











One way to get more information on the issue is to run a get-hybridconnection powershell command in On-Prem client machine






In this case server was not connected to the internet. The server was placed in private subnet with no NAT gateway connectivity to internet. Once the server was connected to internet , issue was resolved.



Gray Failures: What is it and how to detect one?

If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures.  Hopefu...