{"action":"created","issue":{"url":"https://api.github.com/repos/pa11y/pa11y/issues/177","repository_url":"https://api.github.com/repos/pa11y/pa11y","labels_url":"https://api.github.com/repos/pa11y/pa11y/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/pa11y/pa11y/issues/177/comments","events_url":"https://api.github.com/repos/pa11y/pa11y/issues/177/events","html_url":"https://github.com/pa11y/pa11y/issues/177","id":166364909,"number":177,"title":"Can't open a site hosted on the same vps","user":{"login":"jonnybarnes","id":108303,"avatar_url":"https://avatars.githubusercontent.com/u/108303?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybarnes","html_url":"https://github.com/jonnybarnes","followers_url":"https://api.github.com/users/jonnybarnes/followers","following_url":"https://api.github.com/users/jonnybarnes/following{/other_user}","gists_url":"https://api.github.com/users/jonnybarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybarnes/subscriptions","organizations_url":"https://api.github.com/users/jonnybarnes/orgs","repos_url":"https://api.github.com/users/jonnybarnes/repos","events_url":"https://api.github.com/users/jonnybarnes/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybarnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-19T15:43:30Z","updated_at":"2016-07-19T16:48:11Z","closed_at":null,"body":"Pa11y works with a friends site hosted on his server, but not with my site on my server.\r\n\r\nA sample entry from `~/.pm2/logs/pa11y-out.0.log`:\r\n\r\n```\r\nStarting to run tasks @ Tue Jul 19 2016 00:30:00 GMT+0100 (BST)\r\nStarting task 57856decb48b466a480725f0\r\nStarting task 57856eecb48b466a480725f2\r\n  > PhantomJS page created\r\n  > PhantomJS page created\r\n  > Opening \"https://jonnybarnes.uk\" in PhantomJS\r\n  > Opening \"https://aaronparecki.com\" in PhantomJS\r\n  > PhantomJS page closed\r\n  > PhantomJS browser exited\r\nFailed to finish task 57856eecb48b466a480725f2: Page \"https://jonnybarnes.uk\" could not be opened\r\n  > Opened \"https://aaronparecki.com\" in PhantomJS\r\n  > Injecting HTML CodeSniffer\r\n  > Injecting Pa11y\r\n  > Running Pa11y on the page\r\n  > Waiting for 3000ms\r\n  > Test function ran for \"https://aaronparecki.com\"\r\n  > PhantomJS page closed\r\n  > PhantomJS browser exited\r\nFinished task 57856decb48b466a480725f0\r\nFinished running tasks @ Tue Jul 19 2016 00:30:11 GMT+0100 (BST)\r\n```\r\n\r\nNow, its not actually phantomjs, this test script opens my page as expected:\r\n\r\n```js\r\nvar page = require('webpage').create();\r\nvar url = 'https://jonnybarnes.uk';\r\n\r\nconsole.log('Loading: ' + url);\r\n\r\npage.onResourceError = function(resourceError) {\r\n    page.reason = resourceError.errorString;\r\n    page.reason_url = resourceError.url;\r\n};\r\n\r\npage.onResourceReceived = function(response) {\r\n    console.log('Response (#' + response.id + ', stage \"' + response.stage + '\"): ' + JSON.stringify(response));\r\n}\r\n\r\npage.open(url, function(status){\r\n    if (status !== 'success') {\r\n        console.log('Error opening URL ' + page.reason_url + ', because: ' + page.reason);\r\n        phantom.exit(1);\r\n    } else {\r\n        console.log('Open page success');\r\n        phantom.exit();\r\n    }\r\n});\r\n```\r\n\r\nSo I’m not sure what gives. FYI, my vps is running Debian 8.5 and has node 6.3.0 installed."},"comment":{"url":"https://api.github.com/repos/pa11y/pa11y/issues/comments/233694710","html_url":"https://github.com/pa11y/pa11y/issues/177#issuecomment-233694710","issue_url":"https://api.github.com/repos/pa11y/pa11y/issues/177","id":233694710,"user":{"login":"jonnybarnes","id":108303,"avatar_url":"https://avatars.githubusercontent.com/u/108303?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybarnes","html_url":"https://github.com/jonnybarnes","followers_url":"https://api.github.com/users/jonnybarnes/followers","following_url":"https://api.github.com/users/jonnybarnes/following{/other_user}","gists_url":"https://api.github.com/users/jonnybarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybarnes/subscriptions","organizations_url":"https://api.github.com/users/jonnybarnes/orgs","repos_url":"https://api.github.com/users/jonnybarnes/repos","events_url":"https://api.github.com/users/jonnybarnes/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybarnes/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T16:48:11Z","updated_at":"2016-07-19T16:48:11Z","body":"Where would I declare the `ssl-protocol` value? Adding it to `config/production.json` seems not to work."}}
{"actor":{"display_login":"jonnybarnes"}}