{"action":"created","issue":{"url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/10","labels_url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/10/comments","events_url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/10/events","html_url":"https://github.com/UsabilityDynamics/node-rets-client/issues/10","id":60173337,"number":10,"title":"Issues connecting","user":{"login":"lgomez","id":20891,"avatar_url":"https://avatars.githubusercontent.com/u/20891?v=3","gravatar_id":"","url":"https://api.github.com/users/lgomez","html_url":"https://github.com/lgomez","followers_url":"https://api.github.com/users/lgomez/followers","following_url":"https://api.github.com/users/lgomez/following{/other_user}","gists_url":"https://api.github.com/users/lgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/lgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgomez/subscriptions","organizations_url":"https://api.github.com/users/lgomez/orgs","repos_url":"https://api.github.com/users/lgomez/repos","events_url":"https://api.github.com/users/lgomez/events{/privacy}","received_events_url":"https://api.github.com/users/lgomez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-03-06T23:19:15Z","updated_at":"2015-03-07T01:59:03Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm trying out your library but a few things are happening that are preventing me from connecting successfully.\r\n\r\nThis is the script I'm testing with:\r\n```JavaScript\r\nvar RETS = require( 'rets-client' );\r\n\r\n// Create Connection.\r\nvar client = RETS.createConnection({\r\n  host: 'sef.rets.interealty.com',\r\n  path: '/Login.asmx/Login',\r\n  user: 'user',\r\n  pass: 'pass'\r\n});\r\n\r\n// Trigger on successful connection.\r\nclient.once( 'connection.success', function connected( client ) {\r\n  console.log( 'Connected to RETS as %s.', client.get( 'provider.name' ) )\r\n\r\n  // Fetch classifications\r\n  client.getClassifications( function have_meta( error, meta ) {\r\n\r\n    if( error ) {\r\n      console.log( 'Error while fetching classifications: %s.', error.message );\r\n    } else {\r\n      console.log( 'Fetched %d classifications.', Object.keys( meta.data ).length );\r\n      console.log( 'Classification keys: %s.', Object.keys( meta.data ) );\r\n    }\r\n\r\n  });\r\n\r\n});\r\n\r\n// Trigger on connection failure.\r\nclient.once( 'connection.error', function connection_error( error, client ) {\r\n  console.error( 'Connection failed: %s.', error.message );\r\n});\r\n```\r\n*Note: I've confirmed credentials are valid. Using `user` and `pass` here.*\r\n\r\nAt first, installing rets-client as one would expect (ie: `npm i --save rets-client`) and running the script above threw an error saying .createConnection didn't exist.\r\n\r\nI then proceeded to fork and clone your repo and used `npm link` to have my script use my local fork. I had to delete the shrinkwrap file because it's missing the MD5 dependency. The library now loads fine but the connection seems to hang and ultimately it times out but no clear feedback is given. Ie: I don't know why it's hanging.\r\n\r\nCan you help me figure out where this is coming from, perhaps a way for me to increase logging or point me in the right direction so I can help fix this if it's a bug? Have you had the same problem?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/comments/77667156","html_url":"https://github.com/UsabilityDynamics/node-rets-client/issues/10#issuecomment-77667156","issue_url":"https://api.github.com/repos/UsabilityDynamics/node-rets-client/issues/10","id":77667156,"user":{"login":"dermidgen","id":53420,"avatar_url":"https://avatars.githubusercontent.com/u/53420?v=3","gravatar_id":"","url":"https://api.github.com/users/dermidgen","html_url":"https://github.com/dermidgen","followers_url":"https://api.github.com/users/dermidgen/followers","following_url":"https://api.github.com/users/dermidgen/following{/other_user}","gists_url":"https://api.github.com/users/dermidgen/gists{/gist_id}","starred_url":"https://api.github.com/users/dermidgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dermidgen/subscriptions","organizations_url":"https://api.github.com/users/dermidgen/orgs","repos_url":"https://api.github.com/users/dermidgen/repos","events_url":"https://api.github.com/users/dermidgen/events{/privacy}","received_events_url":"https://api.github.com/users/dermidgen/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T01:59:03Z","updated_at":"2015-03-07T01:59:03Z","body":"I see that now; yeah the connection options have changed slightly... Update coming shortly please standby."}}