Start a new topic

HBW::Remote::RemoteError in HBW::TasksController#index

 День добрый, после установки возникла такая ошибка в системе.

image


HBW::Remote::RemoteError in HBW::TasksController#index

Failed to make a request to user (Failed to make a request to user (response code: 404, body: <!doctype html><html lang="en"><head><title>HTTP Status 404 – Not Found</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 404 – Not Found</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Description</b> The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p><hr class="line" /><h3>Apache Tomcat/8.5.14 (Debian)</h3></body></html>))
Extracted source (around line #38):

#36         end
#37       else
*38         raise RemoteError.new(args[0], 'response code: %s, body: %s' % [response.status, response.body])
#39       end
#40     rescue => error
#41       raise RemoteError.new(args[0], error.message, error.backtrace)

Extracted source (around line #48):

#46     def do_request(method, *args)
#47       ensure_connection_exists
*48       super(method, *args)
#49     end
#50 
#51     def ensure_connection_exists

Extracted source (around line #8):

#6     class << self
#7       def fetch(email)
*8         definition = do_request(:get, users_url, email: email).first
#9         new(definition) if definition
#10       end
#11 


Rails.root: /root/homs

Framework Trace
hbw/app/models/hbw/remote.rb:38:in `do_request'
hbw/app/models/hbw/remote.rb:48:in `do_request'
hbw/app/models/hbw/bpm_user.rb:8:in `fetch'
hbw/app/models/hbw/task.rb:20:in `fetch'
hbw/app/models/hbw/common/adapter.rb:95:in `block in task_list_response'
hbw/app/models/hbw/remote.rb:17:in `with_connection'
hbw/app/models/hbw/common/adapter.rb:94:in `task_list_response'
hbw/app/models/hbw/common/adapter.rb:83:in `task_list'
hbw/app/controllers/hbw/tasks_controller.rb:14:in `index'
actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.5) lib/rack/etag.rb:25:in `call'
rack (2.0.5) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.5) lib/rack/head.rb:12:in `call'
rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
better_errors (2.4.0) lib/better_errors/middleware.rb:59:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
web-console (2.3.0) lib/web_console/middleware.rb:20:in `block in call'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
thin (1.7.2) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.7.2) lib/thin/connection.rb:84:in `catch'
thin (1.7.2) lib/thin/connection.rb:84:in `pre_process'
thin (1.7.2) lib/thin/connection.rb:53:in `process'
thin (1.7.2) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.2.7) lib/eventmachine.rb:195:in `run_machine'
eventmachine (1.2.7) lib/eventmachine.rb:195:in `run'
thin (1.7.2) lib/thin/backends/base.rb:73:in `start'
thin (1.7.2) lib/thin/server.rb:162:in `start'
thin (1.7.2) lib/thin/controllers/controller.rb:87:in `start'
thin (1.7.2) lib/thin/runner.rb:203:in `run_command'
thin (1.7.2) lib/thin/runner.rb:159:in `run!'
thin (1.7.2) bin/thin:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.1/bin/thin:23:in `load'
/usr/local/rvm/gems/ruby-2.5.1/bin/thin:23:in `<main>'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'

Full Trace
hbw/app/models/hbw/remote.rb:38:in `do_request'
hbw/app/models/hbw/remote.rb:48:in `do_request'
hbw/app/models/hbw/bpm_user.rb:8:in `fetch'
hbw/app/models/hbw/task.rb:20:in `fetch'
hbw/app/models/hbw/common/adapter.rb:95:in `block in task_list_response'
hbw/app/models/hbw/remote.rb:17:in `with_connection'
hbw/app/models/hbw/common/adapter.rb:94:in `task_list_response'
hbw/app/models/hbw/common/adapter.rb:83:in `task_list'
hbw/app/controllers/hbw/tasks_controller.rb:14:in `index'
actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks'
actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.5) lib/rack/etag.rb:25:in `call'
rack (2.0.5) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.5) lib/rack/head.rb:12:in `call'
rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
better_errors (2.4.0) lib/better_errors/middleware.rb:59:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
web-console (2.3.0) lib/web_console/middleware.rb:20:in `block in call'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `catch'
web-console (2.3.0) lib/web_console/middleware.rb:18:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
thin (1.7.2) lib/thin/connection.rb:86:in `block in pre_process'
thin (1.7.2) lib/thin/connection.rb:84:in `catch'
thin (1.7.2) lib/thin/connection.rb:84:in `pre_process'
thin (1.7.2) lib/thin/connection.rb:53:in `process'
thin (1.7.2) lib/thin/connection.rb:39:in `receive_data'
eventmachine (1.2.7) lib/eventmachine.rb:195:in `run_machine'
eventmachine (1.2.7) lib/eventmachine.rb:195:in `run'
thin (1.7.2) lib/thin/backends/base.rb:73:in `start'
thin (1.7.2) lib/thin/server.rb:162:in `start'
thin (1.7.2) lib/thin/controllers/controller.rb:87:in `start'
thin (1.7.2) lib/thin/runner.rb:203:in `run_command'
thin (1.7.2) lib/thin/runner.rb:159:in `run!'
thin (1.7.2) bin/thin:6:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.5.1/bin/thin:23:in `load'
/usr/local/rvm/gems/ruby-2.5.1/bin/thin:23:in `<main>'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'



Request parameters
{"entity_class"=>"order",
 "format"=>:json}

Session dump
_csrf_token: "GrXiofEHvwHkjCHcorxysly1bdeev+987av4HnUyqIY="
session_id: "51f51418368531a21284214b084fd98d"
warden.user.user.key: [[1], "Jzhw9RExqDyZqcwst2vh"]

Env dump
GATEWAY_INTERFACE: "CGI/1.2"
HTTP_ACCEPT: "*/*"
HTTP_ACCEPT_ENCODING: "gzip, deflate"
HTTP_ACCEPT_LANGUAGE: "ru"
HTTP_VERSION: "HTTP/1.1"
HTTP_X_CSRF_TOKEN: "qcmhASDa/7QOkyfKztntt/q8xX0swDKEtfv8drMWS2izfEOg0d1AteofBhZsZZ8FpgmoqrJ/3fhYUARoxiTj7g=="
ORIGINAL_SCRIPT_NAME: ""
REMOTE_ADDR: "192.168.201.80"
SERVER_NAME: "192.168.201.50"
SERVER_PROTOCOL: "HTTP/1.1"

Response headers
None

 


я имею опыт в установке подобных приложений. с докер компоуз такая же картина

Да, комментарий только что был одобрен, поэтому не увидел его сразу.

По текущей ошибке не ясно, в каком случае она возникает. Нужно больше данных (логи приложения, конкретные адреса), без них разобраться в причинах проблемы не удастся.


Также отмечу, что способ ручной установки приложения не является рекомендуемым и существует исключительно в целях разработки, так как для его использования требуется опыт работы с приложениями на Ruby on Rails и Tomcat. Рекомендуемый способ установки - с помощью docker-compose, он позволяет автоматически установить все необходимое окружение в несколько команд.

Если Вы являетесь нашим клиентом, Вы можете создать соответствующую заявку по установке и настройке HydraOMS.

удалось. я оставлял коментарий, но он в обработке

Удалось ли запустить activiti-rest? Если нет, какие ошибки присутствуют в catalina.out?

связь с активити есть

curl -u user:changeme http://127.0.0.1:8080/activiti-rest/service/repository/deployments
{"data":[{"id":"20","name":"Demo processes","deploymentTime":"2018-09-14T09:27:45.910+03:00","category":null,"url":"http://127.0.0.1:8080/activiti-rest/service/repository/deployments/20","tenantId":""},{"id":"2504","name":"Demo reports","deploymentTime":"2018-09-14T09:28:02.409+03:00","category":null,"url":"http://127.0.0.1:8080/activiti-rest/service/repository/deployments/2504","tenantId":""}],"total":2,"start":0,"sort":"id","order":"asc","size":2}root@d

конфиги:


 

development:
  base_url: http://127.0.0.1:8080/activiti-rest/service/
  login: user  
  password: changeme

 

 

development:
  adapter: postgresql
  encoding: unicode
  pool: 5
  host: 127.0.0.1
  database: homs
  username: homs
  password: homs

 еще вот такую ошибку выдает, когда заходишь на главную страницу


ошибка из консоли:


 

IPAddr::InvalidAddressError: invalid address
	from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ipaddr.rb:649:in `in6_addr'
	from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ipaddr.rb:586:in `initialize'
	from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ipaddr.rb:604:in `new'
	from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ipaddr.rb:604:in `coerce_other'
	from /usr/local/rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/ipaddr.rb:174:in `include?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/whitelist.rb:17:in `block in include?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/whitelist.rb:17:in `any?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/whitelist.rb:17:in `include?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/request.rb:16:in `from_whitelited_ip?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/whiny_request.rb:8:in `from_whitelited_ip?'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/middleware.rb:20:in `block in call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `catch'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/railties-5.1.6/lib/rails/rack/logger.rb:24:in `block in call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:69:in `block in tagged'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:26:in `tagged'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:69:in `tagged'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/railties-5.1.6/lib/rails/rack/logger.rb:24:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:11:in `block in call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/activesupport-5.1.6/lib/active_support/logger_silence.rb:20:in `silence'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:11:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/rack-2.0.5/lib/rack/method_override.rb:22:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/rack-2.0.5/lib/rack/runtime.rb:22:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/activesupport-5.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/thin-1.7.2/lib/thin/connection.rb:86:in `block in pre_process'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/thin-1.7.2/lib/thin/connection.rb:84:in `catch'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/thin-1.7.2/lib/thin/connection.rb:84:in `pre_process'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/thin-1.7.2/lib/thin/connection.rb:50:in `block in process'
	from /usr/local/rvm/gems/ruby-2.5.1@homs/gems/eventmachine-1.2.7/lib/eventmachine.rb:1077:in `block in spawn_threadpool'

 


проблема не решена =(

проблема оказалсь в нерабочем activiti-rest по какой то причине в tomcat статус - активно, а сам activiti-rest не работает(404 ошибка) .

Судя по тексту ошибки, HOMS обращается к несуществующему пути в tomcat.

Это может происходить в следующих случаях:

1. Не удалось развернуть приложение activiti-rest из .war-файла, и поэтому путь http://tomcat:8080/activiti-rest недоступен. Возможные ошибки при развертывании этого приложения находятся в логе catalina.out веб-сервера tomcat.

2. Неправильно прописан путь к activiti-rest в файле config/activiti.yml.

версию activiti пробовал как 5.19.0 так и 5.22.0. tomcat 8 из репозиториев дебиан. ruby 2.5.1

1. Последняя версия из вашего гит репозитория.

2. на локлаьную систему (Debian 9)

3. Все данные были заполнены в соответствии с мануалом https://github.com/latera/homs/blob/master/INSTALL.md

4. user да существует.

Добрый день!


Для определения причины ошибки потребуется больше данных.

1. Какая версия HydraOMS устанавливалась?

2. Установка выполнялась с помощью docker или локально на систему?

3. Были ли заполнены данные для доступа к Activiti в файле config/activiti.yml?

4. Под каким пользователем выполняется вход в HydraOMS и существует ли пользователь с таким e-mail в Activiti?

image

 

Login or Signup to post a comment