I was able to get node.js to work with your api but there are two issues
1. Node.js does not like your SSL cert for some reason so you have to add
Code:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
to your code otherwise node simply will not talk to your service
2. Your example code has an error at the top where you define
Code:
var wampConnection = null;
var wampUser = 'web';
var wampPassword = 'web';
you also need
Code:
var wampSession = null
if you don't define "wampSession" then down in the initialSessionUpdatesReceived function it won't be defined and you won't get your subscription hooked up. The reference inside of connectionOpen isn't valid either. I see that session is passed to connectionOpen but i'm not sure if it's the same session data or not. Adding the wampSession definition above at the top fixes the error and I get miner updates now.