{"action":"created","issue":{"url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/7","labels_url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/7/comments","events_url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/7/events","html_url":"https://github.com/lloydwatkin/prosody-docker/issues/7","id":57049305,"number":7,"title":"Problems connecting BOSH, attaching shell, and generating logs","user":{"login":"metalaureate","id":2185884,"avatar_url":"https://avatars.githubusercontent.com/u/2185884?v=3","gravatar_id":"","url":"https://api.github.com/users/metalaureate","html_url":"https://github.com/metalaureate","followers_url":"https://api.github.com/users/metalaureate/followers","following_url":"https://api.github.com/users/metalaureate/following{/other_user}","gists_url":"https://api.github.com/users/metalaureate/gists{/gist_id}","starred_url":"https://api.github.com/users/metalaureate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalaureate/subscriptions","organizations_url":"https://api.github.com/users/metalaureate/orgs","repos_url":"https://api.github.com/users/metalaureate/repos","events_url":"https://api.github.com/users/metalaureate/events{/privacy}","received_events_url":"https://api.github.com/users/metalaureate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T15:59:04Z","updated_at":"2015-02-09T16:04:44Z","closed_at":null,"body":"@mwild1 @lloydwatkin I'm running prosody in boot2docker locally at 192.168.1.109 and running into a problem with connecting by BOSH.\r\n\r\nDespite having BOSH enabled in my config file\r\n\r\nshill$ telnet 192.168.1.109 5222\r\nTrying 192.168.1.109...\r\nConnected to boot2docker.hsd1.ca.comcast.net.\r\nEscape character is '^]'.\r\n^]\r\ntelnet> Connection closed.\r\nsimon-hill-macbook-pro:idelog shill$ telnet 192.168.1.109 5280\r\nTrying 192.168.1.109...\r\ntelnet: connect to address 192.168.1.109: Connection refused\r\n\r\nHere's my fig config \r\n\r\n```\r\nxmpp:\r\n     build: ./xmpp/\r\n     command: prosodyctl start\r\n     volumes:\r\n         - ./xmpp/configuration:/etc/prosody\r\n         - ./xmpp/logs:/var/log/prosody\r\n         - ./xmpp/modules:/usr/lib/prosody-modules\r\n     ports:\r\n         - \"5280:5280\" # xmpp bosh\r\n         - \"5222:5222\" # xmpp native\r\n```\r\n\r\nprosody config in /etc/prosody\r\nhttp://pastebin.com/Yq6au87y\r\n\r\nDockerfile\r\n```\r\n# xmpp\r\nFROM prosody/prosody:latest\r\nMAINTAINER simon@idelog.me\r\nENV LOCAL xxx\r\nENV PASSWORD xxx\r\nENV DOMAIN localhost\r\nVOLUME /var/log/prosody/\r\nVOLUME /etc/prosody\r\nCMD prosodyctl start\r\n```\r\n\r\nfig run xmpp /bin/bash does not attach a shell, which makes debugging hard.\r\n\r\nI get no logs in ./xmpp/logs\r\n\r\nAny ideas how to troubleshoot this? Thank you. Prosody is the messaging backend for a consumer startup I am about to launch.\r\n\r\n(Needless to say, prosody works fine on my local mac... my difficulties began when I dockerized prosody using your image.)\r\n"},"comment":{"url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/comments/73534536","html_url":"https://github.com/lloydwatkin/prosody-docker/issues/7#issuecomment-73534536","issue_url":"https://api.github.com/repos/lloydwatkin/prosody-docker/issues/7","id":73534536,"user":{"login":"lloydwatkin","id":271622,"avatar_url":"https://avatars.githubusercontent.com/u/271622?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydwatkin","html_url":"https://github.com/lloydwatkin","followers_url":"https://api.github.com/users/lloydwatkin/followers","following_url":"https://api.github.com/users/lloydwatkin/following{/other_user}","gists_url":"https://api.github.com/users/lloydwatkin/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydwatkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydwatkin/subscriptions","organizations_url":"https://api.github.com/users/lloydwatkin/orgs","repos_url":"https://api.github.com/users/lloydwatkin/repos","events_url":"https://api.github.com/users/lloydwatkin/events{/privacy}","received_events_url":"https://api.github.com/users/lloydwatkin/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T16:04:44Z","updated_at":"2015-02-09T16:04:44Z","body":"IIRC because OSX isn't a proper operating system there's file permissions when it comes to mounted volumes, i.e. prosody won't be able to write to the log files. This may have changed though."}}