{"action":"created","issue":{"url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/2","labels_url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/2/comments","events_url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/2/events","html_url":"https://github.com/benjamincburns/websockproxy/issues/2","id":99595710,"number":2,"title":"jor1k not getting IP address assignment on self-hosted relay","user":{"login":"bsapwindows","id":12470089,"avatar_url":"https://avatars.githubusercontent.com/u/12470089?v=3","gravatar_id":"","url":"https://api.github.com/users/bsapwindows","html_url":"https://github.com/bsapwindows","followers_url":"https://api.github.com/users/bsapwindows/followers","following_url":"https://api.github.com/users/bsapwindows/following{/other_user}","gists_url":"https://api.github.com/users/bsapwindows/gists{/gist_id}","starred_url":"https://api.github.com/users/bsapwindows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsapwindows/subscriptions","organizations_url":"https://api.github.com/users/bsapwindows/orgs","repos_url":"https://api.github.com/users/bsapwindows/repos","events_url":"https://api.github.com/users/bsapwindows/events{/privacy}","received_events_url":"https://api.github.com/users/bsapwindows/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-07T07:29:24Z","updated_at":"2015-09-26T19:58:50Z","closed_at":"2015-08-12T01:39:39Z","body":"@benjamincburns hi Benjamin, I was trying to run my own relay on my own computer, but couldn't get it to work. This is what I've done so far:\r\n```bash\r\ngit clone https://github.com/benjamincburns/websockproxy.git\r\nsudo pip install -r requirements.txt\r\n# change the listening port to 80\r\n# make the log file writable\r\nsudo python switchedrelay.py\r\n```\r\nI set relayURL to `wss://127.0.0.1/`, there were several error warnings like `Websocket closed. Reopening.\r\nWebsocket error: `in the Chrome console log. Then I set it to `ws://127.0.0.1/`, error warnings in Chrome console are gone, but in jor1k terminal window it still shows three times of `Sending discover...` then `No lease, failing`. I set the relayURL back to your server `wss://relay.widgetry.org/`, it works great.\r\n\r\nPlease help me figure out what I did wrong."},"comment":{"url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/comments/143490148","html_url":"https://github.com/benjamincburns/websockproxy/issues/2#issuecomment-143490148","issue_url":"https://api.github.com/repos/benjamincburns/websockproxy/issues/2","id":143490148,"user":{"login":"WebSSH","id":7237479,"avatar_url":"https://avatars.githubusercontent.com/u/7237479?v=3","gravatar_id":"","url":"https://api.github.com/users/WebSSH","html_url":"https://github.com/WebSSH","followers_url":"https://api.github.com/users/WebSSH/followers","following_url":"https://api.github.com/users/WebSSH/following{/other_user}","gists_url":"https://api.github.com/users/WebSSH/gists{/gist_id}","starred_url":"https://api.github.com/users/WebSSH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebSSH/subscriptions","organizations_url":"https://api.github.com/users/WebSSH/orgs","repos_url":"https://api.github.com/users/WebSSH/repos","events_url":"https://api.github.com/users/WebSSH/events{/privacy}","received_events_url":"https://api.github.com/users/WebSSH/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T19:58:50Z","updated_at":"2015-09-26T19:58:50Z","body":"Hi @bsapwindows !\r\n\r\nThis is the best solution ;)\r\n\r\nWorks like a charm without hassle !\r\n\r\nHave a nice day."}}