Have you been able to successfully connect at all? I ask because you seem to be connecting to a provider on localhost:14023 - are you starting up your own server? Have you tried connecting into an ADS? Also, do you want to solve the issue of failing to connect? Or do you want to know how to capture and process events within your application? Or both?