-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
component cannot be started with role
in config
#507
Comments
I believe the "role" is only valid for "in-router" components? Not for components in a container. For example, see the It's not completely clear in the stackoverflow question which case this is. In any case, the documentation should be clarified on this point :) |
For components in containers, you would assign the role via authentication. |
I'm going to leave this open for now, as I think all the authentication documentation needs a bit of an overhaul. For one thing, you have to dig into "Administration" to find it -- there should at least be a pointer in the "programming guide" describing both sides ("client" and "server"/router). Probably as its own heading alongside Pub/Sub and RPC? Orthogonal to the above, it would probably be nice to provide a way to "merely configure" the client-side credentials. Currently, you have to put in quite a bit of boilerplate, overriding |
Related: crossbario/autobahn-python#491 (although I don't think the details of how the secrets are configured in that PR are necessarily very good). |
correct |
from http://stackoverflow.com/questions/33504822/how-to-set-component-role-in-autobahn
The documentation claims that a role can be set on a router component through the attribute
role
in the config. This, however, does not pass a config check.To replicate, just add
role
to hello:pythonand then do
crossbar check
The text was updated successfully, but these errors were encountered: