{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/305","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/305/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/305/events","html_url":"https://github.com/crossbario/crossbar/issues/305","id":68472908,"number":305,"title":"Relax timeouts on worker starts","user":{"login":"kashifpk","id":198638,"avatar_url":"https://avatars.githubusercontent.com/u/198638?v=3","gravatar_id":"","url":"https://api.github.com/users/kashifpk","html_url":"https://github.com/kashifpk","followers_url":"https://api.github.com/users/kashifpk/followers","following_url":"https://api.github.com/users/kashifpk/following{/other_user}","gists_url":"https://api.github.com/users/kashifpk/gists{/gist_id}","starred_url":"https://api.github.com/users/kashifpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kashifpk/subscriptions","organizations_url":"https://api.github.com/users/kashifpk/orgs","repos_url":"https://api.github.com/users/kashifpk/repos","events_url":"https://api.github.com/users/kashifpk/events{/privacy}","received_events_url":"https://api.github.com/users/kashifpk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/crossbario/crossbar/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/crossbario/crossbar/labels/core","name":"core","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"oberstet","id":233340,"avatar_url":"https://avatars.githubusercontent.com/u/233340?v=3","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/crossbario/crossbar/milestones/1","html_url":"https://github.com/crossbario/crossbar/milestones/0.11.0","labels_url":"https://api.github.com/repos/crossbario/crossbar/milestones/1/labels","id":1267979,"number":1,"title":"0.11.0","description":"","creator":{"login":"oberstet","id":233340,"avatar_url":"https://avatars.githubusercontent.com/u/233340?v=3","gravatar_id":"","url":"https://api.github.com/users/oberstet","html_url":"https://github.com/oberstet","followers_url":"https://api.github.com/users/oberstet/followers","following_url":"https://api.github.com/users/oberstet/following{/other_user}","gists_url":"https://api.github.com/users/oberstet/gists{/gist_id}","starred_url":"https://api.github.com/users/oberstet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oberstet/subscriptions","organizations_url":"https://api.github.com/users/oberstet/orgs","repos_url":"https://api.github.com/users/oberstet/repos","events_url":"https://api.github.com/users/oberstet/events{/privacy}","received_events_url":"https://api.github.com/users/oberstet/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":26,"state":"open","created_at":"2015-08-23T12:22:20Z","updated_at":"2015-09-06T10:13:07Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-04-14T19:17:32Z","updated_at":"2015-09-06T10:13:08Z","closed_at":"2015-09-06T10:13:07Z","body":"Despite various attempts crossbar just doesn't work won Raspberry Pi. The model tested upon is Raspberry Pi Model B+ and I've used three different versions of Raspbian without success. Currently using the latest Raspbian Release (Feb 2015) cross bar gives the following error:\r\n\r\n    $ crossbar init\r\n    $ crossbar start\r\n    2015-04-14 19:05:22+0000 [Controller   8740] Log opened.\r\n    2015-04-14 19:05:22+0000 [Controller   8740] ==================== Crossbar.io ====================\r\n    \r\n    2015-04-14 19:05:22+0000 [Controller   8740] Crossbar.io 0.10.4 starting\r\n    2015-04-14 19:05:22+0000 [Controller   8740] Running on CPython using EPollReactor reactor\r\n    2015-04-14 19:05:22+0000 [Controller   8740] Starting from node directory /home/pi/cbtest/.crossbar\r\n    2015-04-14 19:05:25+0000 [Controller   8740] Starting from local configuration '/home/pi/cbtest/.crossbar/config.json'\r\n    2015-04-14 19:05:25+0000 [Controller   8740] Warning, could not set process title (setproctitle not installed)\r\n    2015-04-14 19:05:25+0000 [Controller   8740] Router created for realm 'crossbar'\r\n    2015-04-14 19:05:26+0000 [Controller   8740] No WAMPlets detected in enviroment.\r\n    2015-04-14 19:05:26+0000 [Controller   8740] Starting Router with ID 'worker1' ..\r\n    2015-04-14 19:05:26+0000 [Controller   8740] Entering reactor event loop ...\r\n    2015-04-14 19:05:28+0000 [Router       8749] /usr/local/lib/python2.7/dist-packages/zope.deprecation-4.1.2-py2.7.egg/zope/__init__.py:3: UserWarning: Module twisted was already imported from /usr/local/lib/python2.7/dist-packages/Twisted-15.1.0-py2.7-linux-armv6l.egg/twisted/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/autobahn-0.10.3-py2.7.egg is being added to sys.path\r\n    2015-04-14 19:05:30+0000 [Router       8749] Log opened.\r\n    2015-04-14 19:05:30+0000 [Router       8749] Warning: could not set worker process title (setproctitle not installed)\r\n    2015-04-14 19:05:52+0000 [Router       8749] Running under CPython using EPollReactor reactor\r\n    2015-04-14 19:05:58+0000 [Controller   8740] Worker 8749: Process connection gone (A process has ended with a probable error condition: process ended with exit code 1.)\r\n    2015-04-14 19:05:58+0000 [Controller   8740] ERROR: failed to start native worker - A process has ended with a probable error condition: process ended with exit code 1.\r\n    2015-04-14 19:05:58+0000 [Controller   8740] Traceback (most recent call last):\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/crossbar-0.10.4-py2.7.egg/crossbar/controller/node.py\", line 183, in run_node_config\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     yield self._run_node_config(config)\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/Twisted-15.1.0-py2.7-linux-armv6l.egg/twisted/internet/defer.py\", line 1105, in _inlineCallbacks\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     result = result.throwExceptionIntoGenerator(g)\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/Twisted-15.1.0-py2.7-linux-armv6l.egg/twisted/python/failure.py\", line 389, in throwExceptionIntoGenerator\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     return g.throw(self.type, self.value, self.tb)\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/crossbar-0.10.4-py2.7.egg/crossbar/controller/node.py\", line 249, in _run_node_config\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     yield self._controller.start_router(worker_id, worker_options, details=call_details)\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/Twisted-15.1.0-py2.7-linux-armv6l.egg/twisted/internet/defer.py\", line 578, in _runCallbacks\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     current.result = callback(current.result, *args, **kw)\r\n    2015-04-14 19:05:58+0000 [Controller   8740]   File \"/usr/local/lib/python2.7/dist-packages/crossbar-0.10.4-py2.7.egg/crossbar/controller/process.py\", line 540, in on_ready_error\r\n    2015-04-14 19:05:58+0000 [Controller   8740]     raise ApplicationError(\"crossbar.error.cannot_start\", emsg, worker.getlog())\r\n    2015-04-14 19:05:58+0000 [Controller   8740] ApplicationError: ApplicationError('crossbar.error.cannot_start', args = ('ERROR: failed to start native worker - A process has ended with a probable error condition: process ended with exit code 1.', []), kwargs = {})\r\n    2015-04-14 19:05:58+0000 [Controller   8740] Main loop terminated.\r\n\r\nI've tried installing and using with and without virtualenv and using both CPython and PyPy with same results. The odd thing is that out of the 30 or more tries that I made, it worked once when I created a new virtualenv and installed crossbar in it. However on future attempts it stopped working and creating another virtualenv didn't help either.\r\n\r\nTwo of the test configurations are:\r\n\r\nCPython 2.7:\r\n\r\n    Crossbar.io package versions and platform information:\r\n    \r\n    Crossbar.io                  : 0.10.4\r\n    \r\n      Autobahn|Python            : 0.10.3\r\n        WebSocket UTF8 Validator : wsaccel-0.6.2\r\n        WebSocket XOR Masker     : wsaccel-0.6.2\r\n        WAMP JSON Codec          : ujson-1.33\r\n        WAMP MsgPack Codec       : msgpack-python-0.4.6\r\n      Twisted                    : 15.1.0-EPollReactor\r\n      Python                     : 2.7.3-CPython\r\n    \r\n    OS                           : Linux-3.18.7+-armv6l-with-debian-7.8\r\n    Machine                      : armv6l\r\n\r\nPyPi:\r\n\r\n    Crossbar.io package versions and platform information:\r\n    \r\n    Crossbar.io                  : 0.10.4\r\n    \r\n      Autobahn|Python            : 0.10.3\r\n        WebSocket UTF8 Validator : ?\r\n        WebSocket XOR Masker     : ?\r\n        WAMP JSON Codec          : stdlib\r\n        WAMP MsgPack Codec       : -\r\n      Twisted                    : 15.1.0-EPollReactor\r\n      Python                     : 2.7.3-PyPy\r\n    \r\n    OS                           : Linux-3.18.7+-armv6l-with-debian-7.8\r\n    Machine                      : armv6l\r\n\r\nRunning simple twisted code works fine on RPi. "},"comment":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/comments/138062242","html_url":"https://github.com/crossbario/crossbar/issues/305#issuecomment-138062242","issue_url":"https://api.github.com/repos/crossbario/crossbar/issues/305","id":138062242,"user":{"login":"goeddea","id":1032507,"avatar_url":"https://avatars.githubusercontent.com/u/1032507?v=3","gravatar_id":"","url":"https://api.github.com/users/goeddea","html_url":"https://github.com/goeddea","followers_url":"https://api.github.com/users/goeddea/followers","following_url":"https://api.github.com/users/goeddea/following{/other_user}","gists_url":"https://api.github.com/users/goeddea/gists{/gist_id}","starred_url":"https://api.github.com/users/goeddea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goeddea/subscriptions","organizations_url":"https://api.github.com/users/goeddea/orgs","repos_url":"https://api.github.com/users/goeddea/repos","events_url":"https://api.github.com/users/goeddea/events{/privacy}","received_events_url":"https://api.github.com/users/goeddea/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T10:13:07Z","updated_at":"2015-09-06T10:13:07Z","body":"Just tested with a freshly installed Raspberry Pi 1, no overclocking, Crossbar.io installed according to the install instructions in the docs:\r\n\r\nCrossbar.io 0.10.4 - hello:python - 5/5 starts fine - maybe using a faster SD card is what gets this working?\r\n\r\nUpdated to 0.11.0 - hello:python - 7/7 starts fine\r\n\r\nConsider this fixed.\r\n"}}