{"action":"created","issue":{"url":"https://api.github.com/repos/solusipse/fiche/issues/45","repository_url":"https://api.github.com/repos/solusipse/fiche","labels_url":"https://api.github.com/repos/solusipse/fiche/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/solusipse/fiche/issues/45/comments","events_url":"https://api.github.com/repos/solusipse/fiche/issues/45/events","html_url":"https://github.com/solusipse/fiche/issues/45","id":182201806,"number":45,"title":"Not receiving url on client","user":{"login":"DuckThom","id":6512901,"avatar_url":"https://avatars2.githubusercontent.com/u/6512901?v=3","gravatar_id":"","url":"https://api.github.com/users/DuckThom","html_url":"https://github.com/DuckThom","followers_url":"https://api.github.com/users/DuckThom/followers","following_url":"https://api.github.com/users/DuckThom/following{/other_user}","gists_url":"https://api.github.com/users/DuckThom/gists{/gist_id}","starred_url":"https://api.github.com/users/DuckThom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DuckThom/subscriptions","organizations_url":"https://api.github.com/users/DuckThom/orgs","repos_url":"https://api.github.com/users/DuckThom/repos","events_url":"https://api.github.com/users/DuckThom/events{/privacy}","received_events_url":"https://api.github.com/users/DuckThom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T08:19:10Z","updated_at":"2017-03-08T15:45:46Z","closed_at":null,"body":"Output on server:\n\n```\n====================================\nDomain name: http://localhost/\nSaving files to: /app/uploads\nFiche started listening on port 9999.\nBuffer size set to: 32768.\nSlug size set to: 4.\nLog file: /dev/stdout\n====================================\nSaved to: /app/uploads/cs0j/index.txt\nTue Oct 11 08:12:18 2016\nClient: 172.17.0.1 (172.17.0.1)\n====================================\ncs0j -- Tue Oct 11 08:12:18 2016 -- 172.17.0.1 (172.17.0.1)\n```\n\nOutput on client:\n\n```\nyouwe@youwe-HP-ProBook-450-G2 > ~ $  echo \"test\" | nc localhost 9999\nyouwe@youwe-HP-ProBook-450-G2 > ~ $  \n```\n\nIt looks like fiche is either unable to write to the socket or not writing anything at all.\nThe server is running inside a docker container, perhaps I'm missing something in my container config?\n\nAfter doing some more testing: If i run `echo \"test\" | nc localhost 9999` from the same container, I receive the url. If I bind port 9999 of the container to my local machine and run `echo \"test\" | nc localhost 9999` on it, I don't receive anything.\n"},"comment":{"url":"https://api.github.com/repos/solusipse/fiche/issues/comments/285077318","html_url":"https://github.com/solusipse/fiche/issues/45#issuecomment-285077318","issue_url":"https://api.github.com/repos/solusipse/fiche/issues/45","id":285077318,"user":{"login":"mosajjal","id":10158936,"avatar_url":"https://avatars1.githubusercontent.com/u/10158936?v=3","gravatar_id":"","url":"https://api.github.com/users/mosajjal","html_url":"https://github.com/mosajjal","followers_url":"https://api.github.com/users/mosajjal/followers","following_url":"https://api.github.com/users/mosajjal/following{/other_user}","gists_url":"https://api.github.com/users/mosajjal/gists{/gist_id}","starred_url":"https://api.github.com/users/mosajjal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosajjal/subscriptions","organizations_url":"https://api.github.com/users/mosajjal/orgs","repos_url":"https://api.github.com/users/mosajjal/repos","events_url":"https://api.github.com/users/mosajjal/events{/privacy}","received_events_url":"https://api.github.com/users/mosajjal/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T15:45:46Z","updated_at":"2017-03-08T15:45:46Z","body":"I have the exact same problem with the newer versions of nc. adding -q 4 to nc would solve the problem\r\n\r\necho \"test\" | nc -q 4 termbin.com 999"}}
{"actor":{"display_login":"mosajjal"}}