I second the previous answer. Building with release configuration solves the connection issue. Wish I had vound this earlier. At least I can move on for now.