Sergio,

I dropped down to ruby 2.3 which I got from aptitude and I no longer get that 
error.

I do now notice when running with -e production I don't have any CSS on the 
pages.
When run in development I do see everything fine.

Do you have any suggestions?

Thanks,

Christopher N. Awad
RIVA Networks, Inc.
+1 (732) 305-7006

From: Users [mailto:[email protected]] On Behalf Of Sergio 
Fernández
Sent: Monday, February 6, 2017 3:54 PM
To: Community support for GenieACS users <[email protected]>
Subject: Re: key must be 32 bytes

Hi Chris!

That's because you're running v2.4.0 of Ruby, same happened to me.
There's some problem with SSL in ruby v2.4.0 and rails v5.0.0.1 documented in 
GitHub. Try with v2.3.3!

- Sergio Fernándezs

2017-02-06 18:59 GMT+01:00 Christopher Awad 
<[email protected]<mailto:[email protected]>>:
Hi,

I have this error when I run the gui in development mode and open it in FireFox 
-

Does anyone have any suggestions?

--

ArgumentError in HomeController#index
key must be 32 bytes
Extracted source (around line #72):

      cipher = new_cipher
      cipher.encrypt
      cipher.key = @secret

      # Rely on OpenSSL for the initialization vector
      iv = cipher.random_iv

Rails.root: /opt/genieacs-gui
Application Trace | Framework Trace | Full Trace

activesupport (5.0.0) lib/active_support/message_encryptor.rb:72:in `key='
activesupport (5.0.0) lib/active_support/message_encryptor.rb:72:in `_encrypt'
activesupport (5.0.0) lib/active_support/message_encryptor.rb:58:in 
`encrypt_and_sign'
actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:592:in `commit'
actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:465:in `[]='
actionpack (5.0.0) 
lib/action_dispatch/middleware/session/cookie_store.rb:117:in `set_cookie'
rack (2.0.1) lib/rack/session/abstract/id.rb:353:in `commit_session'
rack (2.0.1) lib/rack/session/abstract/id.rb:224:in `context'
rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.0.0) lib/active_record/migration.rb:552:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:38:in `block in 
call'
activesupport (5.0.0) lib/active_support/callbacks.rb:97:in `__run_callbacks__'
activesupport (5.0.0) lib/active_support/callbacks.rb:750:in 
`_run_call_callbacks'
activesupport (5.0.0) lib/active_support/callbacks.rb:90:in `run_callbacks'
actionpack (5.0.0) lib/action_dispatch/middleware/callbacks.rb:36:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:49:in 
`call'
web-console (3.3.1) lib/web_console/middleware.rb:131:in `call_app'
web-console (3.3.1) lib/web_console/middleware.rb:28:in `block in call'
web-console (3.3.1) lib/web_console/middleware.rb:18:in `catch'
web-console (3.3.1) lib/web_console/middleware.rb:18:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/show_exceptions.rb:31:in 
`call'
railties (5.0.0) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.0.0) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `block in 
tagged'
activesupport (5.0.0) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.0.0) lib/active_support/tagged_logging.rb:70:in `tagged'
railties (5.0.0) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/request_id.rb:24:in `call'
rack (2.0.1) lib/rack/method_override.rb:22:in `call'
rack (2.0.1) lib/rack/runtime.rb:22:in `call'
activesupport (5.0.0) 
lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.0.0) lib/action_dispatch/middleware/static.rb:136:in `call'
rack (2.0.1) lib/rack/sendfile.rb:111:in `call'
railties (5.0.0) lib/rails/engine.rb:522:in `call'
puma (3.5.2) lib/puma/configuration.rb:225:in `call'
puma (3.5.2) lib/puma/server.rb:569:in `handle_request'
puma (3.5.2) lib/puma/server.rb:406:in `process_client'
puma (3.5.2) lib/puma/server.rb:271:in `block in run'
puma (3.5.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'



Thanks,

Chris


_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users<https://linkprotect.cudasvc.com/url?a=http://lists.genieacs.com/mailman/listinfo/users&c=E,1,fSalMjJvvxWIpXydbmSbVIFxhulql5mZ3_yec2vNItQq7AUyKlahCX9WJe2QKqYyxtNXyPLx1nlO2QUBKar5J0dnduQ8Fb-Mb5MK4Xq_YJJDW2AxWOk2HSE,&typo=1>



--
Sergio Fernández Rubio - https://www.linkedin.com/in/sergiofdz/
(+34) 687 016 994
[email protected]<mailto:[email protected]>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to