{"action":"created","issue":{"url":"https://api.github.com/repos/pact-foundation/pact-node/issues/98","repository_url":"https://api.github.com/repos/pact-foundation/pact-node","labels_url":"https://api.github.com/repos/pact-foundation/pact-node/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/pact-foundation/pact-node/issues/98/comments","events_url":"https://api.github.com/repos/pact-foundation/pact-node/issues/98/events","html_url":"https://github.com/pact-foundation/pact-node/issues/98","id":340504310,"node_id":"MDU6SXNzdWUzNDA1MDQzMTA=","number":98,"title":"No consumer contract parser found for hash","user":{"login":"shavo007","id":5466825,"node_id":"MDQ6VXNlcjU0NjY4MjU=","avatar_url":"https://avatars2.githubusercontent.com/u/5466825?v=4","gravatar_id":"","url":"https://api.github.com/users/shavo007","html_url":"https://github.com/shavo007","followers_url":"https://api.github.com/users/shavo007/followers","following_url":"https://api.github.com/users/shavo007/following{/other_user}","gists_url":"https://api.github.com/users/shavo007/gists{/gist_id}","starred_url":"https://api.github.com/users/shavo007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shavo007/subscriptions","organizations_url":"https://api.github.com/users/shavo007/orgs","repos_url":"https://api.github.com/users/shavo007/repos","events_url":"https://api.github.com/users/shavo007/events{/privacy}","received_events_url":"https://api.github.com/users/shavo007/received_events","type":"User","site_admin":false},"labels":[{"id":255006150,"node_id":"MDU6TGFiZWwyNTUwMDYxNTA=","url":"https://api.github.com/repos/pact-foundation/pact-node/labels/bug","name":"bug","color":"fc2929","default":true},{"id":592955294,"node_id":"MDU6TGFiZWw1OTI5NTUyOTQ=","url":"https://api.github.com/repos/pact-foundation/pact-node/labels/triage","name":"triage","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-12T06:25:45Z","updated_at":"2018-07-13T01:29:11Z","closed_at":null,"author_association":"NONE","body":"Issue when verifying my pact \r\nsample code\r\n\r\n```\r\nconst pact = require('@pact-foundation/pact-node')\r\n\r\nconst opts = {\r\n\tproviderBaseUrl: 'http://my.api', // where your service will be running during the test, either staging or localhost on CI\r\n\t// providerStatesSetupUrl: 'http://localhost:3001/test/setup', // the url to call to set up states\r\n\t// pactUrls: ['http://localhost/'], // the pacts to test against\r\n\t// pactBrokerUsername: 'shanelee007',\r\n\t// pactBrokerPassword: 'xxx',\r\n\tpublishVerificationResult: true,\r\n\tproviderVersion: '2.0.0'\r\n\tprovider: 'Talent%20API'\r\n}\r\n\r\npact.verifyPacts(opts)\r\n\t.then(() => {\r\n\t\tconsole.log('success')\r\n\t\tprocess.exit(0)\r\n\t})\r\n\t.catch(error => {\r\n\t\tconsole.log('failed', error)\r\n\t\tprocess.exit(1)\r\n\t})\r\n\r\n```\r\n\r\nWhen i run this i was expecting to pull down all pacts for my provider. I am running the latest pact broker docker image\r\n\r\nBut i get the error above\r\n\r\nDeps are:\r\n\r\n```\r\n    \"@pact-foundation/pact\": \"5.9.1\",\r\n        \"@pact-foundation/pact-node\": \"^6.19.4\",\r\n```\r\n\r\nit only works when i hardcode the absolute url for the pact broker\r\n\r\n```js\r\npactUrls: [\r\n\t\t'http://localhost/pacts/provider/Talent%20API/consumer/experienceAPI/latest'\r\n\t ], // the pacts to test against\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pact-foundation/pact-node/issues/comments/404698465","html_url":"https://github.com/pact-foundation/pact-node/issues/98#issuecomment-404698465","issue_url":"https://api.github.com/repos/pact-foundation/pact-node/issues/98","id":404698465,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDY5ODQ2NQ==","user":{"login":"mefellows","id":53900,"node_id":"MDQ6VXNlcjUzOTAw","avatar_url":"https://avatars1.githubusercontent.com/u/53900?v=4","gravatar_id":"","url":"https://api.github.com/users/mefellows","html_url":"https://github.com/mefellows","followers_url":"https://api.github.com/users/mefellows/followers","following_url":"https://api.github.com/users/mefellows/following{/other_user}","gists_url":"https://api.github.com/users/mefellows/gists{/gist_id}","starred_url":"https://api.github.com/users/mefellows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mefellows/subscriptions","organizations_url":"https://api.github.com/users/mefellows/orgs","repos_url":"https://api.github.com/users/mefellows/repos","events_url":"https://api.github.com/users/mefellows/events{/privacy}","received_events_url":"https://api.github.com/users/mefellows/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T01:29:11Z","updated_at":"2018-07-13T01:29:11Z","author_association":"MEMBER","body":"AH, I see it.\r\n\r\n```\r\npactUrls: ['http://localhost'], // the pacts to test against\r\n```\r\n\r\nThis is a list of _known_ pact URLs. If you want to fetch from the broker, you need to specify the pact broker URL, e.g.\r\n\r\n```\r\npactBrokerUrl: 'http://localhost',\r\n```\r\n\r\nThis is why we're not seeing `\"Finding consumers ...\"` at the start.\r\n\r\n"}}
{"actor":{"display_login":"mefellows"}}