Mozilla Persona Example for Node

#1

Hi,

I’ve been trying without success to get the Mozilla Persona example working with a Node backend time service (rather than the examples Python).

I used the configuration suggested here in my config.json:
https://groups.google.com/forum/#!searchin/autobahnws/persona/autobahnws/S6QY1rEjbSU/VoSVlKich5QJ

But trying to start crossbar I get the following errors - any suggestions welcomed - hopefully me being stupid.

admin@shipkas:~/persona$ crossbar start
2014-08-31 17:24:29+0000 [Controller 17926] Log opened.
2014-08-31 17:24:29+0000 [Controller 17926] ============================== Crossbar.io ==============================

2014-08-31 17:24:29+0000 [Controller 17926] Crossbar.io 0.9.7-5 starting
2014-08-31 17:24:29+0000 [Controller 17926] Running on CPython using EPollReactor reactor
2014-08-31 17:24:29+0000 [Controller 17926] Starting from node directory /home/admin/persona/.crossbar
2014-08-31 17:24:29+0000 [Controller 17926] Starting from local configuration ‘/home/admin/persona/.crossbar/config.json’
2014-08-31 17:24:29+0000 [Controller 17926] Traceback (most recent call last):
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/bin/crossbar”, line 9, in
2014-08-31 17:24:29+0000 [Controller 17926] load_entry_point(‘crossbar==0.9.7-5’, ‘console_scripts’, ‘crossbar’)()
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py”, line 382, in run
2014-08-31 17:24:29+0000 [Controller 17926] options.func(options)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py”, line 201, in run_command_start
2014-08-31 17:24:29+0000 [Controller 17926] node.start()
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/node.py”, line 103, in start
2014-08-31 17:24:29+0000 [Controller 17926] config = checkconfig.check_config_file(configfile, silence = True)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 1511, in check_config_file
2014-08-31 17:24:29+0000 [Controller 17926] check_config(config, silence)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 1484, in check_config
2014-08-31 17:24:29+0000 [Controller 17926] check_worker(worker, silence)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 1385, in check_worker
2014-08-31 17:24:29+0000 [Controller 17926] check_router(worker, silence)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 1127, in check_router
2014-08-31 17:24:29+0000 [Controller 17926] check_router_transport(transport, silence)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 881, in check_router_transport
2014-08-31 17:24:29+0000 [Controller 17926] check_listening_transport_websocket(transport)
2014-08-31 17:24:29+0000 [Controller 17926] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/checkconfig.py”, line 708, in check_listening_transport_websocket
2014-08-31 17:24:29+0000 [Controller 17926] raise Exception(“encountered unknown attribute ‘{}’ in WebSocket transport configuration”.format(k))
2014-08-31 17:24:29+0000 [Controller 17926] Exception: encountered unknown attribute ‘cookie’ in WebSocket transport configuration
admin@shipkas:~/persona$

0 Likes