{"action":"created","issue":{"url":"https://api.github.com/repos/varspool/Wrench/issues/66","labels_url":"https://api.github.com/repos/varspool/Wrench/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/varspool/Wrench/issues/66/comments","events_url":"https://api.github.com/repos/varspool/Wrench/issues/66/events","html_url":"https://github.com/varspool/Wrench/issues/66","id":55664748,"number":66,"title":"No Origin Header","user":{"login":"guile","id":82899,"avatar_url":"https://avatars.githubusercontent.com/u/82899?v=3","gravatar_id":"","url":"https://api.github.com/users/guile","html_url":"https://github.com/guile","followers_url":"https://api.github.com/users/guile/followers","following_url":"https://api.github.com/users/guile/following{/other_user}","gists_url":"https://api.github.com/users/guile/gists{/gist_id}","starred_url":"https://api.github.com/users/guile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guile/subscriptions","organizations_url":"https://api.github.com/users/guile/orgs","repos_url":"https://api.github.com/users/guile/repos","events_url":"https://api.github.com/users/guile/events{/privacy}","received_events_url":"https://api.github.com/users/guile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/varspool/Wrench/labels/moreinfo","name":"moreinfo","color":"d7e102"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T19:42:46Z","updated_at":"2015-02-18T13:07:50Z","closed_at":"2015-02-18T13:07:50Z","body":"When I run a Wrench server (inside scripts of patternlab-php), it calls\r\n<code>$server   = new \\Wrench\\Server('ws://0.0.0.0:'.$port.'/', array());</code>\r\nThis starts the server, but it halts execution soon as a request is made, ending with a cascade of errors. I have pasted a screenshot of the exception reported. \r\n\r\nI checked the HTML request being made, but couldn't get why Wrench wouldn't set the <code>$origin</code> variable\r\n\r\n![image](https://cloud.githubusercontent.com/assets/82899/5925491/e2075fe6-a689-11e4-8494-e58d1272b242.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/82899/5925496/e5ee405c-a689-11e4-89bc-ff540a69c26e.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/82899/5925562/611cab1a-a68a-11e4-9d2d-74b193edf677.png)\r\n"},"comment":{"url":"https://api.github.com/repos/varspool/Wrench/issues/comments/74860742","html_url":"https://github.com/varspool/Wrench/issues/66#issuecomment-74860742","issue_url":"https://api.github.com/repos/varspool/Wrench/issues/66","id":74860742,"user":{"login":"dominics","id":97427,"avatar_url":"https://avatars.githubusercontent.com/u/97427?v=3","gravatar_id":"","url":"https://api.github.com/users/dominics","html_url":"https://github.com/dominics","followers_url":"https://api.github.com/users/dominics/followers","following_url":"https://api.github.com/users/dominics/following{/other_user}","gists_url":"https://api.github.com/users/dominics/gists{/gist_id}","starred_url":"https://api.github.com/users/dominics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominics/subscriptions","organizations_url":"https://api.github.com/users/dominics/orgs","repos_url":"https://api.github.com/users/dominics/repos","events_url":"https://api.github.com/users/dominics/events{/privacy}","received_events_url":"https://api.github.com/users/dominics/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T13:07:50Z","updated_at":"2015-02-18T13:07:50Z","body":"In the screenshot, your request URL is `http://127.0.0.1:8002`. Rather than requesting that with your browser, you should use a websocket client and connect to `ws://127.0.0.1:8002`.\r\n\r\nSee `examples/coffeescript/index.html` (recently fixed up)."}}