#499 - Cannot read property protocol of undefined