Re: PYro4 v4.17 and HMAC_KEY error: hmac key config not symmetric
Irmen de Jong <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
On 22-2-2013 19:16, Aurelio Forese wrote: > Hi Irmen, > the code is failing when starting the server. > The nameserver and server are hosted on the same machine and I > suspected nameserver needed the HMAC_KEY but I could not find a way to > set it: could you help me with setting that key? > Once done, I'll give you a feedback on this. You'll need to set it as environment variable in your shell before launching the name server. The name server doesn't have a commandline argument to specify it. See http://pythonhosted.org/Pyro4/config.html#configuring-pyro So for instance in bash: $ export PYRO_HMAC_KEY='shared_secret_key' $ python -m Pyro4.naming .... Cheers Irmen de Jong ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb