{"action":"created","issue":{"url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/255","labels_url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/255/comments","events_url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/255/events","html_url":"https://github.com/pattern-lab/patternlab-php/issues/255","id":49475303,"number":255,"title":"Wrench BadRequestException: No origin header","user":{"login":"felippenardi","id":1354492,"avatar_url":"https://avatars.githubusercontent.com/u/1354492?v=3","gravatar_id":"","url":"https://api.github.com/users/felippenardi","html_url":"https://github.com/felippenardi","followers_url":"https://api.github.com/users/felippenardi/followers","following_url":"https://api.github.com/users/felippenardi/following{/other_user}","gists_url":"https://api.github.com/users/felippenardi/gists{/gist_id}","starred_url":"https://api.github.com/users/felippenardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felippenardi/subscriptions","organizations_url":"https://api.github.com/users/felippenardi/orgs","repos_url":"https://api.github.com/users/felippenardi/repos","events_url":"https://api.github.com/users/felippenardi/events{/privacy}","received_events_url":"https://api.github.com/users/felippenardi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pattern-lab/patternlab-php/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-11-20T00:51:09Z","updated_at":"2015-01-03T01:39:56Z","closed_at":"2015-01-03T01:39:56Z","body":"Hi there,\r\n\r\nI'm trying to run the builder command with the watch and auto reload server with this command:\r\n```\r\ndocker run -t --rm --name my-running-script -v \"$(pwd)\":/usr/src/myapp -w /usr/src/myapp -p 7007:8002 php:5.6-cli php core/builder.php -w -r\r\n```\r\nIt basically gets a PHP Docker to run my command. It seems to work, the output is:\r\n```\r\nconfiguring pattern lab...\r\nyour site has been generated...\r\nsite generation took 0.27731108665466 seconds and used 4MB of memory...\r\nstarting page auto-reload...\r\nwatching your site for changes...\r\ninfo: Server initialized\r\n```\r\n\r\n But then when I try to connect to my site on the browser, I see just a blank page and the only error is a 404 for the favicon.\r\n\r\nOn the server side, I get this output:\r\n\r\n```\r\ninfo: Wrench\\ConnectionManager: Wrench\\Connection: 187.67.9.15:65245 (2762c0c7d40637e8455ad4b9fdad42c0065a859da273d713eb5e7d6e73bb2177424d01a41f95f285c3190f16fc5ab5f23c411b58cfacad87522f5e67be297a4b): Connected\r\nwarning: Wrench\\ConnectionManager: Error on client socket: exception 'Wrench\\Exception\\BadRequestException' with message 'No origin header' in /usr/src/myapp/core/lib/Wrench/Protocol/Protocol.php:455  Stack trace:#0 /usr/src/myapp/core/lib/Wrench/Connection.php(227): Wrench\\Protocol\\Protocol->validateRequestHandshake('GET / HTTP/1.1\\r...')#1 /usr/src/myapp/core/lib/Wrench/Connection.php(210): Wrench\\Connection->handshake('GET / HTTP/1.1\\r...')#2 /usr/src/myapp/core/lib/Wrench/Connection.php(403): Wrench\\Connection->onData('GET / HTTP/1.1\\r...')#3 /usr/src/myapp/core/lib/Wrench/ConnectionManager.php(245): Wrench\\Connection->process()#4 /usr/src/myapp/core/lib/Wrench/ConnectionManager.php(172): Wrench\\ConnectionManager->processClientSocket(Resource id #146)#5 /usr/src/myapp/core/lib/Wrench/Server.php(201): Wrench\\ConnectionManager->selectAndProcess()#6 /usr/src/myapp/core/autoReloadServer.php(45): Wrench\\Server->run()#7 {main}\r\n```"},"comment":{"url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/comments/68578700","html_url":"https://github.com/pattern-lab/patternlab-php/issues/255#issuecomment-68578700","issue_url":"https://api.github.com/repos/pattern-lab/patternlab-php/issues/255","id":68578700,"user":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T01:39:56Z","updated_at":"2015-01-03T01:39:56Z","body":"@felippenardi -\r\n\r\nI'll be honest, I'm not in a good position to debug this nor am I really familiar with the Wrench stuff. I just plugged it together and stuff seemed to work. Sorry."}}