Solving ‘One or more of your origins do not exist’ for Cloud Front

Problem You are trying to create a CloudFront distribution using Amazon's API. You get the error: "One or more of your origins do not exist" Solution In my case, I provided a different value for these two properties: DistributionConfig.DefaultCacheBehavior.TargetOriginId and DistributionConfig.Origins.Items[0].Id Just make sure that the Id for one of your origins matches the TargetOriginId … Continue reading Solving ‘One or more of your origins do not exist’ for Cloud Front

Fix PhoneGap Shows Black Screen after Splash

In order to test how an ObjectHub Micro App can be packaged as a PhoneGap application, I used PhoneGap Build to package up a simple application. Unfortunately, the application that I developed started off with a big, ugly black screen instead of a splash screen. It took me quite some digging around to find out … Continue reading Fix PhoneGap Shows Black Screen after Splash

Testing Internet Connection Quality (with multiple hosts)

It's always a good idea to test the speed of your Internet connection after getting a new router of Internet provider. However, my Internet connection sometimes becomes mysteriously slow. In that case, it is great to verify that is a problem with the Internet connection or maybe with the services you are using. There are plenty … Continue reading Testing Internet Connection Quality (with multiple hosts)

AWS Lambda: Cross-account pass role is not allowed.

Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but when I found out what the problem … Continue reading AWS Lambda: Cross-account pass role is not allowed.

JQuery UI Droppable: Prevent Event Bubbling

JQuery UI Droppable is a great framework for implementing drag and drop features in a web application. Here I will show two ways how it can be prevented that multiple droppable elements on the same page can receive the same drop events. If the one droppable is the parent of the other: In this case, … Continue reading JQuery UI Droppable: Prevent Event Bubbling

Free Cloud Based Load Testing Tools

Good load testing of web and cloud applications should involve many concurrent connections originating from diverse networks. To set up such tests on your own is not trivial and probably very expensive. Thankfully, there are numerous service providers, which allow to use their infrastructure for testing your applications. A few of these offer free online … Continue reading Free Cloud Based Load Testing Tools